X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=4870d86cbb9ba9700385b5af0ef95a69cd7ccfae;hp=33da676216ad03192e9c1e825091ec60f3ce4174;hb=80479a7e06eeef3f38bfe781ce3ba21218255d5a;hpb=7b024252dd0a9eb375fbe69b7db3e0630f1527a2 diff --git a/scene.c b/scene.c index 33da676..4870d86 100644 --- a/scene.c +++ b/scene.c @@ -329,7 +329,7 @@ void display() { glPushMatrix(); glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface glColor3f(0.5, 0.5, 0.5); - glutSolidTeapot(25); + glutSolidTeapot(1); glPopMatrix(); // Draw a white ball over the light source @@ -416,9 +416,9 @@ int main(int argc, char **argv) { glMatrixMode(GL_PROJECTION); gluPerspective( /* field of view in degree */ 40.0, /* aspect ratio */ 1.0, - /* Z near */ 20.0, /* Z far */ 300.0); + /* Z near */ 10.0, /* Z far */ 100.0); glMatrixMode(GL_MODELVIEW); - gluLookAt(0.0, 8.0, 60.0, /* eye is at (0,8,60) */ + gluLookAt(0.0, 35.0, 60.0, /* eye is at (0,8,60) */ 0.0, 0.0, 0.0, /* center is at (0,8,0) */ 0.0, 1.0, 0.); /* up is in postivie Y direction */