VOS Object Type Definition

viewpoint

OTD #020; Revision 1.

Group: a3dl.

This object represents a viewpoint in 3D space. Viewpoint objects can be useful for providing suggested vangage points in a virtual world.

Authors

Reed Hedges, (reed @ interreality . org)

Child Objects

 

a3dl:position [property:property] (required.)

The position of the viewpoint in 3D space, relative to its parent object. The value is space-seperated vector of 3 double-precision floating point values, and should have type "text/x-vector/float".

 

a3dl:orientation [property:property] (required.)

The orientation of the viewpoint in 3D space, relative to its parent object. The value is space-seperated vector of 3 double-precision floating point values, and should have type "text/x-vector/float".

 

a3dl:fov [property:property] (optional.)

Suggested minimum field of view angle when viewing from this viewpoint. The value should be in radians. The type should be "text/x-float". One method of calculating the scaling for a rectangular display is: (displayWidth / displayHeight = tan(horizontalFOV / 2) / tan(verticalFOV / 2) ) where the smaller of displayWidth of displayHeight determines whether horizontalFOV = FOV or verticalFOV = FOV (FOV being the value of this property). (This is the method recommended by the VRML97 specification).

 

a3dl:title [property:property] (optional.)

A short text description of this viewpoint.

Messages

this type defines no new messages.

History of this document

Revision 0 (Thu Jun 20 15:06:52 EDT 2002):
Created [rh]
Revision 1 (Thu Dec 26 2002):
Added group prefix to subobjects and changed "property" type to "property:property". Merry Christmas.