which explains left and right movement and it works prefectly, but it doesn’t explain up and down so i was hoping it would be as simple as swaping them.
I don’t actually have a camera, i’m just moving the scene with glRotatef and gltranslated. Sorry for not explaining that clearly.
Alternativelly, rather than applying rotation/translations to whole sceen objects, I also would like know how is that movement (preferably SpinBall or ArcBall rotation) implemented with gluLookAt function?
Cause I’ve function like that but the scene objects instantly goes away from focus. I’m aware that I’m relying on the screen coordinates instead of world coordinates to minimize them I multiply them with arbitrary small number (0.001 is in case), anyway that doesn’t produced the movement effect that I want ?