• Advertisement
Sign in to follow this  

reselution vs screen size?

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

when iniilising directx10 ,
you can set the viewport for the screen size.

but in games you can have the same windowed screen size but at differnt reselutions,

were abouts are the differnt settins, for screen size, and screen reselutions

Share this post


Link to post
Share on other sites
Advertisement

when iniilising directx10 ,
you can set the viewport for the screen size.

but in games you can have the same windowed screen size but at differnt reselutions,

were abouts are the differnt settins, for screen size, and screen reselutions


They are one and the same. It's up to you to make sure that the resolution is compatible with the users screen/hardware. You than use the world view and projection matrices, ie your camera to fit your world within the screen.

Share this post


Link to post
Share on other sites
When you create the render-targets that you draw to, you can make them a different resolution than the screen (if you want to).
e.g. you could render to a 800x600 render-target, and then copy the results to a 1024x768 back-buffer.

Share this post


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

  • Advertisement