Table of contents Chapter index Previous slide Next slide 81
A sample world using appearance

Controlling appearance with materials
A sample world using appearance
Shape {

    appearance Appearance {

        material Material {

            diffuseColor  0.2 0.2 0.2

            emissiveColor 0.0 0.0 0.8

            transparency  0.25

        }

    }

    geometry Box {

        size 2.0 4.0 0.3

    }

}

. . .