Skip to main content
gamedev.net
🔒 Locked

triangle winding

Started by v71 Aug 16, 2001 at 2:20 PM 0 replies 150+ views
Original Post
v71
v71
Hi , its me again , does anyone know how to get the winding of a triangle ? i have tried anything , normal, finding the signed area, projecting the triangle against the 3 planes and calculating the area of these 3 projected triangles, all the tutorials around there seems to be the same , the formula is always the same but i think the word cross product is misplaced i think its the minor of second degree form the main matrix , but this still doesn''t work , anyway if anyone has the working code for knowing if a triangle is counterclockwise or not , please let me know
Countach
Countach
If you are testing the winding order when loading a 3D mesh, don''t. AFAIK all formats use counterclockwise winding.





David Hof
Destiny3D engine programmer
mail - icq - homepage
-------homepage - email

Topic Locked

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

Sign in to reply to this topic.