< Zurück | Inhalt | Weiter >

9.6 PointAttributes

java.lang.Object

|

+−−javax.media.j3d.SceneGraphObject

|

+−−javax.media.j3d.NodeComponent

|

+−−javax.media.j3d.PointAttributes


Table 9.4 Capability bits for PointAttributes class


ANTIALIASING

SIZE

OpenGL Reference: glPointSize, GL_POINT_SMOOTH

The PointAttributes class specifies rendering information for rendered points (table 9.4).

PointAttributes encapsulates two appearance properties:


ANTIALIASING: Boolean to specify whether points are antialiased

SIZE: The size of each point in pixels


If antialiasing is enabled, points are rendered as circular; if antialiasing is disabled, points are rendered as square (size pixels by size pixels) as shown in figures 9.8 and 9.9.

image


Figure 9.8 An array of colored points of size 8 pixels with antialiasing


image


Figure 9.9 The same as in figure 9.8 but without antialiasing set in the PointAttributes



 

NOTE