Rotate screen DX9

Started by
3 comments, last by Sound Master 4 years, 6 months ago

Hi, how can i rotate the whole screen for DirectX9 ?

I like to rotate it 90 and/or 270 degrees.

thanks in advance

Advertisement

Assuming you’re on a device that can’t meaningfully rotate it’s screen (desktop and most laptops), I suggest doing this rotation in the view transform? Another option is a rotation post process step?

No, i like to support both in game.

So you can have the option to rotate the whole screen.

The presented image has to be rotated and scaled to fit horizontally or vertical.

 

Take a look to this game for example :

 

There is a option to rotate the screen and have full screen in a vertical shooter game.

On 9/28/2019 at 5:17 PM, Steve_Segreto said:

Assuming you’re on a device that can’t meaningfully rotate it’s screen (desktop and most laptops), I suggest doing this rotation in the view transform? Another option is a rotation post process step?

You mean changing the up vector ?

Nice one, i understand now.

This topic is closed to new replies.

Advertisement