Example -- Dollying the Camera
In the camera metaphor, a dolly is a stage that enables movement of the camera side to side with respect to the scene. The
camdolly command implements similar behavior by moving both the position of the camera and the position of the camera target in unison (or just the camera position if you so desire).
This example illustrates how to use
camdolly to explore different regions of an image.
Summary of Techniques
ginputto obtain the coordinates of locations on the image
datacoordinates option to move the camera and target to the new position based on coordinates obtained from
camvato zoom in and to fix the camera view angle, which is otherwise under automatic control
First load the Cape Cod image and zoom in by setting the camera view angle (using
ginput to select the x- and y-coordinates of the camera target and camera position.
|Camera Graphics Functions||Example -- Moving the Camera Through a Scene|