Forum Replies Created
-
AuthorPosts
-
vincentCustomer
The Scene beging after 2 seconds… and I want to see the step “Apparition-maps” in a first time.
vincentCustomerOkay. There are two things running in parallel in the puzzle. The first “thread” calls different procedures after specific delays in order to automatically starts my animations. It’s basically a succession of “after x seconds do” blocks.
Every procedure has to check a “click” variable that counts the number of time the user clicked to this point, so that the right animation can be chosen.
Another thread handles some popup windows that I’ve added as helpers for the user. These popups are just “div” elements that are shown or hidden on click events.
When a popup shows up, I force the “click” variable to a very high and unlikely value, so that it doesn’t correspond to something that would start an animation. When the user closes the popup, I reset the “click” variable to its previous value, allowing the procedures to start animations if needed.
My problem is that I don’t know how to synchronize the two threads properly. One the one hand, I need to be able to change the value of the “click” variable, but on the other hand, I need to be able to wait for this variable to change to a specific value in order to lock/unlock the animation. Like a condition_variable synchronization primitive.
I could also do that with a while loop that waits for the “click” variable to change to the right value, but I’d need a delay function in order to no waste cpu cycles and block the whole page…Is that clearer? Let me know if you need further info on that.
vincentCustomerNo. My scene is divided into steps, for each of which objects are being hidden and/or shown. I would like to get to a specific step when the scene starts up. Kind of like a developer mode, in which I could choose which step will be the starting one, without going through all the steps that precede it.
Do you see what I mean?vincentCustomerOk thank… A other thing : How to use a old puzzle since backup, just drop the file xml in first place.
vincentCustomerif i understand well The objet’s name change. I have to change after doing my puzzle. I have all my puzzle to redo. While he was working properly.
vincentCustomerI progress on this way, I want to make a navigation in my 3D Modeling with panels, like the picture.
But I want to break the access at my background 3D scene. Which puzzle can I take ?
I imagine too, the scene is stoppedvincentCustomerHello Mikhail,
I understood the steps, I work in the html for customise my Verge3D.
But; I don’t understand the practice of the frame who’s appear at left (in the application Twen camera), It’s a not easy for the user.vincentCustomerI hope so
vincentCustomerNot very my case study, there isn’t any overlay… if you have a other puzzle more easy. I am designer not a coder.
vincentCustomerThere is no puzzle inside this exemple. What can I do understand ?
vincentCustomerWhich one dear Yuri,
City
Cube
E-Learning
External Call
Farmers Journey
Fb
Htmlmixer
International Text
Lamp Animation
Lines
Materials
Pbr
Physics
Recliner
Refract
Ring
Spinner
Teapot Heater
Tween Camera
X-Mas Scene 2017vincentCustomerHi, I don’t want to follow my scene, just overlay the HTML container on top of the 3d scene. Bin element exist in Version 2.2.0 ?
vincentCustomerFollowing of the question: The link with the new gltf inside my html page doesn’t work on ligne. I need explainning about the puzzle and the PATH / TO / SCENE.GLTF
Thank you very much.
Everything is in the same suitcase
Path to link music : “dot”/My sound
Path to link gltf : “dot”/scene.gltf (don’t work on line) localhost okvincentCustomerYou can work with the puzzle only if you open the new .gltf I use this work flow because I have an object who disturb the current scene. Each of modifications with the puzzle, I restart my scene at the beginning for see the update. There is a other way ?
vincentCustomerYes I do it, I repeat all actions to make the same step. It’s a long way. I would like to know if there is a quick way ?
-
AuthorPosts