The problem here is that the isA field can have several strings,
blueGlass {
isA "Material"
The above is not an unreasonable requirement for defining new nodes.
representing several alternative representations of the node. These need
not be nodes understood by
remaining fields. Just imagine how complex thi
specify the fields used in thi
etc., because you're not setting those. So the proper format for the
above is:
fields [ MFString isA,
MFFloat refractiveIndex,
MFColor diffuseColor ]
refractiveIndex 1.1
diffuseColor 0 0 1
}
--
chris marrin Silicon http://www.sgi.com/Products/WebFORCE/WebSpace
(415) 390-5367 Graphics http://reality.sgi.com/employees/cmarrin/
[email protected] Inc.
"A