Hmm really?
Can you think of any way to correct face windings by facing them in
the direction of the normal? In other words, I need to see if the
normal is in the front or back of a triangle/face.
I guess I could just compare it against each individual vertex
normal. If I do that, how do I get whether the two normals are going
away from each other? I have the normal of the face in the direction
of the winding and each of the vertex normals.
On Oct 2, 2005, at 5:26 PM, John Balestrieri wrote:
You can't do that. You have to compute the face normal by taking 2
vectors derived from the 3 vertices that make up each triangle and
compute the vector cross product.
John
On Oct 2, 2005, at 4:03 PM, Lo Saeteurn wrote:
How do I go about getting the face normal from the three vertex
normals of the same face?
Well, you probably ask why I'm doing this? To fix bad faces that
have the wrong winding, but the correct normal (created by bad
exporters).
_______________________________________________
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>
_______________________________________________
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>
_______________________________________________
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>
|