CityEngine supports an arbitrary number of cameras. Multiple cameras are especially useful if you are working with more than one 3D Viewport window . Here are the predefined cameras:
- Perspective—Perspective view of the scene.
- Front—Front view of the scene (you look along the z-axis)
- Top—Top view of the scene (you look along the y-axis)
- Side—Side view of the scene (you look along the x-axis)
In addition to these predefined cameras, you can align the camera along a specific axis by pressing X, Y, or Z. While Y only orients the y-axis in the camera direction, X and Z also reorient the y-axis upward. This, in combination with switching between orthographic and perspective view (D,P), allows you to quickly walk through multiple views of your scene.
See cameras in the View settings tool for more information about the default cameras.
Access cameras
Cameras are accessible from the Window > New Viewport menu.
To manage cameras, do the following:
- Click Window > New Viewport > New Camera.
This creates a camera from the current view.
- Click Window > New Viewport > Manage Cameras or Edit > Preferences > General > Viewport > Cameras to manage and edit cameras.
The Camera preferences menu opens. You can add new cameras or edit current ones. Cameras can be shared across 3D viewports, meaning that if multiple 3D viewports use the same camera, changing the camera in one viewport (for example, by rotation) affects the second viewport with the same camera as well.
Configure cameras
Camera configurations have the following options:
- Perspective Projection View—Allows you to turn off perspective rendering
- Angle of view—The width of the field of view
- Position X, Y, Z—The position of the camera
- Tilt Angle—The rotation of the camera around the view direction
- Heading Angle—The rotation of the camera around up- axis