Page 1 of 1

maya exporter texture problem

Posted: Tue Feb 01, 2005 3:02 pm
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

Posted: Fri Feb 25, 2005 12:56 am
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