Recommended way to export to mesh format

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Hotshot5000
OGRE Contributor
OGRE Contributor
Posts: 263
Joined: Thu Oct 14, 2010 12:30 pm
x 69

Recommended way to export to mesh format

Post by Hotshot5000 »

I have an fbx mesh. Or a 3ds or max object. What is the recommended way to export this to the Ogre mesh format? Right now I used the EasyOgreExporter to export the mesh from 3ds max, but it generates an older mesh format. Then I load it into Ogre v2 mesh viewer (viewtopic.php?f=25&t=95074) and save it again as a mesh, upgrading it to 2.1 format. I can also use the OgreMeshTool to convert from 1.10 to 2.1.

Is this the 'correct' way of doing things? Is there a more straightforward way to export directly to 2.1 mesh format?
hedphelym
Gremlin
Posts: 189
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 23

Re: Recommended way to export to mesh format

Post by hedphelym »

This seems to be the way to do it, until a exporter that supports the format directly gets made.
But you have one more alternative too, and that is to use the gltf loader.

viewtopic.php?f=25&t=94387

That way you can export to gltf from for example blender and use that.
But you have to do some work to get your code to use it.