home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 522.AXIS.V < prev    next >
Text File  |  1992-03-15  |  2KB  |  82 lines

  1.  
  2. //      coordinate axes with labels
  3.  
  4. #include color.vc
  5.  
  6. studio {
  7.     from 60 -100 55
  8.     at 15 0 15
  9.     up 0 0 1
  10.     angle 35
  11.     res 320 200
  12.     aspect 4/3
  13.     antialias adaptive
  14.     threshold 4
  15.     bkg black
  16.     ambient white * .1
  17. }
  18. light { type point falloff 1 position -100 -100 100 color white * 25 }
  19. light { type point falloff 1 position  100 -100 100 color white * 25 }
  20. light { type point falloff 1 position -100  100 100 color white * 25 }
  21. light { type point falloff 1 position  100  100 100 color white * 25 }
  22.  
  23. surface { diff plum }
  24.  
  25. ring {
  26.     location 0 0 -6
  27.     normal 0 0 1
  28.     radius 5000
  29. }
  30.  
  31. surface { diff red shine 20 .5 .5 .5 }
  32. //      arrow
  33. cone { apex 0 0 0 base 25 0 0 apex_radius 1 base_radius 1 }
  34. cone { apex 25 0 0 base 27 0 0 apex_radius 1 base_radius 5 }
  35. cone { apex 27 0 0 base 35 0 0 apex_radius 5 base_radius 0 }
  36. //      X
  37. sphere { center 35 5 0 radius 1 }
  38. sphere { center 42 5 0 radius 1 }
  39. sphere { center 35 5 10 radius 1 }
  40. sphere { center 42 5 10 radius 1 }
  41. cone { apex 35 5 0 apex_radius 1
  42.      base 42 5 10 base_radius 1 }
  43. cone { apex 35 5 10 apex_radius 1
  44.      base 42 5 0 base_radius 1 }
  45.  
  46. surface { diff green shine 20 .5 .5 .5 }
  47. //      arrow
  48. cone { apex 0 0 0 base 0 25 0 apex_radius 1 base_radius 1 }
  49. cone { apex 0 25 0 base 0 27 0 apex_radius 1 base_radius 5 }
  50. cone { apex 0 27 0 base 0 35 0 apex_radius 5 base_radius 0 }
  51. //      Y
  52. sphere { center 5 35 10 radius 1 }
  53. sphere { center 12 35 10 radius 1 }
  54. sphere { center 8.5 35 0 radius 1 }
  55. cone { apex 8.5 35 5 base 5 35 10 apex_radius 1 base_radius 1 }
  56. cone { apex 8.5 35 5 base 12 35 10 apex_radius 1 base_radius 1 }
  57. cone { apex 8.5 35 5 base 8.5 35 0 apex_radius 1 base_radius 1 }
  58.  
  59. surface { diff blue shine 20 .5 .5 .5 }
  60. //      arrow
  61. cone { apex 0 0 0 base 0 0 25 apex_radius 1 base_radius 1 }
  62. cone { apex 0 0 25 base 0 0 27 apex_radius 1 base_radius 5 }
  63. cone { apex 0 0 27 base 0 0 35 apex_radius 5 base_radius 0 }
  64. //      Z
  65. sphere { center -5 -5 25 radius 1 }
  66. sphere { center -12 -5 25 radius 1 }
  67. sphere { center -5 -5 35 radius 1 }
  68. sphere { center -12 -5 35 radius 1 }
  69. cone { apex -5 -5 35 base -12 -5 25 apex_radius 1 base_radius 1 }
  70. cone { apex -5 -5 35 base -12 -5 35 apex_radius 1 base_radius 1 }
  71. cone { apex -5 -5 25 base -12 -5 25 apex_radius 1 base_radius 1 }
  72.  
  73. surf {
  74.     diff steel_blue
  75.     spec .5 .5 .5
  76.     shine 30
  77. }
  78.  
  79. //      sphere { center 35 35 35 radius 20 }
  80.  
  81.  
  82.