» AspectRatio (Transform)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

AspectRatio (Transform)

Help squeeses the incoming transformation to the given aspect ratio
Author vvvv group

Here you are supposed to see an image (rendered with SVG) describing the pins of this node. However, this does not work with Internet Explorer. You may want to consider using another browser, like FireFox, Chrome, Safari or Opera that do support SVG.

Credits
Warnings
Bugs

related discussions

start a forum thread about this node

about AspectRatio (Transform)

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).

FAQ

Why do I sometimes need to swap height and width?

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.

anonymous user login

Shoutbox

~17h ago

metrowave: Collection of replicable research: http://www.replicabilitystamp.org/

~20h ago

~5d ago

joreg: @ravazquez always trying to diversivvvvy...

~5d ago

ravazquez: I did not know you were making plates as well: http://www.clairewan.com/

~9d ago

evvvvil: "Pounding Aldebaran" raymarching shader live coded on Twitch. https://www.shadertoy.com/view/tt3SWB

~10d ago

joreg: Tomorrow Thrs, Feb 12: #vvvv Patching Circle: We're there to help! https://gettogether.community/events/3965/vvvv-berlin-patching-circle-5/ No excuses, it's free and there are drinks!

~15d ago

evvvvil: "The reaper's gallows" shader live coded on twitch. Abrasive comments back by popular demand. https://www.shadertoy.com/view/ttcSD4

~18d ago