home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1995 January / pcw-0195.iso / polyray / dat / blobs / torblb.pi < prev   
Text File  |  1994-12-31  |  528b  |  27 lines

  1. // Toroidal blob test
  2.  
  3. viewpoint {
  4.    from  <0, 8, -8>
  5.    up    <0, 1, 0>
  6.    at    <0, 0, 0>
  7.    angle 20
  8.    resolution 256, 128
  9.    aspect 2
  10.    }
  11.  
  12. include "../colors.inc"
  13. light <-15, 10, -20>
  14. light < 15, 10, -20>
  15. background midnightblue
  16.  
  17. object {
  18.       blob 0.5:
  19.          sphere <-2, 0, 0>, 1, 0.8,
  20.          sphere < 2, 0, 0>, 1, 0.8,
  21.          sphere < 0, 0,-2>, 1, 0.8,
  22.          sphere < 0, 0, 2>, 1, 0.8,
  23.          torus  < 0, 0, 0>, <0, 1, 0>, 1, 1, 0.8
  24.       shiny_red
  25.       uv_steps 64, 64, 64
  26.    }
  27.