Is there a possibility to code a zoom (like using a sniper rifle in halflife … …) without moving the camera nearer to the object? Because if you do this, the pespective is not the same, as if you would zoom. So is there a possibility to change the vieving angle of opengl’s pyramid of view? (this would be zooming).
Harry of DAIW
Yes, just change the fov param to gluPerspective(). Or you can work out the glFrustum parameters yourself, it’s pretty straightforward.
thank you very much. it works fine … …