Drawing : UCLA D|MA 23 : Spring08

Lecturer: Sue Huang, TA: Chris O'Leary

Tutorials
Maya Tutorial 5: Compositing 3D Objects onto 2D Images

This tutorial is taken from a tutorial by Jennifer Steinkamp for the class Maya: Form.

Compositing in a 3D Object: Setting the Scene

In the Perspective view select View->Camera Settings->Resolution Gate.

In the Perspective view use View->Camera Attribute Editor.

Under Environment, click the Create button next to Image Plane.

Under Placement, click the Fit to Resolution Gate button.

Select Type->Image File

Select the folder icon and select an image.

In the Perspective view use View->Select Camera

Straighten out your camera, by clicking on the Channel Box and Input:
Translate X 0
Translate Y 1
Translate Z 12
Rotate X,Y,Z 0, 0, 0

Create a plane to match the ground.

Select Window->Rendering Editors->Multilister

Select Edit->Create.

Select on the Use Background button.

Select the plane and Assign the Use Background shader to the plane.

Add a Directional Light to simulate the sun.

Select Create->Lights->Directional Light.

Use the multilister to match the color of the light to your image and turn on shadows.
Rotate the light to match the angle of the sun in your image.

Compositing in a 3D Object: Adding the Object and Shadows

Place your objects in the Scene so that they are sitting flat on the ground plane.

Select Window->Attribute Editor
Under Render Stats
Uncheck Double Sided
Check Opposite

Use Window->Rendering Editors->Multilister
Select Edit->Create
Select on the Lambert button.
Assign the Lambert shader to your sphere.

Turn the shader's color to dark grey.

Select Window->Rendering Editors->Render Settings

Under Raytracing Quality
Check Raytracing
Input Reflections 1
Input Refractions 6
Input Shadows 2

Sample Image