Appearance (cont...)VRML Material Example
#VRML V2.0 utf8
Group {
children [
...
Shape {
appearance Appearance {
material Material {
diffuseColor 0.22 0.15 0.0
specularColor 0.71 0.70 0.56
emissiveColor 0.0 0.0 0.0
ambientIntensity 0.4
shininess 0.16
transparency 0.0
}
}
geometry Box {
size 2.0 2.0 2.0
}
}
]
}
|