[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Points are supported in 3Delight through the standard RenderMan Points
primitive. Points' size is controlled using either "width"
or "constantwidth"
variable (RI_WIDTH
or RI_CONSTANTWIDTH
in the API).
The way 3Delight renders points is selectable during primitive declaration using the "uniform string type"
variable which can take two values: `sphere' or `disk'. Default is `sphere'.
EXAMPLE
WorldBegin Translate 0 0 10 Color 1 1 1 TransformBegin Rotate -30 0 1 0 Rotate 60 1 0 0 Scale 0.3 0.3 0.3 # Render some points using the 'sphere' primitive ... Points "P" [ -3 2 1 3 2 1 -3 0 1 -1 0 1 1 0 1 3 0 1 -1 -4 1 1 -4 1 -3 2 -1 3 2 -1 -3 0 -1 -1 0 -1 1 0 -1 3 0 -1 -1 -4 -1 1 -4 -1 ] "constantwidth" [0.2] "uniform string type" "sphere" TransformEnd WorldEnd |