home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / surfaces / mt-blob2.pov < prev    next >
Text File  |  1997-12-12  |  876b  |  47 lines

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // File by Dieter Bayer
  3. // Multi-textured blob components example
  4.  
  5. #version 3.0
  6. global_settings { assumed_gamma 2.2 }
  7.  
  8. #include "colors.inc"
  9. #include "textures.inc"
  10.  
  11. camera {
  12.   location  <0, 3, -6>
  13.   right <4/3, 0, 0>
  14.   direction <0, 0, 1.9>
  15.   look_at   <0, 0, 0>
  16. }
  17.  
  18. light_source { <-15,  30, -25> color Gray80 }
  19. light_source { < 15,  30, -25> color Gray80 }
  20.  
  21. blob {
  22.   threshold 0.6
  23.  
  24.   sphere { <0.75, 0, 0>, 1.0 strength 1.0
  25.     pigment { White_Marble scale 0.5 }
  26.   }
  27.  
  28.   sphere { <-0.375, 0.64952, 0>, 1.0 strength 1.0
  29.     pigment { Blue_Agate scale 0.5 }
  30.   }
  31.  
  32.   sphere { <-0.375, -0.64952, 0>, 1.0 strength 1.0
  33.     pigment { Jade scale 0.5 }
  34.   }
  35.   rotate 30*y
  36. }
  37.  
  38. disc {
  39.   <0, 0, 0>, <0, 1, 0>, 1000
  40.  
  41.   pigment { checker colour White colour Black }
  42.   finish { ambient 0.1 diffuse 0.7 }
  43.  
  44.   translate <0, -2.5, 0>
  45. }
  46.  
  47.