Hi,
I am new to OGL, and am having a hard time understanding why I can’t get the camera to move and look at my objects from different spots, angles etc…
my (simplified code looks something like this):
display() {
…
gluLookAt(0, 0, 10, 0, 0, 0, 0, 1, 0);
glCallList(theTorus);
…
}
Whatever values I enter into the gluLookAt command, the object always displays in the same spot. If I replace the glCallList() with direct drawing commands, I am able to change the viewpoint. Is there something about display lists that is preventing me from moving? Thanks.