Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Vertices sorting

This topic is 5415 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

What do you mean with sorted in ccw order? If the vertices from a polygon are in ccw order seen from one side, then it''s automatically clock wise seen from the other side, so you can''t say of the vertices are clockwise or counterclockwise.
The side of the polygon on which the vertices are ccw (or cw, depending on your settings) is the front side, while if they are in the opposite order, you are seeing the polygon from the back side, and so it won''t be rendered. It''s the task of the modelers to make sure that the vertices are in the right order.
If you just have some vertices, there''s no way to know in which order they should be, because the program doesn''t know the modelers intention.

My Site

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!