VRML_CAMERA Procedure
Positions a VRML camera for rendering a VRML view.
Usage
VRML_CAMERA, position
Input Parameters
position—A 3-element array specifying the camera position coordinates.
Keywords
FocalLength—Camera focal length. (Default: 5)
LookAt—A 3-element array (x, y, z) of a target location used to calculate the camera orientation. (Default: [0, 0, 0])
ViewAngle—The viewing angle (field of view) in degrees. (Default: 45)
Discussion
A viewpoint, or camera, is a predefined viewing position and orientation in a VRML world. You can specify the location and viewing direction of the viewpoint using the VRML_CAMERA procedure.
See Also
VRML_LIGHT, VRML_OPEN, VRML_SPOTLIGHT
For a discussion of VRML cameras, see The VRML Sourcebook, by Andrea L. Ames, et al., John Wiley & Sons, Inc., 1996, Chapter 22.