Formats to import scenes

Shinigami

02-02-2010 20:22:39

Hi:

I would like to know in what format can I load prelaborated scenes in NxOgre, cause is very difficult to do so manually. I use Lightwave to create the scenes.

Any
Shinigami out.....

spacegaier

02-02-2010 22:07:34

As far as I know this is not possible yet. I once talked with betajaen about it, but he said that this is rather complex as soon as it comes to serializing cloth, fluids or particles and their states. Something simple like just object positions with default physic values could be done rather quickly, I guess. You would have to just write a little exporter plugin that saves your scene settings e.g. to a XML file that is then parsed by your application.

Shinigami

03-02-2010 15:32:04

You have some idea of where to start? I meant some code or something to see how some other does it.

[edit 1]:

I been reading on Wiki that PAL (Physics Abstraction Layer) provides a way to do so using COLLADA Physic but for PhysX not for NxOgre further more PhysX support COLLADA so we could make a wrapper class to use the same class that PAl uses. What do you think?

Shinigami out....

spacegaier

03-02-2010 16:04:29

There is the .scene format for Ogre, which is / was used to serialize Ogre scenes (search for "DotScene"). And Ogitor (the new Ogre editor) has it's own format .ogscene, which you could have a look at as well.

Shinigami

03-02-2010 16:52:24

There is the .scene format for Ogre, which is / was used to serialize Ogre scenes (search for "DotScene"). And Ogitor (the new Ogre editor) has it's own format .ogscene, which you could have a look at as well.

Thanks I'm going for Ogitor also Scythe Physics Editor joins the 3d part with the Physic part cause for me is more important the Physic properties of the scene than the models, mi application is a very simple: Is crime scene editor to see if the bad guys are lying. any Ideas on that???

Shinigami Out..

PS: Also this is my thesis for graduating from System Engineer. wish me luck!!!!