home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / ply15dat.zip / SPHERE.PI < prev    next >
Text File  |  1992-08-24  |  476b  |  31 lines

  1. // Generic Polyray input File
  2. // Polyray input file: Alexander Enzmann
  3.  
  4. // Set up the camera
  5. viewpoint {
  6.    from <0,0,-8>
  7.    at <0,0,0>
  8.    up <0,1,0>
  9.    angle 45
  10.    hither 1
  11.    resolution 160, 160
  12.    }
  13.  
  14. background <0, 0, 0>
  15. light <-10,3, -20>
  16.  
  17. define shiny_red
  18. texture {
  19.    surface {
  20.       ambient red, 0.2
  21.       diffuse red, 0.8
  22.       specular white, 0.7
  23.       microfacet Reitz 10
  24.       }
  25.    }
  26.  
  27. object {
  28.    sphere <0, 0, 0>, 2
  29.    shiny_red
  30.    }
  31.