Home › Forums › Programming › Detect scene has loaded completely
- This topic has 11 replies, 3 voices, and was last updated 2 weeks, 2 days ago by
c4cc.
-
AuthorPosts
-
2018-10-31 at 9:29 pm #8567
tom123
CustomerHi,
How can I detect when the 3D scene has fully loaded so my other objects on the HTML page won’t lag?
2018-11-01 at 7:29 am #8569Yuri Kovelenov
StaffHi,
After a scene is loaded, a Puzzles scenario under the main tab starts running. So you can use HTML Puzzles to prepare HTML elements on your web page.
Alternatively you can put code inside the runCode() function located in your_app.js file. This function is also executed right after a scene is loaded.
2018-11-01 at 9:45 am #8578tom123
CustomerThank you very much. I was putting my code right after the runCode() from the loadScene function. I didn’t notice the comment saying // add your code here.
Thanks again.2018-11-01 at 9:59 am #8579Yuri Kovelenov
Staff2018-11-01 at 10:01 am #8581tom123
CustomerHi Yuri,
Me again sorry. I’m about to buy the personal license for Blender. I just wanted to be sure.
The generated files (.gltf, .bin) are for us to use the way we want? The reason I’m asking is that I am creating some interactive game that I will be shipping to my customers packed with the Verge3D content (Desktop Application/Eventually Mobile App).
I am not sure about the licensing because your page says:
Verge3D content can be deployed on your own web servers, …
And not much more.
Let me know if it’s possible, so I’m aware of the limitations.2018-11-01 at 10:03 am #8582Yuri Kovelenov
Staff2018-11-01 at 10:21 am #8584tom123
CustomerOkay, I just bought the Verge3D license for Blender. I noticed you’re also selling a material Pack.
Is it beneficial given that when I export a scene, the textures are also exported? Are there more significant results with the pack?
Just curious if I also should buy it.
Many thanks for your time.2018-11-01 at 10:24 am #8585Yuri Kovelenov
Staff2018-11-01 at 10:32 am #8586tom123
CustomerCool, thank you. I’ll be playing with Verge3D then eventually buy the Material Pack. It would be great to have a demo for the material thing but I’m nit-picking I guess.
Thanks again for a great product imo.2018-11-01 at 10:35 am #8587Yuri Kovelenov
StaffSure! BTW the thumbs on the material pack page are clickable so you can check them out online.
2018-11-01 at 10:59 am #8588tom123
CustomerYes, they are
. Did not think the pictures were clickable.
Amazing. Thanks.
I’ll be checking that later, looks great.2025-08-01 at 7:20 pm #83452c4cc
Customerduring scene loading, how to detect user input like mouseclicks? I’m trying to get fullscreen puzzles to work as intended even though scene is initially loading, via clicking on fullscreen html element
These only work after scene loads. How to get these to work before scene loads?
-
AuthorPosts
- You must be logged in to reply to this topic.