PDA

View Full Version : saving the scene


giancamati
12-21-2006, 07:12 AM
Hello everybody,

I have this problem: each object in my 3D scene is loaded with a single viz.add('...') instruction because after loading it I want to grab it with object.collisionMesh() function.
Once I move it in the scene and change the scene configuration I would like to save this new configuration.

Is there a way to do this? I mean saving the object position, and realoading it again with each object enable to be grabbed.

Thank you very much.

Giancarlo:D

Gladsomebeast
12-21-2006, 09:25 AM
Perhaps others have some ideas, but I suspect that this will require a little custom coding. You could save all the objects positions to a text file and read from this file when you load the world.

Perhaps your application excludes this option, but it would be easier to position things in a modeling program.