I am having some problems with how to solve the problem of mouse interaction for pan, rotate, zoom an object in 3D with OpenGL. As I need to create a simple CAD geometry viewer which use orthogonal (parallel) projection I am using function glOrtho(). Is the right way to use gluLookAt() and change the parameters or do you suggest different approach?
If I understand correctly, to achive zoom with parallel (orthogonal) projection using glOrtho() one has to change the parameters of glOrtho() like:
glOrtho(leftzoomFactor, rightzoomFactor, bottomzoomFactor, topzoomFactor, zNear, zFar)