NXS vs NXB,DAE,XML

jarwulf

27-10-2011 20:56:42

Yeah, I'm aware of the GD mesh cooker, but I'm still interested to see if a more direct conversion was possible to use Autodesk meshes with NXogre. Both the MAX and Maya plugins appear to only export to NXB DAE or XML but NXogre requires NXS supposedly. There doesn't seem to be any solution so far other than to hope that the plugins generate an NXS along with the other files.

A google search and quick look through the API documentation doesn't turn up much of anything about how these formats are related to each other. In fact its hard to find a mention of NXS outside of NXogre let alone all 4 of the formats mentioned together. Anyone care to add any information that might help to use the exported formats directly?

thanks

betajaen

27-10-2011 21:41:05

NXS is the native binary format for meshes used by PhysX.

The other file formats are intermediary file formats. Some are just a single mesh, other represent an entire or partial Scene. NXB, DAE, XML aren't even part of the proper PhysX namespace, they are are addon source files that come with the SDK.

NxOgre only supports NXS (and it's own extensions xcl, xsk, etc.). I don't like DAE (Collada) or the other the fileformats, so I never ported them into NxOgre.