» 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

~28min ago

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

~6d ago

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

~7d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~20d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~1mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/