Hello, I’ve been trying for a long time to find good resources on creating a camera that rotates and translates according to the current view, but to no avail. And gluLookAt seems to be really slow (not to mention the difficult calculating the up vector); I’d prefer to do this in pure OpenGL.
What should I be using? glTranslatef doesn’t seem to care whether I rotated first (and I’ve tried translating back, etc.), and it looks like it’d be really difficult to calculate exactly what axes to rotate the camera around to do what I want. I’ve messed around a bit with push/popmatrix. I’m sorry; I just haven’t found anything, and I’ve put off starting a 3D game for months now because I just can’t make this first step.