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.

Reload Scene

Home Forums Puzzles Reload Scene

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #12182
    Emma
    Customer

    Hi,

    I’ve problem with to reload a scene.

    I saw your example “load_unload”, but is not exactly that what I want.
    In attachments image u can see ” menu ” of your example, but I’d like to have only a button “load scene” (possibly customized (like second image for example)) without list and selections, because I want reload the same scene… :unsure:

    newbie
    EMMA

    #12212

    Sorry for the confusion caused. Actually, you can unload the main scene using a blank Text puzzle, and then load it again by its name.
    reset main scene by unloading it and loading again

    If you’re using HTML-based UI and not a 3D plane object, just use the HTML event / click puzzle.

    Attachments:
    You must be logged in to view attached files.

    Chief 3D Verger | LinkedIn | Twitter

    #12241
    Emma
    Customer

    Yes, I’ll try to use html like this:
    ———–

    <body>
    <div id="container"></div>
    <div class="html-embed w-embed w-iframe"><iframe width="100%" height="100%" frameborder="0" allowfullscreen="" src="example.html"></iframe></div>
    <div class="interface-color-panel w-clearfix"></div><a>index.html</strong>" id="reset_pose_button" class="reset-pose-button w-button">‍</a>
    </body>

    ———
    but I don’t like much, because it will be a “big jump” of webpage,…. i thinks :cry:

    Emma

    #12248

    can you attach an example project so that we can take a look?

    Chief 3D Verger | LinkedIn | Twitter

    #12335
    Emma
    Customer

    I’ll try to send it as soon as possible.

    But, is there a function to lighten up the scene?
    I find the problem that if a user has a slow connection or an old computer, before loading the scene there is a “hole”.

    Emma :unsure:

    #12337

    you can use a preloader so that the user can see something while your app loads. See the relevant puzzle here https://www.soft8soft.com/docs/manual/en/puzzles/Initialization.html#setup_preloader

    Chief 3D Verger | LinkedIn | Twitter

    #13084
    Emma
    Customer

    Hi Yuri,

    I’d like to show you my example project, but it’s big ( <30mb ) so I can’t to attach it.

    how can i show you?

    Emma

    #13085

    Please upload it to Dropbox or a similar service, and post here a link.

    Chief 3D Verger | LinkedIn | Twitter

    #13086
    Emma
    Customer

    Here link,

    https://we.tl/t-bDXXhqKOlw

    There’re all file *.blend included, there is a lot of confusion, I took a few things from all the projects to see what I could do :mail: .
    There are many problems: very heavy files, incorrect shadows, not really photorealistic materials.
    But first problem is very heavy loading :cry:

    Emma :bye:

    #13088

    First and foremost, you should enable compression for your scenes. This will greatly help with loading.

    Another way is to optimize the models. They seem to be rather high-poly.

    You should also deal with image resolution – it is not optimal at the moment. See here for best practices.

    The shadows are detached from the models because the Bias is not properly set. This setting should be located on the lamp tab. For some reason I don’t see this setting in your file at all. Can you try to create a new .blend file and see if it is there?

    As of material quality, I’m not a big specialist here. Perhaps you can narrow down quality problems so that we can help you?

    Chief 3D Verger | LinkedIn | Twitter

    #13523
    daveli
    Participant

    Hello Yuri Kovelenov:
    I want to initialize the scene. For example, after I did some work on the scene, I want to erase all the processes and restore them to the scene that I just started loading. I tried your suggestion and used the jigsaw to unload and reload the scene, but there was a short black screen in the process, which was a very bad experience. I want to have a puzzle setting that can initialize the scene with one click, so that everyone can easily use this feature.
    Daveli ;-)

    #13531

    I see. You can probably show some HTML screen/preloader before a new scene is loaded. In this screen, you can embed a screenshot of the old scene so that the user won’t notice the unloading.

    Chief 3D Verger | LinkedIn | Twitter

    #13536
    daveli
    Participant

    Thank you! At this stage, your suggestion is indeed a better idea.

    #42182
    bennesky
    Participant

    Hi,

    Seems reload scene just reloading scene, not reload/reset the variable value, should i reset variables manually one by one (through puzzles) or there is another quick way to do it.
    What i want it simply mimicking F5 keyboard reset at PC via html button on screen..

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