Zoom problems.


Anyone could I say me how I can make a all objects’s view? I am doing an application CAD and I would like to have an zoom options ( complete view, zoom in, zoom out, etc).

I need to know what’s the camera distance to can look all the objects on perspective view.



But I need to use gluPerspective no glOrtho