Forum

Force DX9Renderer to a 16:9 fullscreen resolution (or letterboxed)

Hi there,

I have a projection problem: I want to project a 16:9 Patch (Renderer Fullscreen) via an 4:3 Beamer onto a 16:9 screen. All I need is to force the Renderer in fullscreenmode to 1024 x 576 (16:9) or even better letterboxed?, but the Inspector only allows me to set a 4:3 resolution.

I tried to grab the rendered scene via a dx9Texture onto a correctly scaled quad within a second renderer. That worked, but I loose the antialiasing for know reasons…

The beamer lens can not be altered, and I found no options in my nvidia settings or the beamer menu.

Is there a way to force the DX9Renderer to deliver a 4:3 letterboxed resolution with my 16:9 scene and antialiasing?

regards,
CountZero

I think best way would be to use uniform scale to scale the content in the 4:3 render to something that is suitable (16:9).

Are you simply asking for two black quads for the letterboxing?

Just set them to Screen Space and move them to the right x,y,z position, and they will safely cover everything you do not want to show.

For changing the ratio and doing anamorphic rendering, the AspectRatio (Transform) node was invented. Its quite similar to Scale (Transform) , but it avoids some of the extra divisions upstream. Just enter the magic numbers 16 and 9 into the right inputs and connect it to the Renderer (If you use a camera, connect it between Camera and Renderer).

As a side note: When entering 16 and 9 into that node, you will end up entering the width as 9 and the height as 16. Which somehow sounds counterintuitive.

Basically AspectRatio behaves in the intuitive way when used to transform Quads - So if you connect AspectRatio to a Quad (and have a square Renderer) you will get a rectangle with the expected aspect ratio. On the other hand, when connecting AspectRatio to a Renderer, you would map square content to an rectangular screen, which is the inverse process. You could use Inverse (Transform) for doing that, but for some reasons deeply rooted in linear algebra people can also change width and height and get the inverse matrix directly. Which is easy to do, but always counterintuitive.

ah sorry, yeah like oschatz mentioned AspectRatio. I always confuse uniform scale with aspectratio ;(

Hi there,

thank you for your infos, I found a “dirty” solution. I could set a 1280 x 720 fullscreen resolution in the renderer and the projector took that resolution and resized it internally… Final projection is 16:9 letterboxed, but probably not as good as oschatz way, for it is not a native signal source for the 1024 x 768 projektor and is therefore downscaled (=quality loss?)… But I can live with it.

The next time I’ll try the clean and professional way ;D

Regards,
CountZero