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

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