» 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

~1h ago

joreg: @vasilis we'll add more. which one are you interested in?

~3h ago

vasilis: missed my chance again...sold out!!!

~18h ago

Takuma: @joreg thanks for sharing!!

~2d ago

~4d ago

joreg: Everyone go checkout this growing list of #vvvv beta tutorials by Takuma Nakata: https://www.youtube.com/playlist?list=PLK3HDkvkLePS9UKCVw1o_eb09Ocws6Wcr Thanks for those!

~4d ago

evvvvil: "Energy Confinement": Result of Tuesday's improvised live coding session on Twitch. https://www.shadertoy.com/view/WslyDl

~5d ago

m9dfukc: @siyah Yes! macOs support ... more like a distant dream but hey ;)

~5d ago

siyah: such a great news @devvvvs ps.I'm dreaming osx version (:

~5d ago

dottore: Congratulations @devvvvs!!!! :)