Sign in to follow this  
pressgreen

Binormals and tangents

Recommended Posts

pressgreen    678
I am trying to do bump mapping. I have the normals of the geometry and i know that the binormal is the crossProduct of the nomral and the tangent. but how do i find the tangent. I mean i know that the tangent is in relation of the S and T of the texture but im just not understanding how this all comes together. I guess my question is how do i find the tangent in order to do bump mapping on a object more complex then a cube or a plan? thanks

Share this post


Link to post
Share on other sites
Krohm    5030
I guess you're looking for [url="http://www.terathon.com/code/tangent.html"]Computing Tangent Space Basis Vectors for an Arbitrary Mesh[/url].
Additionally, the AssImp library includes this functionality.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this