Jump to content
  • Advertisement
Sign in to follow this  
LifeOfTamir

Creating a new viewport without scaling

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

Hey everyone I've created a seperate viewport that shows up in a statics window within my program. The new viewport is about 100x200 pixels. It's meant to show the creature that the window is showing informatino about. the problem is that the viewport is scaling the entire world to fit into that tiny screen. I need a way to create a viewport without the scaling. Does anybody know how to do this? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Supernat02
You change the FOV of the viewport to a smaller angle, and the creature in the middle of the viewport will be zoomed into.

Chris


Alternatively, you could just move the camera closer if you do not wish to have any distortion.

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!