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
maya exporter texture problem
-
joi
- Gnome
- Posts: 327
- Joined: Tue Feb 22, 2005 8:11 pm
- Location: brazil