home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / video / render / radiance.lzh / ray / doc / cat1 / genrev.doc < prev    next >
Encoding:
Text File  |  1991-11-24  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. GENREV(1)                USER COMMANDS                  GENREV(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      genrev - generate a RADIANCE description of surface of revo-
  10.      lution
  11.  
  12. SYNOPSIS
  13.      genrev mat name 'z(t)' 'r(t)' nseg [ -e expr ][ -f  file  ][
  14.      -s ]
  15.  
  16. DESCRIPTION
  17.      Genrev produces a RADIANCE scene description of a surface of
  18.      revolution.   The  object  will  be  composed of nseg cones,
  19.      cups, cylinders, tubes or  rings  following  the  parametric
  20.      curve defined by z(t) (height) and r(t) (radius).  When z is
  21.      increasing with t, the surface normal points outward.   When
  22.      z  is  decreasing, the normal points inward.  The variable t
  23.      used in the function expressions varies from 0 to 1 in  even
  24.      steps  of  1/nseg. The expressions are of the same type used
  25.      in RADIANCE function files.   Auxiliary  expressions  and/or
  26.      files  may  be specified in any number of -e and -f options.
  27.      The -s option smooths the surfaces using Phong normal inter-
  28.      polation.
  29.  
  30. EXAMPLE
  31.      To generate a torus with an inner radius of 1 and  an  outer
  32.      radius of 3:
  33.  
  34.        genrev steel torus 'sin(2*PI*t)' '1+cos(2*PI*t)' 32
  35.  
  36. AUTHOR
  37.      Greg Ward
  38.  
  39. BUGS
  40.      The -s option doesn't modify the  surface  normal  correctly
  41.      for the opposite side.
  42.  
  43. SEE ALSO
  44.      calc(1),  genbox(1),   gensurf(1),   genworm(1),   rpict(1),
  45.      rview(1), xform(1)
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sun Release 4.1           Last change:                          1
  64.  
  65.  
  66.  
  67.