» 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

~3mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~4mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~4mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~4mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~4mth ago

~4mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~4mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~4mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~5mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~5mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/