home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / texture / aatest.pi next >
Text File  |  1994-12-31  |  566b  |  35 lines

  1. viewpoint {
  2.    from <2, 3, -6>
  3.    at <0,0.5,0>
  4.    up <0,1,0>
  5.    angle 30
  6.    resolution 160, 120
  7.    aspect 4/3
  8.    // aperture 0.01
  9.    }
  10. background SkyBlue
  11. light <-15,30,-25>
  12.  
  13. define matte_white
  14. texture {
  15.    surface {
  16.       ambient white, 0.4
  17.       diffuse white, 0.6
  18.       }
  19.    }
  20.  
  21. define matte_black
  22. texture {
  23.    surface {
  24.       ambient black, 0.3
  25.       diffuse black, 0.2
  26.       }
  27.    }
  28.  
  29. // Create a ground plane
  30. object {
  31.    disc <0, 0, 0>, <0, 1, 0>, 1000
  32.    texture { checker matte_white, matte_black }
  33.    translate <0,-2.5,0>
  34.    }
  35.