» 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

graphicuserinterface: kinect azure in vl viable?

~6h ago

metrowave: what happened to the list of whose logged-in/on-line (above), now only showing me and guests...

~2d ago

joreg: Don't forget: This months #vvvv meetup in #berlin is happening on the 27th: 12-berlin-vvvv-meetup

~2d ago

joreg: @u7 @CeeYaa, we're investigating this...

~2d ago

tonfilm: Under the hood: We switched from #SharpDX to #Xenko math. vl-switch-to-xenko-math VL vvvv #visualprogramming #dotnet #creativecoding

~2d ago

CeeYaa: haha it was frozen for 10 seconds when I send this Shout before - using Firefox

~2d ago

CeeYaa: hui really slow speed on MainPage, Contributions ... speed in Forum quite OK

~2d ago

u7angel: mmm, the site is really slow now.

~3d ago

joreg: PSA: and we're back!

~4d ago

joreg: PSA: Thursday night starting 11pm CET vvvv.org will move servers. If all goes well we should be back soon after.