one stop for all game coders..
| Save 3D world |
|
|
| Written by CR Team | |||||||||
| Tuesday, 18 August 2009 16:28 | |||||||||
|
Saving a 3d world in Adobe Director 11.x is quite simple. Tere are 2 ways of doing the same, using the 2 methods: SaveW3d() and saveWorld(). SaveW3d: ( can be used only in a projector or Adobe Director authoring ) The behavior of this method is as follows:
saveWorld: Saves the existing 3D world to the 3D member after you save the movie. Use of this method will allow you to save a state in your 3d world, Ideal for internal cast member where you want to remove the redundancy of cloning models shaders, creation of primitive models etc. Once your 3d scene is loaded as required, you can call it to save that required state.
saveWorld() only preserves the existing 3d world state only when the Director movie is saved. Note: The above 2 methods can also be used to save the proxy templates created in the physics world.
|