X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=4870d86cbb9ba9700385b5af0ef95a69cd7ccfae;hp=8e9dc10642acb369b2ab037e73516d9d2676c6fc;hb=80479a7e06eeef3f38bfe781ce3ba21218255d5a;hpb=842c67b45a92baeb4a5e82101462e3778043061e diff --git a/scene.c b/scene.c index 8e9dc10..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,7 +416,7 @@ int main(int argc, char **argv) { glMatrixMode(GL_PROJECTION); gluPerspective( /* field of view in degree */ 40.0, /* aspect ratio */ 1.0, - /* Z near */ -1000.0, /* Z far */ 1000.0); + /* Z near */ 10.0, /* Z far */ 100.0); glMatrixMode(GL_MODELVIEW); 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) */