VOS Object Type Definition

object3D

OTD #002; Revision 1.

Group: a3dl.

Base object type for 3D objects: provides position, orientation and scaling properties. These three properties define a transformation for this 3D object and its child objects.

Authors

Peter Amstutz, (tetron @ interreality . org)

Child Objects

 

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

Position or translation of this object relative to the origin of its parent 3D object or space. This property contains three floating point numbers (X, Y and Z), seperated by whitespace. The datatype should be "text/x-vector-float".

 

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

Orientation or rotation of this object relative to the orientation of its parent 3D object or space. This property contains four floating point numbers, seperated by whitespace. The first three numbers define the axis of rotation. The fourth number is the clockwise rotation (degrees) around that axis. For example, a value of "0 1 0 20" indicates a 20 degree rotation around an axis pointing straight up. The datatype should be "text/x-vector-float".

 

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

Scaling or size of this object relative to the size of its parent 3D object or space. This property contains three floating point numbers (X, Y and Z), seperated by whitespace. The datatype should be "text/x-vector/float". All objects under the same 3D object or space with the same scaling value should be rendered at the same size (regardless of the vertex values of the model/shape/geometry itself).

Messages

this type defines no new messages.

History of this document

Revision 0 (Sat Apr 27 2002):
Created [rh]
Revision 1 (Thu Dec 26 2002):
Added group prefix to subobjects and changed "property" type to "property:property". Merry Christmas.