GENWORM(1)                                                          GENWORM(1)



NNAAMMEE
       genworm - generate a RADIANCE description of a functional worm

SSYYNNOOPPSSIISS
       ggeennwwoorrmm  mmaatt nnaammee ''xx((tt))'' ''yy((tt))'' ''zz((tt))'' ''rr((tt))'' nnsseegg [ --ee eexxpprr ][ --ff ffiillee
       ]

DDEESSCCRRIIPPTTIIOONN
       _G_e_n_w_o_r_m produces a RADIANCE scene description of a worm defined by  the
       parametric  equations  _x_(_t_)_, _y_(_t_)_, _z_(_t_)_, and _r_(_t_) (the radius).  _T will
       vary from 0 to 1 in steps of _1_/_n_s_e_g_.  The surface will be  composed  of
       _n_s_e_g cones or cylinders and _n_s_e_g_+_1 spheres.  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.

EEXXAAMMPPLLEE
       To generate a banana:

         genworm yellow banana '0' '5*sin(t)' '5*cos(t)' '.4-(.5-t)*(.5-t)' 20

AAUUTTHHOORR
       Greg Ward

BBUUGGSS
       Since the worm is constructed of  intersecting  surfaces,  only  opaque
       materials  should be used with this object.  Also, a worm cannot double
       back inside itself without making a mess.

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



RADIANCE                           11/15/93                         GENWORM(1)
