Rendering > Cameras > 

Perspective Match Utility

 
 
 

Command entry:Lighting/Cameras menu Tools (Lighting/Cameras Set) Perspective Match Perspective Match Controls rollout
Command entry: Utilities panel Utilities rollout Perspective Match button Perspective Match Controls rollout

Uses a background image to orient a camera so that its position and field-of-view match the perspective of the image.

TipWhile you use Perspective Match, 2D Pan Zoom mode lets you pan (truck) or zoom (dolly) the viewport without changing the rendering frame. In a Camera view, 2D Pan and Zoom does not change the camera's position.

Procedures

To set up a viewport so the view you see will match the rendering:

  1. Assign a background to a viewport.

    You can also assign a background by dragging and dropping.

  2. If the Viewport Configuration dialog Background panel is not already open, open it and make sure Aspect Ratio is set to Match Rendering Output (this is the default choice).
  3. Use the Material Editor to change the map's Mapping type to Screen.

    To place the map in the Material Editor, open both the Material Editor and the Environment panel. Drag the Environment Map button and drop it on the active View (for the Slate Material Editor) or an unused sample slot (for the Compact Material Editor). When 3ds Max prompts you, be sure to choose Instance.

  4. In the Render Setup dialog Output Size group, choose an aspect ratio that is the same as the aspect ratio of the background image you plan to use.
  5. In the viewport with the background, choose Point-Of-View (POV) viewport label menu Show Safe Frames.

    This ensures that the aspect ratio of the background, as it appears in the viewport, is the same as that of the image itself.

To match a camera to a background:

  1. (Optional.) Create a Free Camera and make the viewport with the background into a Camera viewport..
    TipThe Perspective Match controls also work in Perspective viewports. However, Perspective Match does not work with Target Cameras.
  2. Go to the Utilities panel. On the Utilities rollout, click Perspective Match.
  3. On the Perspective Match Controls rollout, click to turn on Show Vanishing Lines.

    In the viewport, 3ds Max displays six vanishing-line gizmos.

  4. Use the mouse to align the gizmos with the perspective of the bitmap.

    Drag a gizmo to move it, or drag the gizmo's endpoint to resize it. The goal is to align the gizmos so they indicate the vanishing point (or points) of the bitmap scene. Arrange the red (X) and green (Y) pairs of gizmos so they appear to be at right angles to each other. Arrange the blue (Z) gizmos to align with vertical lines.

    3ds Max adjusts the position of the camera so the scene perspective aligns with the background.

    TipDepending on the background art, you might not need to place all six gizmos. The radio buttons in the Vanishing Points group let you display the gizmos for only two axes.

    While adjusting the perspective gizmos, you can change the size of the viewport, or maximize or minimize it.

  5. Use the Camera Adjustments Horizontal and Vertical spinners to place the construction grid where you want it.
    Tip2D Pan Zoom mode can help you place the vanishing-line gizmos accurately.
  6. Click Hide Vanishing Lines when you are satisfied that you have matched the perspective of the background.

    Now when you place objects in the scene, the camera's point of view makes the objects match the background.

  7. Use the other Perspective Match controls to refine the camera's position.
TipWhen you place objects against a perspective-matched background, you can use the Matte/Shadow/Reflection material (or, with the Default Scanline Renderer, the Matte/Shadow material) to cast shadows against the background.

Interface

Vanishing Lines group

Show/Hide Vanishing Lines
Click to show or hide the vanishing-line gizmos and begin adjusting them.
ImportantThe camera must be a Free Camera. If the viewport belongs to a Target Camera, 3ds Max displays a warning about that in the viewport.
[axis-selection radio buttons]
Let you choose the vanishing-line axes to display: either all three axes, XYZ (the default), or a pair of axes.

Anchor Point group

You can choose an object as the "anchor" of perspective matching. When you use an object as the anchor, Perspective Match distance and rotation use that object as the camera's pivot point.

TipIf the geometry you are placing in the scene is large or complicated, it can help to use a helper object such as Point or Dummy. Link the geometry to the helper, then choose the helper to be the Anchor object, and use the Horizontal/Vertical spinners or (Truck/Pan) to place the geometry against the background.
Pick Anchor Object
Click to turn on, then click an object to make it the Anchor.

The button label changes to show the name of the object you picked. If you delete the object, the label reverts to "Pick Anchor Object."

Camera Adjustments group

You can Undo these operations.

NoteThe Horizontal and Vertical settings are relative values: After you use them to adjust the grid location, they revert to their default of 0.0.
Horizontal
Pans the construction grid horizontally.
Vertical
Pans the construction grid vertically.
Distance
Adjusts the distance of objects.

Perspective Match adjusts the distance simply by dollying the camera forward or backward.

Changing the Distance changes the size of an object relative to the background.

Rotation

These buttons rotate the camera about the object you chose using Anchor Point Pick Anchor Object. Except for the camera's location, this does not change the geometry of the scene.

If you have not chosen an Anchor object, the camera rotates about its focal point, instead.

Rotating the camera changes an object's orientation against the background.

[clockwise] Click to rotate the camera 90 degrees clockwise about the Anchor object.

[counterclockwise] Click to rotate the camera 90 degees counterclockwise about the Anchor object.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License