maya exporter not exporting .mesh files?

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
Paintbrush
Gnoblar
Posts: 3
Joined: Sun Aug 28, 2005 3:48 pm

maya exporter not exporting .mesh files?

Post by Paintbrush »

hey all,

Okay i've done some searching on the boards for similar problems, but it seems everyone has been able to export .mesh files once they got the Maya exporter up and running..

my problem stems in being able to export everything else BUT the mesh files. i got it to export the .material config file and the .mesh.xml file, but not an importable .mesh file...

It may be what i'm trying to select when exporting... some insight would be appreciated.

thanks in advance!

J.
User avatar
haffax
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4823
Joined: Fri Jun 18, 2004 1:40 pm
Location: Berlin, Germany
x 8
Contact:

Post by haffax »

http://www.ogre3d.org/index.php?option= ... t=category

Use this tool to convert mesh.xml -> mesh.
team-pantheon programmer
creators of Rastullahs Lockenpracht
User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 15
Contact:

Post by metaldev »

i built a maya scene manager that converts it for you automatically when you use it to export.

if youd like to use it you can grab ithere.
vinny_the_true
Gnoblar
Posts: 3
Joined: Mon Jul 04, 2005 11:07 am

Post by vinny_the_true »

I juste downloaded the maya exporter tool (version 6.5) but when I click export from the ogreExporter configuration panel, I juste get the "ogreExport procedure not found" error message...

Did I forget something ??
Bringer of Darkness
Halfling
Posts: 98
Joined: Thu May 05, 2005 3:57 pm

Post by Bringer of Darkness »

The most probably you have incorrectly installed scripts - you are apparently missing the line in your userSetup.mel, which register the ogre exporter mel script.......
Sunjit
Gnoblar
Posts: 18
Joined: Sat Nov 19, 2005 10:35 pm

Post by Sunjit »

Bringer of Darkness wrote:The most probably you have incorrectly installed scripts - you are apparently missing the line in your userSetup.mel, which register the ogre exporter mel script.......
What line are you talking about?
User avatar
metaldev
Orc Shaman
Posts: 761
Joined: Thu Mar 17, 2005 11:56 pm
Location: Boston
x 15
Contact:

Post by metaldev »

you should have this file:

C:\Documents and Settings\username\My Documents\maya\7.0\scripts\userSetup.mel

should contain this line:

Code: Select all

source ogreExporter;
Sunjit
Gnoblar
Posts: 18
Joined: Sat Nov 19, 2005 10:35 pm

Post by Sunjit »

metaldev wrote:you should have this file:

C:\Documents and Settings\username\My Documents\maya\7.0\scripts\userSetup.mel

should contain this line:

Code: Select all

source ogreExporter;
To find out if userSetup.mel contains that line, I have to right-click on the file and open with Notepad, right? I did that and the file contains that line.
joi
Gnome
Posts: 327
Joined: Tue Feb 22, 2005 8:11 pm
Location: brazil

Post by joi »

Last bug i found i had to select everything i wanted to export, and then it would generate a .mesh file... could be your bug... :roll:

[EDIT]
Assuming you are the nick Paintbrush, and you have started the conversation, I read the following line :
my problem stems in being able to export everything else BUT the mesh files. i got it to export the .material config file and the .mesh.xml file, but not an importable .mesh file
If both files are bigger then 0k, yes, they are exported, they just hasnt been CONVERTED to ogre format using the OgreXMLConverter.exe, witch you can do it manually.

If your problem is still something different then that, im sorry, you mislead me! Good luck! :)

[ANOTHER EDIT]
Im going crazy with all those nick changes, or is people hijacking this post ?
[/ANOTHER EDIT]

[EDIT]
Last edited by joi on Mon Nov 21, 2005 9:23 pm, edited 3 times in total.
maya 7.0, vs 2005, ogre 1.2
Sunjit
Gnoblar
Posts: 18
Joined: Sat Nov 19, 2005 10:35 pm

Post by Sunjit »

joi wrote:Last bug i found i had to select everything i wanted to export, and then it would generate a .mesh file... could be your bug... :roll:
The bug that I am having a problem with is that nothing is being exported. I even tried selecting everything, but still didn't export. I don't know why it's not working for me.
User avatar
deesine
Gnoblar
Posts: 4
Joined: Tue Nov 01, 2005 11:56 pm

Post by deesine »

AFAIK the exporter wont export anything by default, I had to set export as xml, and under that same tab, there's a checkbox to export as binary or something similar, to get it to export my .mesh files. I'll verify this later today.
My blog
My portfolio (not updated)
User avatar
deesine
Gnoblar
Posts: 4
Joined: Tue Nov 01, 2005 11:56 pm

Post by deesine »

Image
My blog
My portfolio (not updated)
hombre
Gnoblar
Posts: 1
Joined: Mon Nov 21, 2005 7:22 pm

Post by hombre »

yep that should do it

u have to select that xml file include export
than he exports the .mesh automtaically

when u export there is a parameter for

: all ( all objects in the scene )
: selected ( only the selected )

if u export a special selected object dont
forget to set the align of the coordinate space directly to
the object itself otherwise u gonna have problems to translate/move
it in the engine
the same with mapobjects but the other way...there u need the worldspace coordinates

greetings
Post Reply