Skip to main content
gamedev.net
🔒 Locked

mesh rendering

Started by me_here_me Jun 20, 2007 at 10:37 AM 0 replies 500+ views
Original Post
me_here_me
me_here_me
Hi I have a list of triangles present in a text file and i am supposed to render them. Is there any method or algo by which we can judge if a particular set of 3 vertices (a triangle) are arrangle clockwise or anticlockwise in the text file? best wishes
jpetrie
jpetrie
No. This information must be known a priori; either you must assume one ordering or the other, or some kind of flag in the file format must tell you. It is vastly more common to simply assume an ordering.

Topic Locked

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

Sign in to reply to this topic.