mr_burns
01-02-2008 03:20:45
Hi all,
We are trying to do the following:
We have exported a scene from 3DS Max 9.0 using oFusion.
The result is one *.osm and many *.mesh files.
We are then using the oSceneLoader *.h and *.cpp files to load the scene into Ogre3D (1.4.5).
Our understanding is that the *.osm loader iterates through the xml file (*.osm), grabs each mesh reference and creates a node for each in the Ogre Scene Graph.
(correct us if we are wrong.)
Next we wish to take the scene (collection of *.mesh files) that has been loaded into Ogre's scene graph/nodes and create a NxOgre world (collection of actors) using the meshes already in Ogre's scene.
First question. Is there a way to load the *.osm scene directly into NxOgre? Or do we have to iterate through the scene graph, creating the physics actors one at a time?
Second question. If the art team were to create approximated physics geometry in 3DS Max, and using Feeling and/or the Ageia PhysX plugins, we export out a NXStream (xml, binary, or collada), could we populate the NxOgre world/scene using the PhsyX stream?
Third question. If we do manage to populate the NxOgre world/scene using the NxStream data (*.xml, *.nxb, *.xml), how will the two systems reference each? E.g. will I have to sync each game rendering mesh
Any help is much appreciated.
Here is the current pipeline. The red question mark is where we are unsure.
Many thanks.
B.
We are trying to do the following:
We have exported a scene from 3DS Max 9.0 using oFusion.
The result is one *.osm and many *.mesh files.
We are then using the oSceneLoader *.h and *.cpp files to load the scene into Ogre3D (1.4.5).
Our understanding is that the *.osm loader iterates through the xml file (*.osm), grabs each mesh reference and creates a node for each in the Ogre Scene Graph.
(correct us if we are wrong.)
Next we wish to take the scene (collection of *.mesh files) that has been loaded into Ogre's scene graph/nodes and create a NxOgre world (collection of actors) using the meshes already in Ogre's scene.
First question. Is there a way to load the *.osm scene directly into NxOgre? Or do we have to iterate through the scene graph, creating the physics actors one at a time?
Second question. If the art team were to create approximated physics geometry in 3DS Max, and using Feeling and/or the Ageia PhysX plugins, we export out a NXStream (xml, binary, or collada), could we populate the NxOgre world/scene using the PhsyX stream?
Third question. If we do manage to populate the NxOgre world/scene using the NxStream data (*.xml, *.nxb, *.xml), how will the two systems reference each? E.g. will I have to sync each game rendering mesh
Any help is much appreciated.
Here is the current pipeline. The red question mark is where we are unsure.
Many thanks.
B.