home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 516.POOL.V < prev    next >
Text File  |  1992-02-15  |  1KB  |  54 lines

  1.  
  2. //      pool table image
  3.  
  4. #include color.vc
  5.  
  6. studio {
  7.     from -20 -10 15
  8.     at 6 0 1
  9.     up 0 0 1
  10.  
  11.     angle 30
  12.     res 640 480
  13.     antialias adaptive
  14.     threshold 2
  15.     aspect 4/3
  16.  
  17.     bkg black
  18.     ambient white * .2
  19. }
  20.  
  21. #define LIGHT_BRIGHT    (300)
  22. #define TYPE            point
  23.  
  24. light { type TYPE falloff 2 position -20 10 40 color white*LIGHT_BRIGHT }
  25. light { type TYPE falloff 2 position   0 10 40 color white*LIGHT_BRIGHT }
  26. light { type TYPE falloff 2 position  20 10 40 color white*LIGHT_BRIGHT }
  27. light { type TYPE falloff 2 position -20 -10 40 color white*LIGHT_BRIGHT }
  28. light { type TYPE falloff 2 position   0 -10 40 color white*LIGHT_BRIGHT }
  29. light { type TYPE falloff 2 position  20 -10 40 color white*LIGHT_BRIGHT }
  30.  
  31. //      felt
  32.  
  33. surf {
  34.     diff forest_green/2
  35.     fuzz 0.1
  36. }
  37. ring { center 0 0 0 normal 0 0 1 radius 1000 }
  38.  
  39. #include balls.vo
  40.  
  41. transform { rotate 0 0 35 translate 1 -4 0 }
  42. #include chalk.vo
  43. transform_pop
  44.  
  45. transform { rotate 0 -.434 0 translate 0 0 .25 }
  46. #include stick.vo
  47. transform_pop
  48.  
  49. surf { ambient red * 2 }
  50. transform { scale 4 rotate 0 0 -10 translate -50 -25 15 }
  51. #include vlogo.vo
  52. transform_pop
  53.  
  54.