I'm having trouble getting the Softimage exporter to generate tangents for a model
It gives me the following message and won't let me export the mesh when I ask it to generate the tangents for me:
"Cannot locate an appropriate 2D texture coordinate set for all the vertex data in this mesh to create tangents from."
I've tried to export just the mesh and use the result to generate the tangents from the command line tools, and it gives me the same error message.
I've looked at the OgreMesh.cpp file, but being unfamiliar with many of the Ogre source yet, I can only try to guess what the problem may be.
Converting the mesh to xml format, it shows the following structure for vertices:
Code: Select all
<vertexbuffer positions="true" normals="true" colours_diffuse="true" texture_coord_dimensions_0="3" texture_coords="1">
Code: Select all
<vertex>
<position x="0.070082" y="1.32982" z="-0.316299" />
<normal x="0.0905379" y="0.58691" z="-0.804574" />
<colour_diffuse value="0 0.541176 0.47451 0.976471" />
<texcoord u="0.911252" v="0.661697" w="0.3898" />
</vertex>
Thanks!