Jump to content
  • Advertisement
Sign in to follow this  
danromeo

Orthographic camera primer?

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

I'm experimenting with using an orthographic camera projection for my skydome....never played with ortho projection before...doesn't display the skydome, just a big white circle. Previously I was using a perspective camera... projectionMatrix = CreatePerspectiveFieldOfView(MathHelper.ToRadians(45), aspectratio, nearclip, farclip); And this is the ortho camera projection matrix that doesn't work... orthoProjectionMatrix = CreateOrthographic(Viewport.Width, Viewport.Height, nearclip, farclip); I basically want the same view as from the perspective cam, but with an ortho cam. Any idea what I'm doing wrong? THANKS

Share this post


Link to post
Share on other sites
Advertisement
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!