Hi.
im trying to store a tangent for each vertice in my export script so i can use bumpmapping in my game but im having some trouble. Blender provides a method named "mesh.getTangents()". Can anyone here thats familiar with this method from the Blender API help me understand how i need to "convert" what it gives me to what i need.
The API documentation has this to say about the method: "Calculates tangents for this mesh, returning a list of tuples, each with 3 or 4 tangent vectors, these are alligned with the meshes faces."
in the end i need 1 tangent vec3 for each vertice.
I hope i made myself clear.
Thnx in Advance!
EDIT: Now that i think about it, this question might have been better of in "graphics programming and theory". but im not sure since its regarding Blender.
Blender API: mesh.getTangents()?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement