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

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