Simply Spherical
Node
Sphere • Attributes
Description
Four spheres with three smaller spheres orbiting the largest one.
VRIGNETTE Notes
You can only get bigger or smaller spheres. If you need a circular shape in 2D, use Circle2D.
Example
Rotate the vrignette to view the geometry.
Code
<x3d> <scene> <worldInfo title="X3D Sphere Example"> </worldInfo> <navigationInfo headlight="true"> </navigationInfo> <viewpoint position="0.0 1.0 20.0"> </viewpoint> <shape> <appearance> <material diffuseColor="0.30 0.30 0.90" specularColor="0.15 0.15 0.15" shininess="0.15"> </material> </appearance> <sphere radius="2.5" solid="false"> </sphere> </shape> <transform translation="-5.0 0.0 0.0"> <shape> <appearance> <material diffuseColor="0.90 0.30 0.30" specularColor="0.15 0.15 0.15" shininess="0.15"> </material> </appearance> <sphere radius="1.0" solid="false"> </sphere> </transform> <transform translation="5.0 0.0 0.0"> <shape> <appearance> <material diffuseColor="0.30 0.90 0.30" specularColor="0.15 0.15 0.15" shininess="0.15"> </material> </appearance> <sphere radius="1.5" solid="false"> </sphere> </transform> <background skyColor="0.20 0.20 0.20" groundColor="0.20 0.20 0.20"> </background> </scene> </x3d>