OGRE format questions

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.

OGRE format questions

Postby yannischris » Sat Jan 21, 2012 9:54 am

Hello all,

I thought that the OGRE format is only a native format for the Ogre engine but I just found out that it is also used extensively in jMonkey engine. So are we talking about the same format?

What is the difference between the .mesh file and the mesh.xml file?

Does the Ogre format support saving animations for a 3d character?

Basically I looked for info regarding the Ogre format, and I find it hard because I keep on finding pages that refer to the Ogre engine, rather than the content format. So can anyone post a link that has info on the Ogre format (e.g. features, tools/engines that support it etc)?

Last thing, do you happen to know of web resources where I can find free content in OGRE format, e.g. a basic male/female character (and possibly rigged)?

Thanks!
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012

Re: OGRE format questions

Postby Kojack » Sat Jan 21, 2012 12:32 pm

There is no real documentation on the ogre mesh format besides the source code itself, or ogre specific docs which don't apply to other engines. Although several engines use ogre meshes (visual3d, irrlicht, jmonkey), the format wasn't designed for that. It's made to match ogre's features.

Does the Ogre format support saving animations for a 3d character?

Ogre meshes support:
- multiple named bone based skeleton animations (when a .skeleton file is used)
- multiple named morph vertex animations
- multiple named pose animations

What is the difference between the .mesh file and the mesh.xml file?

.mesh.xml is a text based xml file. It's used purely as an intermediate format between 3d software exporters and ogre. The ogrexmlconverter program can convert a .mesh.xml into .mesh. Ogre itself doesn't understand .mesh.xml.
.mesh is ogre's mesh format. It's a binary file which is much smaller and faster to load than an xml file. Some exporters (like ogremax) can write directly to .mesh files, but most write to the .mesh.xml format first then use ogrexmlconverter.

You can also go the other way, the ogrexmlconverter can convert a .mesh back into a .mesh.xml, in case you want to look at the data in a text editor.
User avatar
Kojack
OGRE Moderator
OGRE Moderator
 
Posts: 6570
Kudos: 426
Joined: 25 Jan 2004
Location: Brisbane, Australia

Re: OGRE format questions

Postby yannischris » Sun Jan 22, 2012 10:13 am

Hello again and thanks for the info!
Great to hear that Ogre format supports these animation types.
Last thing: Supposing I have a 3d animated character model in some other format, e.g. collada, obj, or 3ds. Are there any "safe" ways to convert that into the Ogre format (mesh + animations) and actually work?

Thanks,
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012

Re: OGRE format questions

Postby tothmarcell97 » Sun Jan 22, 2012 9:55 pm

yannischris wrote:Hello again and thanks for the info!
Great to hear that Ogre format supports these animation types.
Last thing: Supposing I have a 3d animated character model in some other format, e.g. collada, obj, or 3ds. Are there any "safe" ways to convert that into the Ogre format (mesh + animations) and actually work?

Thanks,


I don't know if there is a direct way to convert. But for example there is a fully working Blender exporter, so anything that you can import into Blender can be exported to Ogre. (I only use Blender, but I think there are good exporters for other applications too)
tothmarcell97
Gnoblar
 
Posts: 3
Kudos: 0
Joined: 18 Jan 2012

Re: OGRE format questions

Postby yannischris » Mon Jan 23, 2012 10:20 am

OK thanks!
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012

Re: OGRE format questions

Postby yannischris » Thu Jan 26, 2012 2:53 pm

I saw here that there is an exporter for Maya.

- But does this work with the latest version of Maya (Maya 2012) or I need to isntall an older version?

- Is the Maya Exporter fully functional? For example, can I create and rig a model, and then create some animations for it, and export them all to the OGRE format?

Thanks,
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012

Re: OGRE format questions

Postby Kojack » Thu Jan 26, 2012 7:11 pm

I saw here that there is an exporter for Maya.
But does this work with the latest version of Maya (Maya 2012) or I need to isntall an older version?

Well, the first section of that page is titled "Maya 2011 - 2012 exporter for Windows".
So I'm guessing it supports 2012. :)

Is the Maya Exporter fully functional?

No idea on that, I haven't used it since 2004 and that mesh didn't need animation.

OgreMax supports Maya 2012 (and XSI 2012), but the free version has the same limits as the free Max version (1 texture layer, 1 uv coord set, 5 animations per mesh).
User avatar
Kojack
OGRE Moderator
OGRE Moderator
 
Posts: 6570
Kudos: 426
Joined: 25 Jan 2004
Location: Brisbane, Australia

Re: OGRE format questions

Postby yannischris » Fri Jan 27, 2012 12:24 pm

Well, the first section of that page is titled "Maya 2011 - 2012 exporter for Windows".
So I'm guessing it supports 2012. :)

Ooooooupss! I didn't see that ;-)

Thanks for the OgreMax suggestion! But the restriction of 5 animations may be a problem.
So, does anybody know if the Maya Exporter has any limit on number-of-animations export (does it support animation to start with)?

Thanks,
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012

Re: OGRE format questions

Postby metaldev » Fri Jan 27, 2012 7:34 pm

yannischris wrote:
Well, the first section of that page is titled "Maya 2011 - 2012 exporter for Windows".
So I'm guessing it supports 2012. :)

Ooooooupss! I didn't see that ;-)

Thanks for the OgreMax suggestion! But the restriction of 5 animations may be a problem.
So, does anybody know if the Maya Exporter has any limit on number-of-animations export (does it support animation to start with)?

Thanks,


If you use the native exporter together with my tool set, you can save any number of animations to any number of skeletons or objects in a Maya scene.
User avatar
metaldev
Orc Shaman
 
Posts: 761
Kudos: 12
Joined: 17 Mar 2005
Location: Boston

Re: OGRE format questions

Postby yannischris » Fri Jan 27, 2012 7:43 pm

By "native exporter" you refer to the Maya exporter I was asking about?
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012

Re: OGRE format questions

Postby metaldev » Fri Jan 27, 2012 7:54 pm

yannischris wrote:By "native exporter" you refer to the Maya exporter I was asking about?

yes
User avatar
metaldev
Orc Shaman
 
Posts: 761
Kudos: 12
Joined: 17 Mar 2005
Location: Boston

Re: OGRE format questions

Postby yannischris » Fri Jan 27, 2012 7:58 pm

ok thanks! I will surely use that! :-)
yannischris
Gnoblar
 
Posts: 11
Kudos: 0
Joined: 21 Jan 2012


Return to Artists & Content Creators

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron