WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Export/Save state of level (https://forum.worldviz.com/showthread.php?t=4439)

asdf 12-11-2012 07:51 AM

Export/Save state of level
 
I want to import the level, change some of the loaded objects and save the level again.
Is there some kind of best practise?

If there isn't i would save all objects in some kind of XML file or (if there is some kind of "masterarray with all objects") serialise them with pickle for python.
Any suggestions regarding these ideas?

The Question is somewhat related to this question, except that i don't really care about the exported format, as long as i can import it again.

Jeff 12-11-2012 10:36 AM

Can you explain how the objects are changing? Perhaps you can just save information to a text file about how they changed.

Jeff 12-11-2012 02:57 PM

You can export the scene to the osg format and load it later. See the last post in this thread.

asdf 12-18-2012 02:25 AM

Thanks that will work perfect.
Load Scene (including objects) interact with them and safe the Scene again. I could use a txt file or XML, but if I can directly save as osg, it's much easier.


All times are GMT -7. The time now is 08:54 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC