12-14-2000, 06:25 AM
Hi,
I am starting my first 'real' OpenGL program after having produced several demo/test programs, and would like to get it running as fast as possible [doesn't everyone http://www.opengl.org/discussion_boards/ubb/wink.gif]. I remember reading one person's comments (cannot remember where) who indicated that using gluLookAt() to move the camera around the scene produced a great speed impovement when compared to the simpler method of rotating and translating all the primitives to be drawn (the method that all basic tutorials seem to use - probably for a reason) Is this true? If so, how is the above function used? I'm not sure what the 'up' vector is there for...
Sorry if this is a bit of a no-brainer http://www.opengl.org/discussion_boards/ubb/confused.gif, but, as I said, I am new to OpenGL...
Cheers for any info,
Ghee
I am starting my first 'real' OpenGL program after having produced several demo/test programs, and would like to get it running as fast as possible [doesn't everyone http://www.opengl.org/discussion_boards/ubb/wink.gif]. I remember reading one person's comments (cannot remember where) who indicated that using gluLookAt() to move the camera around the scene produced a great speed impovement when compared to the simpler method of rotating and translating all the primitives to be drawn (the method that all basic tutorials seem to use - probably for a reason) Is this true? If so, how is the above function used? I'm not sure what the 'up' vector is there for...
Sorry if this is a bit of a no-brainer http://www.opengl.org/discussion_boards/ubb/confused.gif, but, as I said, I am new to OpenGL...
Cheers for any info,
Ghee