Home › Forums › Programming › Detect scene has loaded completely
- This topic has 10 replies, 2 voices, and was last updated 6 years ago by tom123.
-
AuthorPosts
-
2018-10-31 at 9:29 pm #8567tom123Customer
Hi,
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 KovelenovStaffHi,
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 #8578tom123CustomerThank 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 KovelenovStaff2018-11-01 at 10:01 am #8581tom123CustomerHi 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 KovelenovStaff2018-11-01 at 10:21 am #8584tom123CustomerOkay, 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 KovelenovStaff2018-11-01 at 10:32 am #8586tom123CustomerCool, 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 KovelenovStaffSure! BTW the thumbs on the material pack page are clickable so you can check them out online.
2018-11-01 at 10:59 am #8588tom123CustomerYes, they are . Did not think the pictures were clickable.
Amazing. Thanks.
I’ll be checking that later, looks great. -
AuthorPosts
- You must be logged in to reply to this topic.