home *** CD-ROM | disk | FTP | other *** search
/ ANews 3 / AnewsCD3.iso / atari / GRAPHX / POV / 68030.060 / POV31G30 / POVRAY_3.1G / SCENES / INTERIOR / MEDIA / GALAXY.POV next >
Text File  |  1999-10-30  |  773b  |  39 lines

  1. // Persistence Of Vision raytracer version 3.1 sample file.
  2. // Density_file pattern example
  3.  
  4. box{0,1
  5.  texture{
  6.    pigment{rgbt 1}
  7.  }
  8.    interior{
  9.      media{
  10.        emission 1
  11.        scattering{1,0.1}
  12.        intervals 10
  13.        samples 1, 15
  14.        confidence 0.9999
  15.        variance 1/1000
  16.        density{
  17.          density_file df3 "spiral.df3" interpolate 1
  18.          color_map{
  19.           [0    rgb 0]
  20.           [0.1  rgb <0.5,0.5,0.7>]
  21.           [0.5  rgb <1.0,0.5,0.7>]
  22.           [0.7  rgb <1.0,1.0,0.7>]
  23.           [1    rgb 1]
  24.          }
  25.        }
  26.      }
  27.    }
  28.    hollow
  29.    translate <-0.5,-0.5,-0.5>
  30.    scale <1,1,0.1>
  31.    scale 5
  32.    rotate <60,30,0>
  33. }
  34.  
  35. camera {direction z*2 location <0,0,-10>}
  36.  
  37.  
  38. light_source {<500,500,-500> rgb 1}
  39.