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 xinyustudio on December 2, 2008 in CAD
February 5, 2009 at 6:30 pm
Changing the view volume is the proper way to display zoom effect in open gl
February 6, 2009 at 12:32 pm
Thanks, mukit. Can you elaborate why? I think the link above offers several ways to do so.
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.
February 10, 2009 at 2:04 pm
Thanks for the valuable comments, mukit.
Fill in your details below or click an icon to log in:
You are commenting using your WordPress.com account. ( Log Out / Change )
You are commenting using your Twitter account. ( Log Out / Change )
You are commenting using your Facebook account. ( Log Out / Change )
You are commenting using your Google+ account. ( Log Out / Change )
Connecting to %s
Notify me of new comments via email.
Follow this blog and receive new posts by email.
Join 81 other followers
Create a free website or blog at WordPress.com.
Entries (RSS) and Comments (RSS)