Home › Forums › General Questions › Html files
- This topic has 7 replies, 2 voices, and was last updated 6 years, 9 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2018-02-26 at 12:34 am #2383NewFakeCustomer
Hi,
As many people do I have several versions of my *.blend files, as I increment’em to keeping the steps.
I don’t understand why an html file isn’t created for each version? To having the work ported to the web.
Say I have myapp.blend, myapp_2.blend, myapp_3.blend
An html file is created at the beginning of the process as myapp.html.So I overwrote myapp.blend with myapp_3.blend and of course regenerated the *.gltf file, but myapp.html didn’t work anymore.
Is it an exception? Is it because JS doesn’t like uppercase?
To not losing my hard work here’s what I did:
I created a new app, re saved my myapp.blend into this folder, regenerated the *.gltf file and it worked fine.But the question still remains, why an html file isn’t created for each incremented version?
Your lights please
NewFake :)
2018-02-26 at 8:46 am #2397Yuri KovelenovStaffHi,
why an html file isn’t created for each incremented version?
Our environment implies that you develop web applications rather than create HTML files. A typical web application (3D or 2D) consists of the “main” HTML file, CSS file(s) and JavaScript file(s) and can additionally load media resources – images, sounds, 3D models.
In Verge3D, the skeleton of a 3D web application can be easily created with the App Manager. Once created, you can create/modify asset files (.blend) but your app by default will only load the “main” .gltf file, the one that matches the name of your app. You can have more .gltf files in a single app with dynamic loading but that is another story.
2018-02-26 at 6:25 pm #2518NewFakeCustomerHello and thank you!
Ok, I saw that, however, please, when I overwrote the basic, first *.gltf file and opened the html file it wasn’t working.
– 1) Was it an exceptional bug?Because until now I was creating a *.gltf file for each *.blend, say myapp_3.gltf for the file myapp_3.blend, etc.
– 2) Which workflow do you recommend? Whichever the blend file, myapp_1.blend, myapp_2.blend, myapp_3.blend the last one, inside the same development, etc., always keeping, overwriting the same *.gltf file for all of’em? And if we want to use a previous *.blend file, say the myapp_2.blend inside the same development, overwriting again the unique *.gltf file?NewFake :)
2018-02-27 at 8:44 am #2531Yuri KovelenovStaffWas it an exceptional bug?
So your scene was not loading in the browser? Does it print any errors in the browser console (hit F12 to open it)?
Which workflow do you recommend?
Are you saving multiple .blend files for backup purposes or you actually want to have a multi-scene application, or you just want to have multiple independent scenes?
2018-02-27 at 7:28 pm #2542NewFakeCustomerHello & thank you!
Was it an exceptional bug?
“So your scene was not loading in the browser? Does it print any errors in the browser console (hit F12 to open it)?”
The page was blank, nothing. I didn’t watch the browser’s console; I’ll do it if it occurs again.Which workflow do you recommend?
“Are you saving multiple .blend files for backup purposes or you actually want to have a multi-scene application, or you just want to have multiple independent scenes?”
For backup purposes; I’m doing this to having multiple independent scenes; within a regular incremented workflow.
I jump onto the opportunity you open: can we use puzzles with a multi-scenes app? With clips? Or can we just use frames’ ranges with puzzles?NewFake :)
2018-02-28 at 8:38 am #2555Yuri KovelenovStaffFor backup purposes; I’m doing this to having multiple independent scenes; within a regular incremented workflow.
For such a case I’d recommend incrementing .blend files yet keeping the exported .gltf file the same. This way you can always restore any of your revisions by re-exporting into the same location and you’ll still keep your app directory clean.
can we use puzzles with a multi-scenes app?
Yes, a currently loaded scene can be replaced by another scene in runtime with the “replace scene” puzzle.
2018-02-28 at 8:17 pm #2572NewFakeCustomerHello and thank you!
“This way you can always restore any of your revisions by re-exporting into the same location and you’ll still keep your app directory clean.”
Yes! However I noticed that if I put some *.blend files in an app’s sub-directory the app manager finds all of’em and displays’em; it results in a lot of *.blend files in the app manager. Wouldn’t it be better to not having the app manager displaying the *.blend files that are in apps’ sub-directories?
NewFake :)
2018-03-01 at 7:54 am #2581Yuri KovelenovStaffit results in a lot of *.blend files in the app manager
Yeah, this is the price for simplicity – the App Manager just looks for all blend files in the app folder and displays them – yet it saves us from picking files manually. For now I can suggest copying your backup files out of the app folder once you accumulate a lot of them.
-
AuthorPosts
- You must be logged in to reply to this topic.