I'm trying to find out what a binormal is in the context of graphics programming but coming up short, I saw on a site that the binormal was being calculated as the cross product between the normal and tangent (i.e. cross(normal, tangent)), is this the correct way to calculate a binormal?
According to mathworld, the binormal vector is defined as cross(tangent,normal)
where tangent
and normal
are unit normal vectors.
Note that, strictly speaking, order matters when you take cross products. cross(tangent,normal)
points in the opposite direction from cross(normal,tangent)
. That may or may not matter depending on your application. It really doesn't matter as long as your calculations are internally consistent.