9
1388 Chapter 15: Lights and Cameras
2.
Load a bitm ap as a background for the
viewport.
3. Ident ify on the bitmap at least five features that
w ill b e used for the match. These should be
objects or corners of objects in the scene that
can be identified and tracked. They should
remain visually throughout the scene, and
should not change their shape too much or they
won’t work.
4. Create CameraPoints, w hich are helper objects
found in these locations: Create panel >
Helpers > Camera Match > Object T ype rollout
> C amPoint, and Create menu > Helpers >
Camera Point.
You must have accurate measurements of
distances between at least five features in your
scene, which can’t be all on a single plane. Try
to use points that are distributed throughout
the scene rather than features that are all
clustered in the front or back. This will give the
most accurate results.
5. Position these CameraPoints to correspond to
points in your photo. You can use the Tran sfor m
Type-In (page 1–431) to position the points in
the correct locations in 3D space.
6. Use the Camera Match utility to assign the
CameraPoints to pixel lo c ations on the bitmap.
7. Choose Create Camera and a camera is created
to ma tch the one that took the picture.
If there are errors and the camera cannot be
created, readjust the p oint po sit ions in 3D
space, and reassign them to the bitmap. It’s
easy to make a mistake doing either , but once
you get it right the match should work.
To esta blish the bitma p ba ckgr ound for the render er :
1.
Reset the software and enlarge the Perspective
viewport to ful l screen.
2. From the Rendering menu choose
Env ironment.
3. In the Common Parameters rollout, under
Environment Map, click the g ray box marked
None. This launches the Material/Map Browser.
4. Be sure to set Browse From to New; if it isn’t set
already, then choose Bitmap from the list and
click OK. The Select Bitmap Image File dialog
appears.
5. Navigate and select the appropriate bitmap and
then choose Open.
Use Map is turned on automatically.
6. Render the viewport to verify that the
background appears in the rendering. Press
Shi f t +Q to render.
To establ ish the bitma p back ground to displ ay in the
viewport:
1.
Choose Views menu > Viewport Background
(page 1–38).
This opens the Viewport Background dialog
2. In the Background Source group, click Files.
This launches the Select Background Image
dialog.
3. Navigate and select the appropriate bitmap and
then choose Open.
4. SetAspectRatiotoMatchBitmap.
5. Make sure Display Background is turned on,
and then choose OK.
Thebackgroundappearsintheviewport.
Note: You can click the Use Environment
Background button, but then you don’t ha v e
the Aspect Ratio controls.
To create CamPoint objects:
1.
In the Helpers group of the Create panel, open
the list and select Camera Match.
2. OntheObjectTyperollout,clicktheCamPoint
button.
3. Open the Keyboard Entry rollout.