What's the de facto standard of triangle winding direction in OpenGL?

eonil picture eonil · Aug 18, 2012 · Viewed 10.7k times · Source

We have two options in triangle winding direction,

  1. clock-wise
  2. counter-clockwise

Anyway converting between them could take some cost. I want to avoid conversion as much as possible, and to do that, I need to know de facto standard of winding direction. I think there's one because many big corporations are using OpenGL, and I think if there's one direction which is used by most of them, that's de facto standard.

If there's no such thing, please let me know.

Answer

Vaughn Cato picture Vaughn Cato · Aug 18, 2012

The OpenGL Programming guide says "By convention, polygons whose vertices appear in counterclockwise order on the screen are called front-facing."