Functions | |
| void | Dolly_Camera (double right, double up, double in) |
| void | QDolly_Camera (const char *segment, double right, double up, double in) |
| void Dolly_Camera | ( | double | right, | |
| double | up, | |||
| double | in | |||
| ) |
One of a set of routines to manipulate one's point of view. "Dolly" moves the "camera" left and right, up and down, or in and out.
| right | - Distance to move the camera to the right. (Negative numbers move the camera to the left.) | |
| up | - Distance to raise the camera. (Negative numbers lower the camera.) | |
| in | - Distance to move the camera into the scene. (Negative numbers back the camera away.) |
Both Zoom_Camera() and Dolly_Camera() can be used to make what's in front of the camera appear larger. If you want to "focus in" on something without changing the "place you're standing", use Zoom_Camera() rather than Dolly_Camera() . If you want to "walk around" the thing you're looking at, and keep looking at it, use Orbit_Camera() . And if you want to look in a different direction, but not change where your feet are, use Pan_Camera() .
NOTE
If there is no Camera set up already in the segment, Dolly_Camera() will create a default camera (-1 to +1, etc.) and then dolly it. The owning segment's camera is ignored, so it's advisable to always do your camera work in the same segment.
| void QDolly_Camera | ( | const char * | segment, | |
| double | right, | |||
| double | up, | |||
| double | in | |||
| ) |
Similar to Dolly_Camera(), but operates on a given segment rather than the currently open one.
| segment | - Name of the segment(s) to be changed. "?Picture" is typi cally used. | |
| right | - Distance to move the camera to the right. (Negative numbers move the camera to the left.) | |
| up | - Distance to raise the camera. (Negative numbers lower the camera.) | |
| in | - Distance to move the camera into the scene. (Negative numbers back the camera away.) |