XSI Exporter Error - Multple sets of vertex data disagree...

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
Priate_Tobey
Gnoblar
Posts: 11
Joined: Tue Mar 14, 2006 9:00 pm

XSI Exporter Error - Multple sets of vertex data disagree...

Post by Priate_Tobey »

Hi,
I get an error, when I try to export several meshes in XSI. Imagine I have 3 objects, which different number of texture coordinates. I get this error message then:
"Error: Multiple sets of vertex data in this mesh disagree on the apprpriate index to use for the target texture coordinates. This ambiguity must be rectified before tangents can be generated"

When I assign every object the same amount of texture projections, it's fine. When I export xsi objects seperately it's fine, too. Only when they end up in one .mesh problems occur.

Is this all a limitation, or it there a bug somewhere?

Thanks
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

This isn't specifically the XSI exporter, it's the common tangents building tool in Mesh. It's because it's trying to figure out which source & destination uv sets to use for tangent generation and it's currently limited to using the same sets for all sub-objects. You'll only get this if you generate tangents for your meshes, and only if you mix the number of UV sets between SubMeshes.

It may be possible to be more specific about tangent generation, but this is harder to do from the outside without knowing why the mesh has differing sets of UVs, or which is the best one to use where there is more than one. So for the moment, it's a limitation of the auto tangents routine.
Priate_Tobey
Gnoblar
Posts: 11
Joined: Tue Mar 14, 2006 9:00 pm

Post by Priate_Tobey »

Ah, ok. Thanks for the explanation.
Post Reply