Page 1 of 1

Aspect Ratio

Posted: 05 Feb 2012, 16:35
by hgoodsir
hi all,
what is the best way to setup a rectangle to automatically adjust it aspect ratio when using the video node but keeping the overall scale factor to 1 ?

Re: Aspect Ratio

Posted: 06 Feb 2012, 10:32
by Karol
Hi Hashim,

use the Normalize function of the Rectangle node. It is described in the documentation.

Best Regards
Karol

Re: Aspect Ratio

Posted: 09 Feb 2012, 13:57
by hgoodsir
Many thanks :)

Re: Aspect Ratio

Posted: 10 Feb 2012, 12:24
by ErikB
Karol wrote:Hi Hashim,

use the Normalize function of the Rectangle node. It is described in the documentation.

Best Regards
Karol
Just because this is a cool trick and people seem to miss it in the documentation, for some reason:

Use a rectangle, connect the X size of the rectangle node to the Width of the Video node, Y to the Height, then tick normalize. That way, it will automatically be the correct aspect ratio, depending on whatever Video is currently loaded, but normalized to 1.