Aspect Ratio Calculator

by Magnusson Productions in Scripts and Addons

Ever Wondered What the Correct Resolution Should Be?

A director and editor I worked with were doing the final exports for a short film.  There was one task left: they needed to give it a cinematic aspect ratio.  They ended up scrambling the Internet for over an hour to not only find out the correct resolution for that aspect ratio, but how to get the software to export it correctly.  To me, it seemed like such a trivial issue.  This should never be an issue on any project, especially for us Blender-ers.


What does this Addon Do?

My addon calculates the aspect ratio of your choice and implements it either for your render or your final composite.


"Let's Not Blow This Out of Proportion"

 In the render properties, the calculator takes your selected aspect ratio and applies it to the resolution of your render.  It's perfect for setting your render to the perfect proportions or simply previewing your animation with a given aspect ratio.  No need to pull out your calculator or Google the resolution!



Want the cinematic black bars on the top and bottom?  In the compositor, the calculator generates a node setup to give you that perfect look.  And better yet, it's all done in a scene-referred color space, so none of your color data is lost in your composite!



"Aspect Ratio, I Choose You!"

You can either use one of our presets or input your own aspect ratio, and the addon will do the calculating for you.  You can focus less on implementing the aspect ratio, and more on getting your animation out on time.


Updates

1.1 - Sleeker UI, added portrait mode functionality to both composite and render

Aspect Ratio Generator

There are two places that this addon is used: in the render properties, and the compositing node tree.

Render Properties

You'll find the panel at the bottom of the render property settings. Each of the buttons generates the correct resolution based on the selected aspect ratio and the width of your render resolution setting.

Compositor Node Tree

On the left shelf of the compositing window (if it's not visible, press "t" with your cursor over the window), find the "Aspect Ratio" category. There are a few presets, along with a custom aspect ratio generator. By clicking any of the buttons, a few nodes will be added before the composite. And if you change your mind and select a different ratio, it'll simply update the compositor - nothing will be re-added.

How to Use

You can either using the preset aspect ratios, or enter the aspect ratio in decimal form in the "Custom Aspect Ratio" field. If you don't know the decimal form but have the proportions (the widescreen "16 : 9," for example), enter the width proportion divided by the height proportion, and let Blender calculate it for you (for the previous example, you'd type in "16 / 9")!

For the most accuracy with the custom aspect ratio, ensure that your custom ratio has at least 4 significant figures. This will ensure the accuracy of the resolution size. Otherwise, the resolution may be incorrect.

After applying a custom aspect ratio, the resolution/proportion isn't correct. Did I do something wrong?

You may need to make sure your ratio is correct to four significant figures.  As it says in the documentation, "For the most accuracy with the custom aspect ratio, ensure that your custom ratio has at least 4 significant figures. This will ensure the accuracy of the resolution size. Otherwise, the resolution may be incorrect."

Item Rating

This item has an average rating of 5 from 1 ratings by the community.

100%
0%
0%
0%
0%
  • chermozak 13 days ago

    Thank you for the useful addition!

Purchase this item to leave a review!