Figure 27. Results from Material_Attribute.java, after changing the shininess parameter. The
display on the left has a shininess of 128, while that on the right has a shininess of 10.
Using an appearance object that references appropriate classes, the appearance of a geometry
object can be further refined and enhanced (Java 3D explorer, 2006). Important classes are
the attribute classes, material class and texture related classes.
The Sharing of appearance objects and the corresponding NodeComponent objects
are possible and should be carried out for faster rendering. The NodeComponent objects
discussed in this chapter are summarized in Figure 28.
Figure 28. Basic NodeComponent classes and their actions
Methods for rendering objects
Surface color under illumination
Search WWH ::