serializing a scene

jtai

19-06-2007 13:51:46

Hey guys

Im using ofusion to load a scene but ive created a terrain editor and i need to save a modified scene or a new one.

Can oFusion do this kind of operation or do i need something else


Thanks for your time guys
jtai

Evak

19-06-2007 16:59:55

I requested a feature like this for FlowED in a support ticket and was told there would be an official Ofusion serializer library released soon.

Whether that will be avaliable to everyone or just pro users I don't know.

jtai

20-06-2007 13:23:29

Thanks
Ive got the pro licence so ill look into that.

Anybody know of a different way to do it would be nice to know.

basicaly ned to save a terrain and trees that are put on it plus some other objects to a .osm file

jtai

Evak

20-06-2007 14:52:28

we created our own OSM saver, since its just a XML file. You just have to get the formatting right. For static meshes, moveable objects like lights cameras and things. The nice thing about the serializer is that it would be kept up to date with the scene loader and stay feature complete as the OSM format develops. Hopefully supporting animation etc too.

The biggest problem we found with loading multiple OSM's is if you share meshes in a scene built of many OSM's and you want to keep your scene intact, you have to track all duplicates and their names outside of the OSM list untill you can save out a new OSM and put the new names in to load next time.

Were looking forward to the serializer, as we hope it will make our OSM based level editor easier. Especially if it handles animation.