We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Html files

Home Forums General Questions Html files

Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2383
    NewFake
    Customer

    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 :good:

    NewFake :)

    #2397

    Hi,

    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.

    Chief 3D Verger | LinkedIn | Twitter

    #2518
    NewFake
    Customer

    Hello 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 :)

    #2531

    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)?

    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?

    Chief 3D Verger | LinkedIn | Twitter

    #2542
    NewFake
    Customer

    Hello & 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 :)

    #2555

    For 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.

    Chief 3D Verger | LinkedIn | Twitter

    #2572
    NewFake
    Customer

    Hello 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 :)

    #2581

    it 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.

    Chief 3D Verger | LinkedIn | Twitter

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.