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