Hey I’m a newbie at OpenGL. I’ve got a SolidSphere in space somewhere, but I can’t seem to find where it is?? How can I find out where OpenGL placed the sphere when I created it? Here’s some of my code :
float a,b,c=0.0;
float d,e=0.0;
float f=-5.0;
float g=0.0;
float h=1.0;
float i=0.0;
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glMatrixMode(GL_MODELVIEW);
glPushMatrix();
gluLookAt(a,b,c,d,e,f,g,h,i);
glutSolidSphere(1.0, 20.0, 16.0);
glPopMatrix();
Does any one know where my sphere is ??
Thanks a lot!!!
-Ian