Tuesday, October 25, 2011

Weird Polygon Faces :

When I was translating my polygons in OpenGL , I realize that there is something wrong in my shape. It was due to depth configuration. I solved using :

glEnable(GL_DEPTH_TEST);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

It took 1 day to understand what is the real problem.

No comments:

Turkce-Ingilizce Tekerleme

I scream, you scream we all scream for ice scream I run, you run we all run for ayran