I was wondering if there's a built in exporter/writer function to save geometry (TriMesh) out to .obj or any other common format. We've written a jME loader that loads a proprietary mesh format and it would be convenient to be able to save it out to a different format without having to write an exporter.
Thanks,
C.E.
nope, jme only exports its own binary format with BinaryExporter.
You could do one of two things though…
- Write an extension of Exporter (like BinaryExporter) that exports to your desired format.
- Use the XML Exporter (now part of jme 2), then use something like xslt processing to transform to your desired format.