Rendering with Standard Techniques
Once you have imported, generated, and set up your data for viewing, you are ready to render it. PV‑WAVE provides routines to render both polygons and volumes. This section briefly describes these rendering routines, which are part of the standard library. For additional information on these routines, see the PV‑WAVE Reference.
Polygon Rendering
The two polygon rendering routines are POLY_PLOT and POLYSHADE:
POLY_PLOT—This procedure requires a
vertex_list, a
polygon_list, and the total number of polygons to plot. The procedure does not render polygons with light-source shading, but it can plot opaque and transparent polygons.
POLYSHADE—This function constructs a shaded surface representation of one or more solids described by a set of polygons. This function also requires a
vertex_list and a
polygon_list.
Volume Rendering
A volume of data consists of intensity values represented at data points located by three-dimensional coordinates. There are three routines for rendering volumes.
VECTOR_FIELD3—This procedure plots a three-dimensional vector field from three 3D arrays.
VOL_MARKER—This procedure displays colored markers scattered throughout a volume.
VOL_REND—This function renders volumetric data translucently.