Archived

This topic is now archived and is closed to further replies.

Finding the Normal of a Face

This topic is 5970 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

OK, I know that this has been answered before in these forums, but I cant seem to find an answer as to how you find the normal of a face when you have the three vertices, and the winding order(counter clockwise or clockwise) of the face. Thanks

Share this post


Link to post
Share on other sites
You create to vectors like this.

Vector1 = Vertex2 - Vertex1
Vector2 = Vertex3 - Vertex1

Then the normal of the face is just the
crossproduct between these two.

VecNormal = Dot(Vector1, Vector2)

Oh, and I think you should normalize both
Vector1 and Vector2 before you calculate
the dotproduct.

Share this post


Link to post
Share on other sites