X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=9aa53168a187dc8a8f0620c5eafd8a8e304479ff;hp=61fe5934d9996f6c1ee7f075d024525cd48ff645;hb=b7db1a7cd382c54ee0caa5e2a2d9dfdde6801b30;hpb=1b273f48f9ea7ae8ef48a052311e913a115ca1a3 diff --git a/scene.c b/scene.c index 61fe593..9aa5316 100644 --- a/scene.c +++ b/scene.c @@ -416,10 +416,10 @@ 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) */ - 0.0, 8.0, 0.0, /* center is at (0,8,0) */ + 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 */ glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);