» 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

~14d ago

~17d ago

joreg: The Winter Season of vvvv workshops is now over but all recordings are still available for purchase: https://thenodeinstitute.org/ws23-vvvv-intermediates/

~24d ago

schlonzo: Love the new drag and drop functionality for links in latest previews!

~1mth ago

joreg: Workshop on 29 02: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/

~1mth ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~2mth ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~2mth ago

woei: @Joanie_AntiVJ: think so, looks doable