Sphere

DESCRIPTION

This module generates the geometry for a simple sphere. It provides controls over the size, position, color, complexity, drawing style, and lighting model of the sphere.

INPUTS

WIDGETS

Port: Radius
Type: Text

This is the radius of the sphere.

Port: Complexity
Type: Text

This is the complexity of the sphere. The complexity determines how many polygons are used to approximate its surface. The range is from 0 to 1.0. A value of .5 generates approximately 200 polygons.

Port: X Position
Type: Dial

This is the X coordinate of the sphere's center.

Port: Y Position
Type: Dial

This is the Y coordinate of the sphere's center.

Port: Z Position
Type: Dial

This is the Z coordinate of the sphere's center.

Port: Drawing Style
Type: Option Menu

This is the style used to draw the sphere:

   Filled    - The sphere is drawn as a solid (default setting).
   Wireframe - The sphere is drawn with only line segments.
   Points    - The sphere is drawn with only points.
   Invisible - The sphere is not drawn at all.

Port: Lighting Model
Type: Option Menu

This is the method used to light the sphere. The default is usually Phong lighting (specifiable in one's "~/.Renderrc" file), but flat lighting can also be set to make all of the sphere exactly the same color (i.e. no 3-D appearance).

Port: Red
Type: Slider

This is the red component of the sphere's color.

Port: Green
Type: Slider

This is the green component of the sphere's color.

Port: Blue
Type: Slider

This is the blue component of the sphere's color.

Port: Opacity
Type: Slider

This is the opacity component of the sphere's color.

OUTPUTS

Port: Geom
Type: Geometry

This is the generated geometry for the sphere.

KNOWN PROBLEMS

The module is currently limited to one sphere. Future enhancements might include provisions for multiple spheres rather than having to use multiple Sphere modules. There are no known bugs.

SEE ALSO

Render

Hans Vahlenkamp (hnv@gfdl.gov)
Geophysical Fluid Dynamics Laboratory/NOAA
Princeton University Forrestal Campus
http://www.gfdl.gov

[Documentation Home]