home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwwin / triadw.rw_ / triadw.bin
Text File  |  1995-11-14  |  5KB  |  189 lines

  1. #world coordinate system triad
  2. ModelBegin
  3.  
  4.     ProtoBegin X
  5.         Vertex -4 6  -1
  6.         Vertex -2 6  -1
  7.         Vertex 0  2  -1
  8.         Vertex 2  6  -1
  9.         Vertex 4  6  -1
  10.         Vertex 1  0  -1
  11.         Vertex 4  -6 -1
  12.         Vertex 2  -6 -1
  13.         Vertex 0  -2 -1
  14.         Vertex -2 -6 -1
  15.         Vertex -4 -6 -1
  16.         Vertex -1 0  -1
  17.         Vertex -4 6  1
  18.         Vertex -2 6  1
  19.         Vertex 0  2  1
  20.         Vertex 2  6  1
  21.         Vertex 4  6  1
  22.         Vertex 1  0  1
  23.         Vertex 4  -6 1
  24.         Vertex 2  -6 1
  25.         Vertex 0  -2 1
  26.         Vertex -2 -6 1
  27.         Vertex -4 -6 1
  28.         Vertex -1 0  1
  29.         LightSampling Facet
  30.         Polygon 12 1 2 3 4 5 6 7 8 9 10 11 12
  31.         Polygon 12 24 23 22 21 20 19 18 17 16 15 14 13
  32.         Quad 13 14 2 1
  33.         Quad 14 15 3 2
  34.         Quad 15 16 4 3
  35.         Quad 16 17 5 4
  36.         Quad 17 18 6 5
  37.         Quad 18 19 7 6
  38.         Quad 19 20 8 7
  39.         Quad 20 21 9 8
  40.         Quad 21 22 10 9
  41.         Quad 22 23 11 10
  42.         Quad 23 24 12 11
  43.         Quad 24 13 1 12
  44.     ProtoEnd
  45.  
  46.     ProtoBegin Y
  47.         Vertex -4 6  -1
  48.         Vertex -2 6  -1
  49.         Vertex 0  2  -1
  50.         Vertex 2  6  -1
  51.         Vertex 4  6  -1
  52.         Vertex 1  0  -1
  53.         Vertex 1  -6 -1
  54.         Vertex -1 -6 -1
  55.         Vertex -1 0  -1
  56.         Vertex -4 6  1
  57.         Vertex -2 6  1
  58.         Vertex 0  2  1
  59.         Vertex 2  6  1
  60.         Vertex 4  6  1
  61.         Vertex 1  0  1
  62.         Vertex 1  -6 1
  63.         Vertex -1 -6 1
  64.         Vertex -1 0  1
  65.         LightSampling Facet
  66.         Polygon 9 1 2 3 4 5 6 7 8 9
  67.         Polygon 9 18 17 16 15 14 13 12 11 10
  68.         Quad 10 11 2 1
  69.         Quad 11 12 3 2
  70.         Quad 12 13 4 3
  71.         Quad 13 14 5 4
  72.         Quad 14 15 6 5
  73.         Quad 15 16 7 6
  74.         Quad 16 17 8 7
  75.         Quad 17 18 9 8
  76.         Quad 18 10 1 9
  77.     ProtoEnd
  78.  
  79.     ProtoBegin Z
  80.         Vertex -4 6  -1
  81.         Vertex 4  6  -1
  82.         Vertex -1 -4 -1
  83.         Vertex 4  -4 -1
  84.         Vertex 4  -6 -1
  85.         Vertex -4 -6 -1
  86.         Vertex 1  4  -1
  87.         Vertex -4 4  -1
  88.         Vertex -4 6  1
  89.         Vertex 4  6  1
  90.         Vertex -1 -4 1
  91.         Vertex 4  -4 1
  92.         Vertex 4  -6 1
  93.         Vertex -4 -6 1
  94.         Vertex 1  4  1
  95.         Vertex -4 4  1
  96.         LightSampling Facet
  97.         Polygon 8 1 2 3 4 5 6 7 8
  98.         Polygon 8 16 15 14 13 12 11 10 9
  99.         Quad 9 10 2 1
  100.         Quad 10 11 3 2
  101.         Quad 11 12 4 3
  102.         Quad 12 13 5 4
  103.         Quad 13 14 6 5
  104.         Quad 14 15 7 6
  105.         Quad 15 16 8 7
  106.         Quad 16 9  1 8
  107.     ProtoEnd
  108.  
  109.     ProtoBegin Arrow
  110.         LightSampling Vertex
  111.         TransformBegin
  112.             Cylinder 1.9 0.01 0.01 8
  113.             Translate 0 1.9 0
  114.             Cone 0.1 0.02 8
  115.             Rotate 0 0 1 180
  116.             Disc 0 0.02 8
  117.         TransformEnd
  118.     ProtoEnd
  119.  
  120.     ClumpBegin
  121.         Hints HS 
  122.  
  123.         MaterialBegin
  124.             LightSampling Vertex
  125.             Surface 0.1 0.6 0.3
  126.             Color 1 1 1
  127.             Sphere 0.02 4
  128.             Surface 0.1 0.6 0.3
  129.             Color 0 1 1
  130.         MaterialEnd
  131.  
  132.         MaterialBegin
  133.             LightSampling Vertex
  134.             Surface 0.1 0.6 0.3
  135.             Color 0 1 1
  136.             TransformBegin
  137.                 Rotate 0 0 1 -90
  138.                 ProtoInstanceGeometry Arrow
  139.             TransformEnd
  140.               LightSampling Facet
  141.             TransformBegin
  142.                 Color 0 .6 .6
  143.                 Surface 0.1 0.6 0.3
  144.                 Translate 1.8 0 0
  145.                 Scale  0.01 0.01 0.01
  146.                 ProtoInstanceGeometry X
  147.             TransformEnd
  148.         MaterialEnd
  149.  
  150.         MaterialBegin
  151.             LightSampling Vertex
  152.             Surface 0.1 0.6 0.3
  153.             Color 1 0 1
  154.             TransformBegin
  155.                 ProtoInstanceGeometry Arrow
  156.             TransformEnd
  157.             LightSampling Facet
  158.             TransformBegin
  159.                 Color .6 0 .6
  160.                 Surface 0.1 0.6 0.3
  161.                 Translate 0 1.8 0
  162.                 Rotate 0 1 0 45
  163.                 Scale  0.01 0.01 0.01
  164.                 ProtoInstanceGeometry Y
  165.             TransformEnd
  166.         MaterialEnd
  167.  
  168.         MaterialBegin
  169.             LightSampling Vertex
  170.             Surface 0.1 0.6 0.3
  171.             Color 1 1 0
  172.             TransformBegin
  173.                 Rotate 1 0 0 90
  174.                 ProtoInstanceGeometry Arrow
  175.             TransformEnd
  176.             LightSampling Facet
  177.             TransformBegin
  178.                Surface 0.1 0.6 0.3
  179.                Color .6 .6 0
  180.                Translate 0 0 1.8
  181.                 Rotate 0 1 0 90
  182.                 Scale  0.01 0.01 0.01
  183.                 ProtoInstanceGeometry Z
  184.             TransformEnd
  185.         MaterialEnd
  186.     
  187.     ClumpEnd
  188. ModelEnd
  189.