Tagged: load unload puzzles
- This topic has 13 replies, 4 voices, and was last updated 3 years, 5 months ago by bennesky.
-
AuthorPosts
-
2019-03-06 at 8:35 am #12182EmmaCustomer
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…newbie
EMMA2019-03-06 at 9:59 am #12212Yuri KovelenovStaffSorry for the confusion caused. Actually, you can unload the main scene using a blank Text puzzle, and then load it again by its name.
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.2019-03-06 at 2:57 pm #12241EmmaCustomerYes, 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 thinksEmma
2019-03-06 at 3:37 pm #12248Yuri KovelenovStaff2019-03-08 at 8:41 am #12335EmmaCustomerI’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
2019-03-08 at 8:51 am #12337Yuri KovelenovStaffyou 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
2019-03-21 at 7:39 am #13084EmmaCustomerHi 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
2019-03-21 at 7:42 am #13085Yuri KovelenovStaff2019-03-21 at 8:50 am #13086EmmaCustomerHere link,
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 .
There are many problems: very heavy files, incorrect shadows, not really photorealistic materials.
But first problem is very heavy loadingEmma
2019-03-21 at 9:45 am #13088Yuri KovelenovStaffFirst 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?
2019-04-03 at 5:22 am #13523daveliParticipantHello 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.
Daveli2019-04-03 at 8:10 am #13531Yuri KovelenovStaff2019-04-03 at 10:02 am #13536daveliParticipantThank you! At this stage, your suggestion is indeed a better idea.
2021-06-21 at 8:26 pm #42182benneskyParticipantHi,
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.. -
AuthorPosts
- You must be logged in to reply to this topic.