home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 2 / crawlyvol2.bin / graphics / ftpovscn / 1 / mapper.pov < prev    next >
Text File  |  1992-07-21  |  1KB  |  57 lines

  1. // Persistence Of Vision raytracer version 1.0 sample file.
  2.  
  3. // POV-Ray sample image mapper scene file 
  4. // by Alexander Enzmann
  5. // NOTE: Requires "test.gif"
  6.  
  7.  
  8.  
  9. #include "shapes.inc"
  10. #include "colors.inc"
  11.  
  12. #declare Bi = 2
  13.  
  14. #declare Texture0 = /* Planar image map */
  15. texture { image_map { 0 gif "test.gif" once interpolate Bi } }
  16.  
  17. #declare Texture1 = /* Spherical image map */
  18. texture { image_map { 1 gif "test.gif" interpolate Bi } }
  19.  
  20.  
  21. object {
  22.    quadric { Ellipsoid }
  23.    texture { Texture1 }
  24.    scale <10 10 10> 
  25.    rotate <0 -90 0>
  26.    translate <-10 0 0>
  27.    color Red
  28. }
  29.  
  30. object {
  31.    plane { <0 0 1> 0 }
  32.    clipped_by {
  33.       box { <0 0 -1> <1 1 1> }
  34.    }
  35.    texture { Texture0 }
  36.    translate <-0.5 -0.5 0>
  37.    scale <2 2 2>
  38.    scale <10 10 10>
  39.    rotate <20 30 0>
  40.    translate <10 0 0>
  41.    color Red
  42. }
  43.  
  44. camera {
  45.    location  <0.0  0.0 -90.0>
  46.    direction <0.0  0.0  1>
  47.    up        <0.0  0.5  0.0>
  48.    right     <0.6666 0.0  0.0>
  49.    look_at <0 0 0>
  50. }
  51.  
  52. object {
  53.    light_source { <0 300 -200>
  54.       colour White
  55.    }
  56. }
  57.