Mesh Conversion Tool (ogre2n3d.exe)

A commandline tool that converts Ogre3D XML Mesh files into a N3DCMDSTREAM. I have chosen the indirection over Ogre3D for the following reasons:

In order not to reinvent the wheel, come up with exporters that can't compete with existing ones from the Ogre3D community, I thought it makes perfect sense to use the Ogre3D XML format as fundament to get meshes into N3D.

The ogre2n3d.exe commandline tool reads an input Ogre3D XML file with TinyXML and converts the data into a N3D command stream (N3DCMDSTREAM). The current implementation is very alpha and does not support packed commands or optimizes the data in any way.

It exports:

The NDS hardware supports, for example, vertex commands that are relative to the previous vertex command. Those commands procude less data on the bus and make the program execution faster. As you can see, there is quite some room left for optimizations.

For a detailed list about the 3D commands, refer to GBATek chapter "DS 3D Polygon Definitions by Vertices".

The ogre2n3d sourcecode is included in the N3D package, located under: "libn3d/utilities/source/ogre2n3d".

Screenshot:

ogre2n3d.png

Generated on Wed Aug 29 19:48:04 2007 for N3D by  doxygen 1.5.3