Re: Better modifying the render or moving the camera?
Posted by
gouessej on
Feb 27, 2012; 10:55am
URL: https://forum.jogamp.org/Better-modifying-the-render-or-moving-the-camera-tp3780001p3780306.html
Hi
Modifying the viewport might be enough for your purpose (zoom in and out).
Edit.: maybe it is a bad idea. I'm going to look at how I implement zoom in first person shooters.
Edit.: The OpenGL FAQ advises to modify the projection matrix rather than using glScale or glViewport/glScissor.