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

  1. // Persistence Of Vision raytracer version 3.0 sample file.
  2. // File by Dieter Bayer
  3.  
  4. #version 3.0
  5. global_settings { assumed_gamma 2.2 }
  6.  
  7. #include "colors.inc"
  8. #include "shapes.inc"
  9. #include "textures.inc"
  10.  
  11. camera {
  12.    location <0.0, 0.0, 40.0>
  13.    direction <0, 0, 1>
  14.    up <0.0, 1.0, 0.0>
  15.    right <1.0, 0.0, 0.0>
  16.    look_at <0.0,0.0, 0.0>
  17. }
  18.  
  19. light_source{ <10,10,30>
  20.    colour Red
  21.    spotlight
  22.    point_at <0,0,0>
  23.    radius 1
  24.    falloff 15
  25. }
  26. light_source{ <-5,0,30>
  27.    colour Green
  28.    spotlight
  29.    point_at <3,0,0>
  30.    radius 1
  31.    falloff 15
  32. }
  33. light_source{ <5,-10,30>
  34.    colour Blue
  35.    spotlight
  36.    point_at <0,0,0>
  37.    radius 1
  38.    falloff 15
  39. }
  40.  
  41. #declare Textur =
  42. texture {
  43.    pigment {colour Clear}
  44.    finish {refraction 1 }
  45.    halo {
  46.       constant
  47.       max_value 1.0
  48.       exponent 0.5
  49.       dust
  50.       dust_type 2
  51.       colour_map {
  52.          [0.0 color rgbf <1.0,0.0,0.0,0.0> ]
  53.          [1.0 color rgbf <1.0,0.0,0.0,0.6> ]
  54.       }
  55.    }
  56. }
  57.  
  58.  
  59. object{ Cube hollow texture{ Textur } scale <30,30,30> }
  60.  
  61.