Sunday, November 18, 2012

Progress

I've started to adapt the Android OpenGL example to my own purposes.  It uses glDrawArrays() rather than glDrawElements(), which is probably not the source of my current problems, but I'm having a hard time getting glDrawElements() to work instead.  I've gotten my world coordinates transformations working, including the frustum matrix and the view matrix.  Right now my biggest problem is that the triangles in my example code do not overlap correctly; they overlap in the same order, regardless of position in 3D space.  This is somewhat vexing....

No comments:

Post a Comment