Hi,

I am trying to draw a 3D Polygon here but when I am rotating the Object more than 180 degrees something goes wrong with the polygon ... To fix that problem I tried to use plane determination technique as in the line below:
(when i am setting up the rendering context)
glFrontFace(GL_CW);
(before drawing the polygon)
glEnable(GL_DEPTH_TEST);

Even with these above its not working ....

what's going on ??
Does anybody has very simple example teaching how can I make it ??