Sign in to follow this  
thedodgeruk

reselution vs screen size?

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
[quote name='thedodgeruk' timestamp='1306448444' post='4816203']
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
[/quote]

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this