How to implement zoom effect in OpenGL

02 Dec

The articles here give all the answers. This is the OpenGL FAQ on viewing and camera transforms.

To get all the OpenGL FAQ, visit here. Worth a read and highly recommend.


Posted by on December 2, 2008 in CAD


4 responses to “How to implement zoom effect in OpenGL

  1. mukit ataul

    February 5, 2009 at 6:30 pm

    Changing the view volume is the proper way to display zoom effect in open gl

  2. xinyustudio

    February 6, 2009 at 12:32 pm

    Thanks, mukit. Can you elaborate why? I think the link above offers several ways to do so.

  3. mukit ataul

    February 9, 2009 at 4:45 pm

    In the real world, zooming means, you are using a magnifying glass or a lens to view an object. In opengl, using a lens means defining the projection matrix (which deals with the view volume ). Hence proper zooming is about defining the projection matrix properly.

  4. xinyustudio

    February 10, 2009 at 2:04 pm

    Thanks for the valuable comments, mukit.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: