Tangent Calculations

Started by
2 comments, last by Ashkan 16 years, 10 months ago
I am wondering what the best way to calculate tangents are if you have degenerate texture coordinates? I am using 3D Studio Max to bake my textures, which causes them to unwrap into some pretty crazy texture coordinates. When I use my normal tangent calculator it messes up because of the weird texture coords. Anyone know how to deal with that? Or to import tangents from .3ds? Or to generate tangents without texture coords? Thanks.
Advertisement
I've heard good things about this : http://www.unwrap3d.com/
Worth a look...
That's cool... but I don't really know how it's going to help me calculate my tangents.

Right now I'm importing a .3ds file and I already have all the texture coordinate information, the vertex information, the normal information, basically everything I need, but not the tangent info. I need tangents because I'm trying to do some normal mapping in GLSL.
Check Derivation of the Tangent Space Matrix section 6.

This topic is closed to new replies.

Advertisement