amstel
03-15-2002, 06:10 PM
I have a simple object of solid cube.Once I rotated it in any angle,then some face disappear.
I created my solid cube by this way,
//Left face
glBengin(GL_QUADS);
glVertex3d(x1,y1,z1);
...
glVertex3d(x4,y4,z4);
glEnd();
and similar code on other face
What the remedy I should to do?
Please note that , I don't want to use the glut and gluax library
PS: Sorry! I have arleady posted this topic in the Beginner section.
I created my solid cube by this way,
//Left face
glBengin(GL_QUADS);
glVertex3d(x1,y1,z1);
...
glVertex3d(x4,y4,z4);
glEnd();
and similar code on other face
What the remedy I should to do?
Please note that , I don't want to use the glut and gluax library
PS: Sorry! I have arleady posted this topic in the Beginner section.