Jump to content
  • Advertisement
Sign in to follow this  
danromeo

Orthographic camera primer?

This topic is 2993 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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!