X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=927c1f48b87747bee6a347fdae816c6d54fa41b1;hp=de3a2f7b91e45d6a7fde82df66c4f7a9ab4b3a95;hb=a56f366db6efcb0ed8b11ef020e19889bb8501bc;hpb=832b617a2019cb59220227dfd563808b83b3b6ef diff --git a/scene.c b/scene.c index de3a2f7..927c1f4 100644 --- a/scene.c +++ b/scene.c @@ -123,8 +123,8 @@ GLfloat angle = -150; /* in degrees */ GLfloat angle2 = 30; /* in degrees */ /* Near and far parameters */ -GLfloat near = -10; -GLfloat far = 10; +GLfloat near = -100; +GLfloat far = 100; /* Zoom factor for mouse movements */ GLfloat zoomFactor = 1.0; @@ -665,9 +665,9 @@ void display() { // Draw teapot for a test object glPushMatrix(); - glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface + glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot does not rest on surface glColor3f(0.5, 0.5, 0.5); - glutWireTeapot(1); + glutSolidTeapot(1); glPopMatrix(); // Draw a white ball over the light source