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.

Reloading the project

Home Forums General Questions Reloading the project

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #41441
    gf3d
    Customer

    Hi there,

    in my project i want to reload the scene after some idle time

    I created a puzzle which should do it, see attachment.

    i does unload the scene but does not reload it again…
    the screen stays blank…..any ideas?

    Greets

    Ger

    Attachments:
    You must be logged in to view attached files.
    #41446
    xeon
    Customer

    We do this for a number of tradeshow installations where this type of interaction is required. If you have to do it this way you are better off handling it through a script in the parent window that just reloads the page.

    We typically create an InitialState procedure….this has all the variables, positions, animations, etc….settings.
    This procedure is then called on an idle time and the entire project is reset. This allows you to keep some stored data such as high scores, survey data, etc if desired.

    Alternatively…you could have two scenes. The first scene is what you could call and inactive scene… upon interaction it would load the second scene…your main project. On inactivity…you load your inactive scene and the process repeats.

    There are many solutions to this general question so without more information I hope one of these will be helpful.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com

    #41477
    visualizer
    Participant

    Hey
    This is interesting feature actually. Should be made easy to use.
    Xeon or some expert developer people are achieving it but for common user like me its tough job.

    The smart amendment, update, refresh OR LOD ( level of detailing) should be soon included with easy set of tools really. Hope next verge comes up with such utilities.

    Regards

    #41482
    gf3d
    Customer

    Hi there, thanks for the answer.

    Since i´m not a programmer i don´t really know what you mean,
    I just want the whole project to be reloaded after some defined idle time. nothing to be saved or anything. Its meant for a point of information, where the initial state should be restored.

    Greets

    Ger

    #41555
    gf3d
    Customer

    Hi there you guys from verge3d…..

    Can you help with my problem….still isn´t solved yet..

    Greets

    Ger

    #41568
    gf3d
    Customer

    Hi there, problem isn´t solved yet.

    to your understanding……

    My project runs fine sofar…it is meant to be running in a public place. People can play with it….if they don´t wanna play with it anymore…they normally leave app as it is at that moment…

    after some predefined idle time I want it to be restored to its initial state again…so probably to be reloaded.

    I created this puzzle as seen in the attachment….

    The scene unloads fine but it doesn´t reload…the screen stays blank.

    any ideas how this can be done by puzzles without any programming?

    Greets

    Ger

    #41570
    xeon
    Customer

    Ok…I have attached reload scene using simple puzzles.
    Basicaly its a ball and a cube. The cube is animated over 30 frames.
    The ball is a button…that will allow you to manually reset the scene.
    The puzzles set up a scenario testing for an idle event. For simplicity, I have chosen if the animation is playing or not. The test will run every 5 seconds to determine if it’s playing. If it’s not playing the scene will re-initialize. You can interrupt the timer by pressing the sphere before the 5 seconds.

    This process just requires you move all your code into procedures and then call the procedures as needed based on the condition of inactivity you set.

    This is just one option but eliminates reloading of the scene.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com

    #41591
    gf3d
    Customer

    Thank you for the reply….but this doesn´t help me realy….

    My whole scene is very complex….you can switch between 3 cameraviews

    load and unload objects and materials…switch materials…
    more than 50 animated objects etc etc…..

    i just need something to restart the whole project when after some predefined time no mouse action occurs….so that the next viewer can start from scratch…as i said it is meant to running at a public place where people should be motivated by what they see and get curious to play with it…

    But thanks….this might be helpfull for futere projects

    anyone can have a look at my page http://www.gf3d.de and see the VR section.
    there you see the space scene….it takes a bit to load…but once loaded it runs fine on my PC…i have a 8GB graphicboard which is sufficiant….just to give you an idea of the complexibility..

    Greets

    Ger

    #41601
    xeon
    Customer

    Sorry, this did not get you going in a favorable direction. The concept is that no matter how complex your scene is it can be reset based on how you initialize it. All your initial settings of the camera, location, animation, frames, etc…can all be stored in variables and thus in procedures. Once you have an initialize procedure…regardless of what you do you can call that initializing procedure and the entire scene would “reset”…even reloading the initial models if necessary.

    But if that is not a technique you prefer there are many others. The easiest way is to have the parent window via javascript monitor event listeners on the mouse and keyboard and after a set time…just reload the page. That would be the easiest.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com

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