Functions | |
void | Zoom_Camera (double zoom) |
void | DZoom_Camera (double zoom) |
void Zoom_Camera | ( | double | zoom | ) |
Narrows or enlarges the viewing field of the camera.
zoom | - The relative change in the width of the field of view. A factor of 2 will zoom in until the viewing field is half as wide as it was. A factor of 0.5 will zoom out the same amount. |
If the factors involved are small, Zooming is visually similar to Dollying in or out of the scene. But if the factors are large, you need to think about which you want---dollying will cause objects that were right in front of you to move past you, but zooming will change the perspective effect in the scene and might be disconcerting.
void DZoom_Camera | ( | double | zoom | ) |
Similar to Zoom_Camera, but operates on a double precision camera.
zoom | - The relative change in the width of the field of view. A factor of 2 will zoom in until the viewing field is half as wide as it was. A factor of 0.5 will zoom out the same amount. |