Hi all,
I’m hoping someone can tell me why I’m having trouble with tangents in the C++ API:
changing the left/right handedness of a mesh’s tangent space attributes (in the editor) has no effect on the data returned when I try to read it in my exporter plugin.
MFnMesh::getTangents(&array, MSpace::kObject, uvSetName)
or iterating over individual face-verts:
tangent = MItMeshFaceVertex::getTangent(MSpace::kObject, uvSetName)
When I enable tangent display in the editor, I can see all of the tangent directions flip around as i change left/right handedness, but then when I read the tangents directly from my mesh exporter, the values never change