At 1:03 PM -0700 10/2/05, Lo Saeteurn wrote:
How do I go about getting the face normal from the three vertex
normals of the same face?
You want to create the face normal from the three vertex positions,
not the three vertex normals. But if your goal is to just see
whether the face normal needs to be flipped, then compute the average
of the three vertex normals, and choose which face normal (flipped on
not flipped) makes the smallest angle with this average.
HTH,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|