• Advertisement

Archived

This topic is now archived and is closed to further replies.

orthogonal zoom

This topic is 5741 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how can I zoom in and out to an orthogonal view in directx? do I have to use scaling?or is there another way?

Share this post


Link to post
Share on other sites
Advertisement
You must either scale your geometry by supplying the appropriate matrix to the worldview renderstate (preferable) or you must scale the vertices of the geometry yourself (not-preferable). Or you increase or decrease the size of your orthogonal frustrum.

Share this post


Link to post
Share on other sites

its been a long time since i did it, but im sure theres a way to do it by changing the projection matrix. (no promises tho )
if you''re concerned about OO then this would be a better way to do it.

(if you want me to go check my old code: reillyhead@hotmail.com)

later
Marc

Share this post


Link to post
Share on other sites
Thanks for your interest
I found the solution
the solution is changing the ortho dimensions

Share this post


Link to post
Share on other sites

  • Advertisement