I’m starting to implement a 3d modeler with
OpenGL. My current problem is that the
triangles aren’t rendering properly. Some
triangles render properly, some don’t render
at all, and some are half-rendered, with the
halfway point being a horizontal line level
with one of the three vertices.
When rotating my view of the model, the
different triangles flicker between these
three states in a haphazard manner.
I’ve scoured the red book and the Windows
SDK docs for some indication of what I’m
doing wrong. No joy.
Has anyone encountered this problem, and how
did you fix it?