home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 4 / star.pov < prev    next >
Text File  |  1994-07-19  |  1KB  |  43 lines

  1.  
  2.  // POV-Ray scene file by Jim Burton
  3.  // Starfield sky
  4.  // Converted to POV-Ray 2.0 by Dan Farmer
  5.  // This starfield not only holds its own with antialiasing, but really
  6.  // looks better with it. (tested @ 640x480 +a0.2 +r3  --dmf)
  7.  #include "colors.inc"
  8.  #include "textures.inc"
  9.  
  10.  camera {
  11.      location <0, 0, -10>
  12.      direction z
  13.      up y
  14.      right x*1.33
  15.      look_at <0 0 0>
  16.  }
  17.  
  18.  light_source {<0, 0, -300> color White }
  19.  light_source {<0, 0, -150> color White }
  20.  
  21.  
  22.  //  This is the star field texture mapped onto a plane.
  23.  sphere { <0,0,0>, 1
  24.      texture {
  25.          finish { ambient 1 }
  26.          pigment {
  27.              granite  // Can also use marble and leopard for other effects
  28.              color_map {
  29.                  [ 0.00  0.72 color Black  color Black ]  // No Stars in this ar
  30.                  [ 0.72  0.75 color Gray20 color Gray40 ] // Very Very Faint Sta
  31.                  [ 0.75  0.78 color Gray40 color Gray60 ] // Very Faint Stars
  32.                  [ 0.78  0.81 color Gray60 color Gray80 ] // Faint Stars
  33.                  [ 0.81  0.85 color Gray80 color Gray95 ] // Medium White Stars
  34.                  [ 0.85  0.91 color Gray95 color White  ] // White Stars
  35.                  [ 0.91  1.00 color Black  color Black ]  // No Stars in this ar
  36.              }
  37.              scale .015
  38.          }
  39.      }
  40.      scale 10000
  41.  }
  42.  
  43.