-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
Milestone
Description
All primitives but ofBoxPrimitive appear to be in CW winding order, resulting in front faces to be culled instead of backfaces, when glCullFace is enabled.
test case:
https://gist.github.com/tgfrerer/7417271
test case render
related issues
We have dealt with winding isssues in the past, with #2263 being the most recent.
There is a vintage open issue addressing this: #745
thoughts
I could fix/unify this, but i think it's worth discussing which winding order we adopt as standard. I'd personally be for going with the OpenGL standard of CCW for front-facing triangles, which would mean to bring everyting in line with ofBoxPrimitive. my main reason being that these kind of special cases could make oF a bit more difficult to learn / and code harder to port.
