I displyed a 3D object in a MFC window.I try to zoom and rotate that object.I use gluLookat()for zooming,glRotate() for rotation.in the gluLookAt() i give the center point x,y and z as constant value 0.
I incremented the viewPointZ variable only for zoom operation.
gluLookAt(0,0,viewPointZ, 0,0, 0,0, 1.0, 0);
Then i am zoom in/out the object using the arrow keys then, object is zooming but it zooming is based on the center point so it comes toward the monitor is right/left aligned to the window. Is any problem of center point,eye point or up vector ?
pls notify where the mistake to me ?