VOS Object Type Definition

object3D.MATERIALINFO

OTD #015; Revision 1.

Group: a3dl.

Extends: a3dl:object3D

This object type is never used directly. Instead, it provides properties used by various other object3D.* types to define material information (color, lighting attributes, textures, etc.) TODO: specular and emissive color... shininess... transparency...

Authors

Peter Amstutz, (tetron @ interreality . org)

Child Objects

 

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

Contains basic material. If the value of this property is of type "text/x-vector-float" then the material is a simple RGB color. The first value is red component, the next is the green, and the last is the blue, each value ranging from 0 (no color) to 1 (full color). If the value is an image (the datatype begins with "image/"), then that image should be used for the texture.

Messages

this type defines no new messages.

History of this document

Revision 0 (Sat Apr 27 2002):
Created [rh]
Revision 1 ():
Changed material color datatype from hex triplet to float vector. This change breaks compatability, but at this stage it's pretty low impact (liba3dl and terangreal have been changed to support the change)
Revision 1 (Thu Dec 26 2002):
Added group prefix to subobjects. Merry Christmas.