home *** CD-ROM | disk | FTP | other *** search
/ Learn 3D Graphics Programming on the PC / Learn_3D_Graphics_Programming_on_the_PC_Ferraro.iso / rwdos / triad.rwx < prev    next >
Text File  |  1995-02-15  |  5KB  |  208 lines

  1. ModelBegin
  2.  
  3.     ProtoBegin X
  4.  
  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.  
  45.     ProtoEnd
  46.     ProtoBegin Y
  47.  
  48.         Vertex -4 6  -1
  49.         Vertex -2 6  -1
  50.         Vertex 0  2  -1
  51.         Vertex 2  6  -1
  52.         Vertex 4  6  -1
  53.         Vertex 1  0  -1
  54.         Vertex 1  -6 -1
  55.         Vertex -1 -6 -1
  56.         Vertex -1 0  -1
  57.         Vertex -4 6  1
  58.         Vertex -2 6  1
  59.         Vertex 0  2  1
  60.         Vertex 2  6  1
  61.         Vertex 4  6  1
  62.         Vertex 1  0  1
  63.         Vertex 1  -6 1
  64.         Vertex -1 -6 1
  65.         Vertex -1 0  1
  66.         LightSampling Facet
  67.         Polygon 9 1 2 3 4 5 6 7 8 9
  68.         Polygon 9 18 17 16 15 14 13 12 11 10
  69.         Quad 10 11 2 1
  70.         Quad 11 12 3 2
  71.         Quad 12 13 4 3
  72.         Quad 13 14 5 4
  73.         Quad 14 15 6 5
  74.         Quad 15 16 7 6
  75.         Quad 16 17 8 7
  76.         Quad 17 18 9 8
  77.         Quad 18 10 1 9
  78.  
  79.     ProtoEnd
  80.     ProtoBegin Z
  81.  
  82.         Vertex -4 6  -1
  83.         Vertex 4  6  -1
  84.         Vertex -1 -4 -1
  85.         Vertex 4  -4 -1
  86.         Vertex 4  -6 -1
  87.         Vertex -4 -6 -1
  88.         Vertex 1  4  -1
  89.         Vertex -4 4  -1
  90.         Vertex -4 6  1
  91.         Vertex 4  6  1
  92.         Vertex -1 -4 1
  93.         Vertex 4  -4 1
  94.         Vertex 4  -6 1
  95.         Vertex -4 -6 1
  96.         Vertex 1  4  1
  97.         Vertex -4 4  1
  98.         LightSampling Facet
  99.         Polygon 8 1 2 3 4 5 6 7 8
  100.         Polygon 8 16 15 14 13 12 11 10 9
  101.         Quad 9 10 2 1
  102.         Quad 10 11 3 2
  103.         Quad 11 12 4 3
  104.         Quad 12 13 5 4
  105.         Quad 13 14 6 5
  106.         Quad 14 15 7 6
  107.         Quad 15 16 8 7
  108.         Quad 16 9  1 8
  109.  
  110.     ProtoEnd
  111.     ProtoBegin Arrow
  112.  
  113.         LightSampling Vertex
  114.         TransformBegin
  115.  
  116.             Cylinder 0.9 0.02 0.02 8
  117.             Translate 0 0.9 0
  118.             Cone 0.1 0.04 8
  119.             Rotate 0 0 1 180
  120.             Disc 0 0.04 8
  121.  
  122.         TransformEnd
  123.  
  124.     ProtoEnd
  125.     ClumpBegin
  126.     
  127.     Hints HS Editable
  128.  
  129.         MaterialBegin
  130.  
  131.             LightSampling Vertex
  132.             Surface 0.1 0.6 0.3
  133.             Color 1 1 1
  134.             Sphere 0.04 4
  135.             Surface 0.1 0.6 0.3
  136.             Color 0 1 1
  137.  
  138.         MaterialEnd
  139.         MaterialBegin
  140.  
  141.             LightSampling Vertex
  142.             Surface 0.1 0.6 0.3
  143.             Color 0 1 1
  144.             TransformBegin
  145.  
  146.                 Rotate 0 0 1 -90
  147.                 ProtoInstanceGeometry Arrow
  148.  
  149.             TransformEnd
  150.             LightSampling Facet
  151.             TransformBegin
  152.  
  153.                 Surface 0.1 0.6 0.3
  154.                 Translate 1.2 0 0
  155.                 Scale  0.02 0.02 0.02
  156.                 ProtoInstanceGeometry X
  157.  
  158.             TransformEnd
  159.  
  160.         MaterialEnd
  161.         MaterialBegin
  162.  
  163.             LightSampling Vertex
  164.             Surface 0.1 0.6 0.3
  165.             Color 1 0 1
  166.             TransformBegin
  167.  
  168.                 ProtoInstanceGeometry Arrow
  169.  
  170.             TransformEnd
  171.             LightSampling Facet
  172.             TransformBegin
  173.  
  174.                 Translate 0 1.2 0
  175.                 Rotate 0 1 0 45
  176.                 Scale  0.02 0.02 0.02
  177.                 ProtoInstanceGeometry Y
  178.  
  179.             TransformEnd
  180.  
  181.         MaterialEnd
  182.         MaterialBegin
  183.  
  184.             LightSampling Vertex
  185.             Surface 0.1 0.6 0.3
  186.             Color 1 1 0
  187.             TransformBegin
  188.  
  189.                 Rotate 1 0 0 90
  190.                 ProtoInstanceGeometry Arrow
  191.  
  192.             TransformEnd
  193.             LightSampling Facet
  194.             TransformBegin
  195.  
  196.                 Translate 0 0 1.2
  197.                 Rotate 0 1 0 90
  198.                 Scale  0.02 0.02 0.02
  199.                 ProtoInstanceGeometry Z
  200.  
  201.             TransformEnd
  202.  
  203.         MaterialEnd
  204.  
  205.     ClumpEnd
  206.  
  207. ModelEnd
  208.