home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 525.BALL.V < prev    next >
Text File  |  1992-03-15  |  1KB  |  80 lines

  1.  
  2. //      Cluster of spheres intended to reproduce one of the test
  3. //      images included with RayShade.
  4.  
  5. #include color.vc
  6.  
  7. studio {
  8.     from 2.31 1.43 1.65
  9.     at 0 0 -0.1
  10.     up 0 0 1
  11.     angle 45
  12.     res 320 200
  13.     antialias adaptive
  14.     threshold 8
  15.     aspect 1.3333
  16.     background sky_blue
  17. }
  18.  
  19. light {
  20.     type point
  21.     falloff 0
  22.     position 4 3 2
  23.     color .3 .3 .3
  24. }
  25. light {
  26.     type point
  27.     falloff 0
  28.     position 1 -4 4
  29.     color .3 .3 .3
  30. }
  31. light {
  32.     type point
  33.     falloff 0
  34.     position -3 1 5
  35.     color .3 .3 .3
  36. }
  37.  
  38. surface {
  39.     amb 0.15 0.1 0.045
  40.     diffuse 1.0 0.75 0.33
  41. }
  42. ring {
  43.     center 0 0 -.5
  44.     normal 0 0 1
  45.     radius 20
  46. }
  47.  
  48. surface {
  49.     bump {
  50.         turbulence {
  51.             scale .025 .025 .025
  52.             amp .5
  53.             terms 5
  54.         }
  55.     }
  56.     amb 0.035 0.0325 0.025
  57.     diffuse 0.5 0.45 0.35
  58.     spec 0.4 0.4 0.4
  59.     shine 3
  60. }
  61. sphere { radius .5 center 0 0 0 }
  62.  
  63. surface {
  64.     amb 0.035 0.0325 0.025
  65.     diffuse 0.5 0.45 0.35
  66.     spec 0.4 0.4 0.4
  67.     shine 3
  68. }
  69.  
  70. sphere { radius 0.166667 center 0.272166 0.272166 0.544331 }
  71. sphere { radius 0.166667 center 0.643951 0.172546 0 }
  72. sphere { radius 0.166667 center 0.172546 0.643951 0 }
  73. sphere { radius 0.166667 center -0.371785 0.0996195 0.544331 }
  74. sphere { radius 0.166667 center -0.471405 0.471405 0 }
  75. sphere { radius 0.166667 center -0.643951 -0.172546 0 }
  76. sphere { radius 0.166667 center 0.0996195 -0.371785 0.544331 }
  77. sphere { radius 0.166667 center -0.172546 -0.643951 0 }
  78. sphere { radius 0.166667 center 0.471405 -0.471405 0 }
  79.  
  80.