GENPRISM(1)                                                        GENPRISM(1)



NNAAMMEE
       genprism - generate a RADIANCE description of a prism

SSYYNNOOPPSSIISS
       ggeennpprriissmm mmaatt nnaammee { -- | vvffiillee | NN vv11 vv22 .... vvNN } [ --ll llvveecctt ][ --rr rraaddiiuuss
       ][ --cc ][ --ee ]

DDEESSCCRRIIPPTTIIOONN
       _G_e_n_p_r_i_s_m produces a RADIANCE scene description of a prism, or  extruded
       polygon.   The  polygon to extrude lies in the z==0 plane, and is given
       as a list of (x,y) pairs on the standard input (-), or  from  the  file
       _v_f_i_l_e_,  or  on  the command line preceded by the number of vertices, _N_.
       The order of the vertices  and  the  extrusion  vector  _l_v_e_c_t  (default
       (0,0,1)) determine the surface orientations.  The surfaces that make up
       the prism will be modified by _m_a_t and their identifiers will begin with
       _n_a_m_e_.   The  _-_r  option  may be used to round the corners of the object
       using spheres and cylinders.  The _-_c option inhibits  generation  of  a
       face  connecting  the last vertex to the first.  The _-_e option inhibits
       generation of the end polygons.

EEXXAAMMPPLLEE
       To produce a equilateral triangular prism:

         genprism clear_plastic prism 3 0 0 .5 .866 1 0

AAUUTTHHOORR
       Greg Ward

BBUUGGSS
       The rounding option only works for opaque prisms  with  outward  facing
       normals.  If the normals face inward, the appearance will be bizarre.

SSEEEE AALLSSOO
       genbox(1),   genrev(1),   gensurf(1),   genworm(1),  rpict(1),  rvu(1),
       xform(1)



RADIANCE                            3/19/96                        GENPRISM(1)
