Renders a given list ofpolygons.
TIP: To obtain device coordinates from data coordinates, use the POLY_NORM, POLY_TRANS, and POLY_DEV functions, in that order.
For more information on the above two parameters, see Vertex Lists and Polygon Lists in Chapter 7 of the PV-WAVE User's Guide.
pg_num The total number of polygons to plot.
NOTE: The winx and winy parameters are ignored if the Image keyword is present.
255 | Fill the first polygon with color 255. |
200 | Fill the second polygon with color 200. |
-1 | Don't fill the third polygon. |
0 | Fill the fourth polygon with color 0. |
To suppress the plotting of polygon edges, set edge_colors to -1.
NOTE: Polygon edges are not plotted if the Image keyword is present.
NOTE: The Image keyword must be used for poly_opaque to take effect.
ZClip If this keyword is present and nonzero, then polygons that do not have at least one vertex in front of the view point are not plotted.
For other examples, see the
sphere_demo2
, sphere_demo3
, and vol_demo4
demonstration programs in:
wavedir/demo/arl
wavedir:[DEMO.ARL]
wavedir\demo\arl
wavedir
is the main PV-WAVE directory.