field SFFloat radius 1 # (0,∞)
The Sphere node specifies a sphere centred at (0, 0, 0) in the local coordinate
system. The radius field specifies the radius of the sphere and shall
be greater than zero. Figure 6.15 depicts the fields of the Sphere node.
When a texture is applied to a sphere, the texture covers the entire surface,
wrapping counterclockwise from the back of the sphere (i.e.,
longitudinal arc intersecting the -Z-axis) when viewed from the top of the sphere. The texture has a seam at the back where the X=0 plane
intersects the sphere and Z values are negative. TextureTransform affects the texture coordinates of the Sphere.
The Sphere node's geometry requires outside faces only. When viewed from the inside the results are undefined.
stores a sphere
|Classes written for this program||Java3D classes (scene graph structure)|
field SFloat radius 1