cg-hci_novice
03-20-2003, 06:43 PM
Hello,
I am trying to use gluLookAt with perspective projection to "view" a 2d array of square polygons of different colors that I have drawn. The problem is I can only see a few of these. I believe that I need to adjust the first 3 args to gluLookAt but am not sure if I need to adjust the others as well. I currently have:
gluLookAt(0, 0, 350, 0, 0, 0, 0, 1, 0);
in my display function.
I read thru:
http://www.opengl.org/developers/gaqs/techinical/viewing.htm
but am still confused about this.
Any suggestions are appreciated.
Thanks.
I am trying to use gluLookAt with perspective projection to "view" a 2d array of square polygons of different colors that I have drawn. The problem is I can only see a few of these. I believe that I need to adjust the first 3 args to gluLookAt but am not sure if I need to adjust the others as well. I currently have:
gluLookAt(0, 0, 350, 0, 0, 0, 0, 1, 0);
in my display function.
I read thru:
http://www.opengl.org/developers/gaqs/techinical/viewing.htm
but am still confused about this.
Any suggestions are appreciated.
Thanks.