tags:

views:

36

answers:

0

Hi, I've created simple 3d polygon models in Blender, and exported them as OBJ format. I've pasted the resulting vertice arrays into my code, setup the vertex array and vertex pointer, enabled depth testing, etc. When I draw using glDrawArrays(), I see a bunch of faces that only vaguely resembles mo OBJ model. I've tried using blender, misfit3D, GL_TRIANGLES, GL_TRIANGLE_STRIPS, GL_TRIANGLE_FAN, but no luck. The lower the number of vertices, the worse the problem. Any ideas, anyone?