home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #7 / amigamamagazinepolishissue1998.iso / varia / povray3 / povray3_fpu / pov3demo / halo / multiple.pov < prev    next >
Text File  |  1997-12-12  |  902b  |  58 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, -40>
  13.    look_at <0, 0, 0>
  14. }
  15.  
  16. light_source { <40, 40, -40> colour White }
  17.  
  18. #declare Texture =
  19. texture {
  20.    pigment {colour Clear}
  21.    halo {
  22.       emitting
  23.       linear
  24.       cylindrical_mapping
  25.       max_value 1.0
  26.  
  27.       colour_map {
  28.          [ 0 color rgbt<1, 0, 0, 1.0> ]
  29.          [ 1 color rgbt<1, 1, 0, 0.8> ]
  30.       }
  31.  
  32.       scale 0.7
  33.       translate -0.5*x
  34.    }
  35.    halo {
  36.       emitting
  37.       linear
  38.       spherical_mapping
  39.       max_value 1.0
  40.       colour_map {
  41.          [ 0 color rgbt<1, 0, 0, 1.0> ]
  42.          [ 1 color rgbt<1, 1, 0, 0.8> ]
  43.       }
  44.       scale 0.7
  45.       translate 0.3*x
  46.    }
  47. }
  48.  
  49.  
  50. object {
  51.    Cube
  52.    hollow
  53.    texture { Texture }
  54.    scale 10
  55. }
  56.  
  57.  
  58.