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

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