Skip to main content
gamedev.net
🔒 Locked

Polygon Normal help

Started by Riviera Kid Jun 4, 2004 at 2:37 PM 0 replies 250+ views
Original Post
Riviera Kid
Riviera Kid
Hi. In my 3d program i have polygons made from 3 points to form a triangle. These points have no angles. How do i get the normal for these polygons. Im confused by the tutorials.
--------------------------------Dr Cox: "People are tard coated tards with ***tard filling."
markr
markr
Take the first two sides of the triangle as vectors, for example, if the triangle looks like ABC clockwise from the outside of the object, take two vectors A -> B and B -> C, and find the cross product of them.

This will be a normal - depending on what you want to use it for you may have to normalise it.

Mark

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.