Working with Cameras Previous Next 3D Displacement

Chapter 8, Multilayer Compositing and 3D Effects
Camera Mapping

Camera mapping lets you add depth and perspective to a matte painting or rendered image by allowing it to be projected onto geometry from the point of view of the camera. In this way, you can add the illusion of 3D movement to a 2D scene. This facilitates the creation of virtual set extensions, and is also used as part of the process of converting 2D material to stereoscopic imagery.

Using the Camera Mapping tool, which you can place between the geometry generator and the Layer node, you can generate UV coordinates. UV coordinates are 2D coordinates that you can apply to an object; they are generated by the camera connected to the Camera Mapping tool. UV coordinates are affected by the camera's parameters, such as the field of view, distance, and so on.

To use the Camera Mapping tool:
  1. Create a new composition.

  2. From the Tools tab, select Reaction and drag it to the Schematic view

  3. Select a layer type from the Layer type menu and click Create to add a new layer.

    Show full-size image

  4. Open the Library browser and drag the image you want projected into Schematic and attach it to the new layer you created.

  5. Display the Group Schematic by double-clicking the Reaction node or right-clicking the Reaction node and selecting Edit Group.

    Show full-size image

  6. Temporarily disconnect the layer type (bicubic in this case) node from the sub-graph.

    Show full-size image

  7. From the Tools tab, select Camera Mapping from the Reaction folder and drag it to the Group Schematic.

  8. Connect the Layer Geometry output to the Camera Mapping input.

  9. Connect the Camera Mapping Geometry output to the bicubic node.

    Show full-size image

  10. From the reaction folder, drag a second camera to the sub graph and connect its camera output to the Camaera Mapping node's Camera output.

    Show full-size image

  11. Adjust the Camera's Film Back, Position, Rotation and Pivot parameters.

Previous Next