home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / simple / csg1.pi < prev    next >
Text File  |  1994-12-31  |  680b  |  33 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.    resolution 160, 160
  11.    }
  12.  
  13. background <0, 0, 0>
  14. light <-10, 10, -20>
  15. light < 10, 10, -20>
  16.  
  17. include "../colors.inc"
  18.  
  19. define white_marble
  20. texture { special shiny { color white_marble_map[marble_fn] } }
  21.  
  22. define red_marble
  23. texture { special shiny { color red_marble_map[marble_fn] } }
  24.  
  25. define jade
  26. texture { special shiny { color jade_color_map[marble_fn] } }
  27.  
  28. object {
  29.      object { sphere <0, 0, 0>, 2 white_marble }
  30.    - object { sphere <0, 0,-2>, 1.5 jade }
  31.    rotate <0, 10, 0>
  32.    }
  33.