home *** CD-ROM | disk | FTP | other *** search
/ Ray Tracing Box / RAY_CD.mdf / raytrace / _pov_dat / decset / stripes.pov < prev   
Text File  |  1994-01-19  |  1KB  |  45 lines

  1. //This is the .pov file used to render the striped image used in the image_map
  2. //in the main scene file. I used it to do the toroidal maps on the lip-wraps.
  3.  
  4.  
  5. #include "colors.inc"
  6. #include "shapes.inc"
  7. #include "textures.inc"
  8.  
  9. camera {  //  Camera Camera01
  10.   location  <0.000, 0.000, -13.000>
  11.   direction <0.0,     0.0,  2.4880>
  12.   sky       <0.0,     1.0,  0.0>
  13.   up        <0.0,     1.0,  0.0>
  14.   right     <1.3333,  0.0,  0.0>
  15.   look_at   <0.000, 0.000, 0.000>
  16. }
  17.  
  18. object {   // Light source SpotL001
  19.   light_source {
  20.     <0, 10, -20>
  21.     color  red 1.000 green 1.000 blue 1.000
  22.   }
  23. }
  24.  
  25. object {
  26.   plane { z*-1 0 } 
  27.   texture {
  28.     pigment {
  29.     gradient x
  30.       color_map {
  31.         [0.0 0.25 color Red color Red]
  32.         [0.25 0.5 color LightBlue5 color LightBlue5]
  33.         [0.5 0.75 color Red color Red]
  34.         [0.75 1.0 color LightBlue5 color LightBlue5]
  35.       }
  36.      frequency 3 //lower values make broader stripes
  37.      rotate <0, 0, -22.2> //this value is critical - do not change
  38.      }
  39.     finish {
  40.       ambient 1.0
  41.       diffuse 0.0
  42.    }
  43.   }
  44.   translate <10, 0, 0>  //needed to move "seam" of map off screen
  45. }