Sign in to follow this  
bovinedragon

Line - Triangle Collision and Normals

Recommended Posts

Any one have a good link for this? I have read a few sites on this subject, and they use the normal to the plane. I have all the normals of the vertexes, how would I convert this into the normal of the plane? I tried adding up the components, then diving by three. That makes the right vector, but its not normalized right? What is the difference between a normalized normal and a unnormalized one? Isnt it still the same normal, just a different length? Does this affect how it renders(like for lighting)?

Share this post


Link to post
Share on other sites
You can calculate the triangle normal directly from the vertices, without using their normals. Just do (C-A)x(B-A) for vertices A, B, and C, and then normalize.

Share this post


Link to post
Share on other sites
Quote:
Original post by bovinedragon
What is the difference between a normalized normal and a unnormalized one? Isnt it still the same normal, just a different length? Does this affect how it renders(like for lighting)?


A normalized vector is a unit vector. It's a mathemactical description of a geometry's orientation.

Unnormalized vectors are typically used to describe magnitude/distance AND direction.

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