home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 2555 / povhlp / bumps.hlp < prev    next >
Encoding:
Text File  |  1994-07-05  |  1.1 KB  |  23 lines

  1.     A smoothly rolling random pattern of bumps can be created with this nor-
  2.  mal pattern.  Bumps uses the same random noise function as the bozo and
  3.  spotted pigment patterns, but uses the derived value to perturb the surface
  4.  normal or, in other words, make the surface look bumpy.  This gives the im-
  5.  pression of a "bumpy" surface, random and irregular, sort of like an orange.
  6.  
  7.     After the bumps keyword, you supply a single floating point value for the
  8.  amount of surface perturbation.  Values typically range from 0.0 (No Bumps)
  9.  to 1.0 or greater (Extremely Bumpy).  For example:
  10.        sphere {
  11.           <0, 1, 2>, 2
  12.           texture {
  13.              pigment { color Yellow }
  14.              normal { bumps 0.4  scale 0.2 }
  15.              finish { phong 1 }
  16.           }
  17.        }
  18.  
  19.     This tells POV-Ray to use a bump pattern to modify the surface normal.
  20.  The value 0.4 controls the apparent depth of the bumps.  Usually the bumps
  21.  are about 1 unit wide which doesn't work very well with a sphere of radius
  22.  2.  The scale makes the bumps 1/5th as wide but does not affect their depth.
  23.