exporting to binary directly, some questions

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
hedphelym
Gremlin
Posts: 180
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 23
Contact:

exporting to binary directly, some questions

Post by hedphelym »

I'm in the process of writing a in-house exporter for a 3d package.
My question is the following:

I notice there are several exporters for different packages.
Do anyone of them export directly to binary (without converting the xml to mesh with the ogrexml2mesh converter?).
If so, then how did this get implemented?

We have finished the code for exporting the meshes to xml, we then use the converter,
but we would like it to export directly to binary .mesh format for various reasons (speed and stability).
the plugin is developed in c++.

Our coder mentioned that we can use ogre's SDK and use functions there, I would assume that this would be the way to go.
(unless there is other ways of doing it that can be fairly easy to implement).

Any information on this would be greatly appreciated.
User avatar
LiMuBei
Goblin
Posts: 297
Joined: Mon Jun 09, 2008 3:56 pm
Location: Karlsruhe, Germany
x 10

Re: exporting to binary directly, some questions

Post by LiMuBei »

I would agree with your coder that using the SDK and the mesh serializer in there is probably the best way in your case.
hedphelym
Gremlin
Posts: 180
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 23
Contact:

Re: exporting to binary directly, some questions

Post by hedphelym »

thanks, that's the way we will implement it.

thanks for input.
User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 15
Contact:

Re: exporting to binary directly, some questions

Post by metaldev »

the maya exporter exports directly to binary .mesh files afaik.
hedphelym
Gremlin
Posts: 180
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 23
Contact:

Re: exporting to binary directly, some questions

Post by hedphelym »

there is also other features we can use if we implement it by adding ogre to the plugin is that
we can add the viewport so that we can preview scenes, we can make material previews etc.
so it's the best way to do this.
Post Reply