thankyou for your reply :)
so i changed my code:
glEnable(GL_DEPTH_TEST);
while(true)
{
glPushMatrix();
glPushMatrix();
Type: Posts; User: ghghgghh
thankyou for your reply :)
so i changed my code:
glEnable(GL_DEPTH_TEST);
while(true)
{
glPushMatrix();
glPushMatrix();
my purpose is to create a big semi-transparent cube box, and inside of it contains a non-transparent sphere.
here is my simplified code:
GLUquadricObj* object;
object = gluNewQuadric();...