zooming in a vector based graphics

Started by
1 comment, last by MiskoC 23 years, 8 months ago
I am writing a little program that reads a DXF file and displays the content. I would like to add a little zooming function. How do I have to modify the coords of the entities to create the desired effect? Can somebody help me? Thanks.
Advertisement
No,

You don''t have to modify the coordinates. Just modify the camera view frustum (if you are using a 3D API to draw the graphics).



Graham Rhodes
Senior Scientist
Applied Research Associates, Inc.
email: grhodes@sed.ara.com
Graham Rhodes Moderator, Math & Physics forum @ gamedev.net
In other words, make the frame of view smaller.

Al Gore Rules!

This topic is closed to new replies.

Advertisement