July 19, 2023No Comments

How to Vertically Align Text in After Effects using Expressions

If you've been making subtitles in After Effects like me, you probably found out that sometimes you need the text layer to be aligned vertically. This is not an issue if you only have one line of text. But as soon as you have two lines or more, you have to adjust the position to align it again.

I've had my fair share of manually fixing this until I discovered a simple expression that works like magic. Whatever you type, the text will always be vertically aligned.

To get the best results, you should create a text box instead of just a text. You do this by selecting the text tool and instead of just clicking on the composition, you're gonna click and drag to create a box. When you give the text box a specific width, your text will have line breaks automatically once it reaches the edge. This makes the work easier.

Type whatever you want inside your textbox, and open the layer properties until you see the Anchor Point. You can also select the layer and just press "A" to see it.

We need to add an expression in the Anchor Point property by pressing ALT and clicking on the stopwatch icon, this will open a small code editor where we need to type the following:

a=sourceRectAtTime();
[0,a.top+a.height/2]+value

The anchor point of the layer will adjust itself depending on the height of the text, not the textbox, with the ability to change it manually if needed thanks to the "value" parameter.

And that should do it!

March 7, 2023No Comments

Calculate Render Times with this Render Time Calculator

As a motion designer, you know that rendering is the necessary beast in every project. It’s the final step where all your hard work is transformed into tangible results—but it’s also where time can easily slip away. That’s why I built the Render Time Calculator, a straightforward tool to help you get a realistic estimate of how long your next render will take, so you can manage your time and expectations without surprises.

Why a Render Time Calculator?

We’ve all been there: you set up a beautiful scene, hit render, and suddenly realize it’s going to take hours… or days. With this calculator, you can get an accurate estimate of your render time based on your project’s frames, render speed, and the number of workstations you’re using. Just enter your details, and let the calculator do the rest. It’s perfect for anyone working in 3D software like Cinema 4D, Blender, or Maya, whether you’re a freelance motion designer or working with a larger team.

How It Works

The Render Time Calculator couldn’t be easier to use. Just plug in:

  1. Seconds per Frame - How long each frame takes to render on your setup.
  2. Total Frames - The number of frames in your project.
  3. Workstations - The number of machines rendering simultaneously.

Hit calculate, and you’ll see the estimated render time in hours and minutes. It’s a simple setup, but it can save you a lot of headache, especially when deadlines are tight, and you’re managing multiple projects.

Why It’s Handy for Motion Designers

Render times can be unpredictable, and managing them can make or break your workflow. With this calculator, you can get a better handle on your schedule, letting you focus on what you do best: creating stunning visuals. You’ll know exactly when to grab that coffee (or three) and when to prep for the next step in the pipeline.

Give it a try and see how much smoother your project planning can be with a quick render time estimate:

Render Time Calculator

Valencia, Spain 5:02 PM

Got a project?
Let's Talk!

hello@robdiaz.com

Copyright © Rob Diaz 2024