- [Instructor] In the previous movie,
we saw how to enable safe frames to crop the viewport
to the render aspect ratio.
Now let's adjust that render aspect ratio
and its pixel resolution.
That's a property of the renderer, not of the camera.
And it'll be found in the render setup dialogue.
Over here are on the main toolbar on the far right
we have the render buttons
and the one that looks like a teapot with a little gear
is render setup.
Go ahead and click on that,
and launch the render setup window.
And there are a whole bunch of tabs here
and these will vary depending upon
which renderer you have chosen.
We get back to this later in the course.
For now we're concerned with the common tab
and this is where we can set our resolution.
It's here in the area labeled output size.
Currently I've got a custom resolution of 427 by 240.
And I set that up in order to conform to the constraints
of my screen capture area.
But normally you would render
to a resolution somewhat higher than that.
We have some buttons over here
and these are some custom resolutions that were set
for a default scene.
So for example, we can click on 640 by 480.
Watch what happens in our physical camera viewport
we change the aspect ratio.
We now see a more squareish aspect ratio of four to three.
That's a standard definition aspect ratio.
We see the width is 640 pixels.
The height is 480 pixels
and then we have the image aspect listed down here
as 1.333 repeating, which is four divided by three.
So that's as simple as that,
if you change the resolution
that means you're probably going to change the aspect ratio.
And because we have safe frames turned on
we see the end result of that aspect ratio change here
in the viewport panel.
Okay, going a little bit deeper into this,
in output size, we have some presets.
We can click on this, pull down list,
that's currently labeled custom.
And for example, we can go down to HDTV video, choose that.
And now the buttons that we see here are different
and they have different pixel resolutions
but these all happen to be a 1.77 repeating aspect ratio.
1920 by 1080, 1280 by 720
or a 4k resolution, 3840 by 2160.
Those all work out to an aspect ratio of 1.77 repeating.
So those are presets, those are kind of handy.
But I do tend to use the custom handle here,
I go up to custom and I can just plug in what I want here.
Before we go to that, I just want to detour a little bit
and talk about pixel aspect.
So normally you're probably familiar
with the idea of a pixel being a little square,
but in fact pixels do not have to be square.
There are some video formats
such as the standard definition D1 format
which uses non square pixels.
So a pixel is actually not a square.
It's an infinitesimally sized point sample
on some image, okay?
So we can take more samples horizontally versus vertically
and that would result in non square pixels.
So if we had proportionally the same amount of samples
horizontally and vertically, we'd have
a pixel aspect of one
that corresponds to, for example 640 by 480
with a pixel aspect of one
gives us an image aspect of 1.3, repeating.
We have a button up here
which is a preset for that D1 format.
If I click on that
our image aspect still reads 1.333 repeating,
our framing didn't change in the viewport,
even though our number of pixels changed,
we now have 720 by 486.
But what's happened here is the pixel aspect
has changed to 0.9, the D1 format squeezes more pixels in
the horizontal dimension from left to right,
there are more pixel in that dimension proportionally
than there are going up and down.
Okay, so that's a bit of a legacy concern.
You probably won't need to deal with that
but it is important for you to know
that for any current format, such as an HDTV format
you're probably going to have a pixel aspect of one.
All right, so I'll set this back to 640 by 480
which sends us back to a pixel aspect of one
but maintains an image aspect of 1.333.
Let's create a custom resolution.
Let's say I want a standard definition that's letter boxed.
That has a 16 by nine aspect
but still fits within the standard definition
of 640 pixels in width or left to right.
So with image aspect lock turned on,
if we change anything
we're going to change the other parameters.
In other words, let's say I want an image height of 360.
So if I type in 360 here for the height and press Enter
that's going to keep the aspect ratio, but change the width.
Now, I've got a 40 by 360.
Okay, well, what I want here is 640 by 360.
So I'll turn image aspect lock off.
I've got a little padlock, turn that off.
Then we can change these parameters independently.
I can set the width to 640 and press Enter.
And now I have 640 by 360
giving us an image aspect of 1.78.
And additionally, you know what?
I can store this in one of these buttons.
So I don't really need 640 by 480.
So I'll right-click on that.
And in this configure preset dialogue
I can click get current settings and click okay.
And now that setting is stored in my current scene.
I might want to switch back and forth between a
draft quality and a high quality rendering
while preserving the image aspect, right?
I don't want to change the aspect ratio
if I'm just rendering out a draft quality rendering.
So this could be my draft quality resolution, 640 by 360
but I could also create a preset here for my final output.
Let's say that would be a 1920 by 1080
or a 1080P resolution.
I can do that by enabling the image aspect once again,
I can turn the padlock back on and lock that
and just set the width up here to 1920 in press Enter.
And since the image aspect lock was on
the height automatically changed to 1080.
I can store that in a button over here too.
I'm not using this 800 by 600, so I can right-click on that.
Choose get current settings, click, okay.
And now I can just switch back forth
between my draft rendering
and my final output rendering resolution
just by clicking on these buttons.
And we didn't change the framing in the viewport
because those two presets share the same aspect ratio.
All right, that's how to set up resolution and aspect ratio
in the render setup dialogue.