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: 158
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 9
Contact:

exporting to binary directly, some questions

Post by hedphelym » Mon Sep 26, 2011 12:31 pm

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.
0 x

User avatar
LiMuBei
Goblin
Posts: 297
Joined: Mon Jun 09, 2008 3:56 pm
Location: Karlsruhe, Germany

Re: exporting to binary directly, some questions

Post by LiMuBei » Tue Sep 27, 2011 12:04 am

I would agree with your coder that using the SDK and the mesh serializer in there is probably the best way in your case.
0 x

hedphelym
Gremlin
Posts: 158
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 9
Contact:

Re: exporting to binary directly, some questions

Post by hedphelym » Mon Oct 03, 2011 2:28 pm

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

thanks for input.
0 x

User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
Contact:

Re: exporting to binary directly, some questions

Post by metaldev » Tue Oct 04, 2011 3:31 am

the maya exporter exports directly to binary .mesh files afaik.
0 x

hedphelym
Gremlin
Posts: 158
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 9
Contact:

Re: exporting to binary directly, some questions

Post by hedphelym » Thu Oct 06, 2011 9:44 am

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.
0 x

Post Reply