zooming in a vector based graphics
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.
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement