Jump to content
  • Advertisement
Sign in to follow this  
paranoia33

Parallel FOV?

This topic is 5132 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

Hi, Im making something that resembles a 3d model edit. It has the standard 4 viewports. 1 spec cam and 3 ortho (top,left,right ect). I have my spec cam have a normal FOV, but I want the other 3 to have a parallel FOV so that the objects always seem the same size no matter how far away they are. It does not matter if these objects overlap because I have them in wireframe mode. I also need to be able to zoom in and out in those 3 viewports and also go side to size, just like most 3d editors. Ive tried using D3DXMatrixOrthoLH() but this does not allow me to zoom in and out or scroll. What I need to know is how you make the normal perspective camera act like a ortho camera and also be able to zoom and scroll. So i need a cube frustrum but have no idea how to do that... Thx!

Share this post


Link to post
Share on other sites
Advertisement
D3DXMatrixOrthoOffCenterLH() might be what you want. It takes left, top, right, and bottom values, as well as the standard z-near/far values.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!