#52595 - lobster - Thu Sep 01, 2005 5:53 am
how do gluLookAt() or gluLookAtf32() work?
i tried porting an old opengl demo i made for class to DS but the camera moves itself to (0,0,0) looking down the negative z-axis (0,0,-100) with the up in the positive y direction (0,1,0) no matter what i put in as arguments. as you can see, these are the defaults for gluLookAt(). i've tried using ints and floats in gluLookAt(), and converting to f32 with floatof32(n) for use with gluLookAtf32() and nothing is changed in each case.
i tried porting an old opengl demo i made for class to DS but the camera moves itself to (0,0,0) looking down the negative z-axis (0,0,-100) with the up in the positive y direction (0,1,0) no matter what i put in as arguments. as you can see, these are the defaults for gluLookAt(). i've tried using ints and floats in gluLookAt(), and converting to f32 with floatof32(n) for use with gluLookAtf32() and nothing is changed in each case.