home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / atmos / hollow3.pov < prev    next >
Text File  |  1997-12-12  |  917b  |  55 lines

  1. //
  2. // Persistence Of Vision raytracer version 3.0 sample scene by Dieter Bayer.
  3. //
  4. // This scene shows a hollow, checkered sphere filled with fire.
  5. //
  6.  
  7. #global_settings { assumed_gamma 2.2 }
  8.  
  9. #include "colors.inc"
  10.  
  11. camera {
  12.   location <-1.5, 30, -150>
  13.   look_at <0, 25, 35>
  14.   angle 33
  15. }
  16.  
  17. background { color rgb<0.2, 0.4, 0.8> }
  18.  
  19. light_source { <100, 100, -200> colour White }
  20.  
  21. plane { <0, 1, 0>, 0
  22.    pigment { NeonBlue }
  23.    finish {reflection 0.15}
  24.    hollow
  25. }
  26.  
  27. sphere { 0, 1
  28.   pigment {
  29.     checker colour YellowGreen colour rgbt<1, 1, 1, 0.7>
  30.     quick_color White
  31.     scale <0.4, 0.5, 0.2>
  32.     rotate <90, 0, -90>
  33.   }
  34.   finish {
  35.     brilliance 8
  36.     phong 1
  37.     phong_size 100
  38.   }
  39.   halo {
  40.     emitting
  41.     spherical_mapping
  42.     linear
  43.     turbulence 1
  44.     colour_map {
  45.       [ 0 color rgbt <1, 0, 0,   1> ]
  46.       [ 1 color rgbt <1, 1, 0, -10> ]
  47.     } 
  48.     samples 5
  49.   }
  50.   scale 25
  51.   translate 25*y 
  52.   hollow
  53.  
  54.