home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / INTERIOR / MEDIA / HOLLOW3.POV < prev    next >
Text File  |  1999-10-30  |  1KB  |  59 lines

  1. // Persistence Of Vision raytracer version 3.1 sample scene by Dieter Bayer.
  2. //
  3. // This scene shows a hollow, checkered sphere filled with fire.
  4. //
  5.  
  6. #include "colors.inc"
  7.  
  8. camera {
  9.   location <-1.5, 30, -150>
  10.   look_at <0, 25, 35>
  11.   angle 35
  12. }
  13.  
  14. background { color rgb<0.2, 0.4, 0.8> }
  15.  
  16. light_source { <100, 100, -200> color White }
  17.  
  18. plane { y, 0
  19.    pigment { NeonBlue }
  20.    finish {reflection 0.15}
  21.    hollow
  22. }
  23.  
  24. sphere { 0, 1
  25.   pigment {
  26.     checker YellowGreen, rgbt<1, 1, 1, 0.7>
  27.     scale <0.4, 0.5, 0.2>
  28.     rotate <90, 0, -90>
  29.   }
  30.   finish {
  31.     brilliance 8
  32.     phong 1
  33.     phong_size 100
  34.   }
  35.   interior {
  36.     media {
  37.       emission 0.05
  38.       intervals 10
  39.       samples 1, 10
  40.       confidence 0.9999
  41.       variance 1/1000
  42.       density {
  43.         spherical
  44.         ramp_wave
  45.         turbulence 1
  46.         color_map {
  47.           [0.0 color rgb <0, 0, 0>]
  48.           [0.1 color rgb <1, 0, 0>]
  49.           [1.0 color rgb <1, 1, 0>]
  50.         } 
  51.       }
  52.     }
  53.   }
  54.   scale 25
  55.   translate 25*y 
  56.   hollow
  57.  
  58.