GENREV(1)                                                            GENREV(1)



NNAAMMEE
       genrev - generate a RADIANCE description of surface of revolution

SSYYNNOOPPSSIISS
       ggeennrreevv mmaatt nnaammee ''zz((tt))'' ''rr((tt))'' nnsseegg [ --ee eexxpprr ][ --ff ffiillee ][ --ss ]

DDEESSCCRRIIPPTTIIOONN
       _G_e_n_r_e_v  produces  a  RADIANCE scene description of a surface of revolu-
       tion.  The object will be composed  of  _n_s_e_g  cones,  cups,  cylinders,
       tubes  or rings following the parametric curve defined by _z_(_t_) (height)
       and _r_(_t_) (radius).  When _z is increasing with  t,  the  surface  normal
       points  outward.   When _z is decreasing, the normal points inward.  The
       variable _t used in the function expressions varies from 0 to 1 in  even
       steps of _1_/_n_s_e_g_.  The expressions are of the same type used in RADIANCE
       function files.  Auxiliary expressions and/or files may be specified in
       any  number  of  _-_e and _-_f options.  The _-_s option smooths the surfaces
       using Phong normal interpolation.

EEXXAAMMPPLLEE
       To generate a torus with an inner radius of 1 and an outer radius of 3:

         genrev steel torus 'sin(2*PI*t)' '2+cos(2*PI*t)' 32

AAUUTTHHOORR
       Greg Ward

BBUUGGSS
       The -s option doesn't modify the surface normal correctly for the oppo-
       site side.

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



RADIANCE                           11/15/93                          GENREV(1)
