maya exporter texture problem

Problems building or running the engine, queries about how to use features etc.
Post Reply
Billthe4th
Gnoblar
Posts: 3
Joined: Tue Nov 09, 2004 11:26 am

maya exporter texture problem

Post by Billthe4th »

I am using the maya exporter (maya2ogre) with maya version 6 compiled in linux. The .MESH.XML file and material are created and all the vetices and normals seemed to be correct. The XML file also references the correct material in the material file, however when i choose to use this mesh (simply replacing razor.mesh in the tutorial) the mesh is displayed with its geometry intact however has one flat colour all over not the texture that was applied.

The resources.cfg file points to the correct place for the .material .jpg and .mesh file and no obvious errors are reported by ogre.

Below are the resulting files i am using and files created by the exporters and ogre etc.

http://www.cs.bris.ac.uk/home/pr2600/cube/cube.jpg
http://www.cs.bris.ac.uk/home/pr2600/cube/cube.material
http://www.cs.bris.ac.uk/home/pr2600/cube/cube.mb
http://www.cs.bris.ac.uk/home/pr2600/cube/cube.mesh
http://www.cs.bris.ac.uk/home/pr2600/cube/cube.mesh.xml
http://www.cs.bris.ac.uk/home/pr2600/cube/Ogre.log

the maya2ogre command line tool was run with the following command:
m2o -in cube.mb -n -mesh -mat

then the mesh.xml was converted to a mesh using
OgreXMLConverter cube.mesh.xml

and all was then copied to the respective media folders in Samples/Media

Thanks for any help
joi
Gnome
Posts: 327
Joined: Tue Feb 22, 2005 8:11 pm
Location: brazil

Post by joi »

did you checked if it has texture coords ? im building a new version of the exporter, if you want to wait a couple of days i could send you if i get it right...

altough im using maya 6.5 i would be happy to compile for the 6.0 version for you
Post Reply