home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / m.x < prev    next >
Text File  |  1996-05-24  |  10KB  |  465 lines

  1. xof 0302txt 0064
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template IndexedColor {
  43.  <1630B820-7842-11cf-8F52-0040333594A3>
  44.  DWORD index;
  45.  ColorRGBA indexColor;
  46. }
  47.  
  48. template Boolean {
  49.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  50.  WORD truefalse;
  51. }
  52.  
  53. template Boolean2d {
  54.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  55.  Boolean u;
  56.  Boolean v;
  57. }
  58.  
  59. template MaterialWrap {
  60.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  61.  Boolean u;
  62.  Boolean v;
  63. }
  64.  
  65. template TextureFilename {
  66.  <A42790E1-7810-11cf-8F52-0040333594A3>
  67.  STRING filename;
  68. }
  69.  
  70. template Material {
  71.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  72.  ColorRGBA faceColor;
  73.  FLOAT power;
  74.  ColorRGB specularColor;
  75.  ColorRGB emissiveColor;
  76.  [...]
  77. }
  78.  
  79. template MeshFace {
  80.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  81.  DWORD nFaceVertexIndices;
  82.  array DWORD faceVertexIndices[nFaceVertexIndices];
  83. }
  84.  
  85. template MeshFaceWraps {
  86.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  87.  DWORD nFaceWrapValues;
  88.  Boolean2d faceWrapValues;
  89. }
  90.  
  91. template MeshTextureCoords {
  92.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  93.  DWORD nTextureCoords;
  94.  array Coords2d textureCoords[nTextureCoords];
  95. }
  96.  
  97. template MeshMaterialList {
  98.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  99.  DWORD nMaterials;
  100.  DWORD nFaceIndexes;
  101.  array DWORD faceIndexes[nFaceIndexes];
  102.  [Material]
  103. }
  104.  
  105. template MeshNormals {
  106.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  107.  DWORD nNormals;
  108.  array Vector normals[nNormals];
  109.  DWORD nFaceNormals;
  110.  array MeshFace faceNormals[nFaceNormals];
  111. }
  112.  
  113. template MeshVertexColors {
  114.  <1630B821-7842-11cf-8F52-0040333594A3>
  115.  DWORD nVertexColors;
  116.  array IndexedColor vertexColors[nVertexColors];
  117. }
  118.  
  119. template Mesh {
  120.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  121.  DWORD nVertices;
  122.  array Vector vertices[nVertices];
  123.  DWORD nFaces;
  124.  array MeshFace faces[nFaces];
  125.  [...]
  126. }
  127.  
  128. Header {
  129.  1;
  130.  0;
  131.  1;
  132. }
  133.  
  134. Mesh {
  135.  36;
  136.  -2.158919;3.000000;-0.207467;,
  137.  -0.602697;3.000000;-0.207467;,
  138.  -0.008989;-0.544228;-0.207466;,
  139.  0.467770;3.000000;-0.207467;,
  140.  2.059973;3.000000;-0.207467;,
  141.  2.689658;-3.000000;-0.207466;,
  142.  1.475267;-3.000000;-0.207466;,
  143.  1.178414;1.317847;-0.207467;,
  144.  1.110157;0.810600;-0.207466;,
  145.  0.974183;-0.041475;-0.207466;,
  146.  0.806226;-1.043476;-0.207466;,
  147.  0.642016;-2.000498;-0.207466;,
  148.  0.517287;-2.717641;-0.207466;,
  149.  0.467770;-3.000000;-0.207466;,
  150.  -0.440776;-3.000000;-0.207466;,
  151.  -1.232383;1.317847;-0.207466;,
  152.  -1.412291;-3.000000;-0.207466;,
  153.  -2.689658;-3.000000;-0.207466;,
  154.  -2.158919;3.000000;0.207466;,
  155.  -0.602697;3.000000;0.207466;,
  156.  -0.008989;-0.544228;0.207466;,
  157.  0.467770;3.000000;0.207466;,
  158.  2.059973;3.000000;0.207466;,
  159.  2.689658;-3.000000;0.207466;,
  160.  1.475267;-3.000000;0.207467;,
  161.  1.178414;1.317847;0.207466;,
  162.  1.110157;0.810600;0.207466;,
  163.  0.974183;-0.041475;0.207466;,
  164.  0.806226;-1.043476;0.207466;,
  165.  0.642016;-2.000498;0.207466;,
  166.  0.517287;-2.717641;0.207467;,
  167.  0.467770;-3.000000;0.207467;,
  168.  -0.440776;-3.000000;0.207467;,
  169.  -1.232383;1.317847;0.207466;,
  170.  -1.412291;-3.000000;0.207467;,
  171.  -2.689658;-3.000000;0.207467;;
  172.  
  173.  68;
  174.  3;6,4,5;,
  175.  3;7,4,6;,
  176.  3;7,3,4;,
  177.  3;7,2,3;,
  178.  3;8,2,7;,
  179.  3;9,2,8;,
  180.  3;10,2,9;,
  181.  3;0,16,17;,
  182.  3;0,15,16;,
  183.  3;1,15,0;,
  184.  3;2,15,1;,
  185.  3;2,14,15;,
  186.  3;10,14,2;,
  187.  3;11,14,10;,
  188.  3;12,14,11;,
  189.  3;12,13,14;,
  190.  3;0,19,1;,
  191.  3;0,18,19;,
  192.  3;1,20,2;,
  193.  3;1,19,20;,
  194.  3;2,21,3;,
  195.  3;2,20,21;,
  196.  3;3,22,4;,
  197.  3;3,21,22;,
  198.  3;4,23,5;,
  199.  3;4,22,23;,
  200.  3;5,24,6;,
  201.  3;5,23,24;,
  202.  3;6,25,7;,
  203.  3;6,24,25;,
  204.  3;7,26,8;,
  205.  3;7,25,26;,
  206.  3;8,27,9;,
  207.  3;8,26,27;,
  208.  3;9,28,10;,
  209.  3;9,27,28;,
  210.  3;10,29,11;,
  211.  3;10,28,29;,
  212.  3;11,30,12;,
  213.  3;11,29,30;,
  214.  3;12,31,13;,
  215.  3;12,30,31;,
  216.  3;13,32,14;,
  217.  3;13,31,32;,
  218.  3;14,33,15;,
  219.  3;14,32,33;,
  220.  3;15,34,16;,
  221.  3;15,33,34;,
  222.  3;16,35,17;,
  223.  3;16,34,35;,
  224.  3;17,18,0;,
  225.  3;17,35,18;,
  226.  3;22,24,23;,
  227.  3;22,25,24;,
  228.  3;21,25,22;,
  229.  3;20,25,21;,
  230.  3;20,26,25;,
  231.  3;20,27,26;,
  232.  3;20,28,27;,
  233.  3;34,18,35;,
  234.  3;33,18,34;,
  235.  3;33,19,18;,
  236.  3;33,20,19;,
  237.  3;32,20,33;,
  238.  3;32,28,20;,
  239.  3;32,29,28;,
  240.  3;32,30,29;,
  241.  3;31,30,32;;
  242.  
  243.  MeshMaterialList {
  244.   1;
  245.   1;
  246.   0;;
  247.   Material {
  248.    0.000000;1.000000;0.000000;1.000000;;
  249.    27.200001;
  250.    0.819608;0.819608;0.819608;;
  251.    0.000000;0.000000;0.000000;;
  252.   }
  253.  }
  254.  MeshNormals {
  255.   98;
  256.   -0.000000;-0.000000;-1.000000;,
  257.   0.000000;1.000000;0.000000;,
  258.   -0.996111;0.088113;-0.000000;,
  259.   -0.000000;-0.000000;-1.000000;,
  260.   0.000000;1.000000;0.000000;,
  261.   0.986258;0.165212;-0.000000;,
  262.   -0.000000;-0.000000;-1.000000;,
  263.   0.986258;0.165212;-0.000000;,
  264.   -0.991073;0.133316;-0.000000;,
  265.   -0.000000;-0.000000;-1.000000;,
  266.   -0.991073;0.133316;-0.000000;,
  267.   0.000000;1.000000;0.000000;,
  268.   -0.000000;-0.000000;-1.000000;,
  269.   0.000000;1.000000;0.000000;,
  270.   0.994538;0.104374;0.000000;,
  271.   -0.000000;-0.000000;-1.000000;,
  272.   0.994538;0.104374;0.000000;,
  273.   0.000000;-1.000000;0.000000;,
  274.   -0.000000;-0.000000;-1.000000;,
  275.   0.000000;-1.000000;0.000000;,
  276.   -0.997645;-0.068588;-0.000000;,
  277.   -0.000000;-0.000000;-1.000000;,
  278.   -0.997645;-0.068588;-0.000000;,
  279.   0.991067;-0.133362;-0.000000;,
  280.   0.000000;-0.000000;-1.000000;,
  281.   0.989361;-0.145484;0.000000;,
  282.   -0.000000;-0.000000;-1.000000;,
  283.   0.986881;-0.161452;0.000000;,
  284.   -0.000000;-0.000000;-1.000000;,
  285.   0.985921;-0.167214;0.000000;,
  286.   -0.000000;-0.000000;-1.000000;,
  287.   0.985404;-0.170233;-0.000000;,
  288.   -0.000000;-0.000000;-1.000000;,
  289.   0.985089;-0.172043;-0.000000;,
  290.   -0.000000;-0.000000;-1.000000;,
  291.   0.984969;-0.172733;-0.000000;,
  292.   0.000000;-1.000000;0.000000;,
  293.   -0.000000;-0.000000;-1.000000;,
  294.   0.000000;-1.000000;0.000000;,
  295.   -0.983607;-0.180328;-0.000000;,
  296.   -0.000000;-0.000000;-1.000000;,
  297.   -0.983607;-0.180328;-0.000000;,
  298.   0.999133;-0.041630;0.000000;,
  299.   -0.000000;-0.000000;-1.000000;,
  300.   0.999133;-0.041630;0.000000;,
  301.   0.000000;-1.000000;0.000000;,
  302.   -0.000000;-0.000000;-1.000000;,
  303.   0.000000;-1.000000;0.000000;,
  304.   -0.996111;0.088113;-0.000000;,
  305.   0.000000;1.000000;0.000000;,
  306.   -0.996111;0.088113;-0.000000;,
  307.   0.000000;0.000000;1.000000;,
  308.   0.000000;1.000000;0.000000;,
  309.   0.986258;0.165212;0.000000;,
  310.   0.000000;0.000000;1.000000;,
  311.   0.986258;0.165212;-0.000000;,
  312.   -0.991073;0.133316;0.000000;,
  313.   0.000000;0.000000;1.000000;,
  314.   -0.991073;0.133316;-0.000000;,
  315.   0.000000;1.000000;0.000000;,
  316.   0.000000;0.000000;1.000000;,
  317.   0.000000;1.000000;0.000000;,
  318.   0.994538;0.104374;0.000000;,
  319.   0.000000;0.000000;1.000000;,
  320.   0.994538;0.104374;0.000000;,
  321.   0.000000;-1.000000;0.000000;,
  322.   0.000000;0.000000;1.000000;,
  323.   0.000000;-1.000000;0.000000;,
  324.   -0.997645;-0.068588;0.000000;,
  325.   0.000000;0.000000;1.000000;,
  326.   -0.997645;-0.068588;-0.000000;,
  327.   0.991067;-0.133362;0.000000;,
  328.   0.000000;0.000000;1.000000;,
  329.   0.989361;-0.145484;-0.000000;,
  330.   0.000000;0.000000;1.000000;,
  331.   0.986881;-0.161452;0.000000;,
  332.   0.000000;0.000000;1.000000;,
  333.   0.985921;-0.167214;0.000000;,
  334.   0.000000;0.000000;1.000000;,
  335.   0.985404;-0.170233;0.000000;,
  336.   0.000000;0.000000;1.000000;,
  337.   0.985089;-0.172043;-0.000000;,
  338.   0.000000;0.000000;1.000000;,
  339.   0.984969;-0.172733;-0.000000;,
  340.   0.000000;-1.000000;0.000000;,
  341.   0.000000;0.000000;1.000000;,
  342.   0.000000;-1.000000;0.000000;,
  343.   -0.983607;-0.180328;0.000000;,
  344.   0.000000;0.000000;1.000000;,
  345.   -0.983607;-0.180328;-0.000000;,
  346.   0.999133;-0.041630;0.000000;,
  347.   0.000000;0.000000;1.000000;,
  348.   0.999133;-0.041630;0.000000;,
  349.   0.000000;-1.000000;0.000000;,
  350.   0.000000;0.000000;1.000000;,
  351.   0.000000;-1.000000;0.000000;,
  352.   -0.996111;0.088113;0.000000;,
  353.   0.000000;0.000000;1.000000;;
  354.  
  355.   68;
  356.   3;18,12,15;,
  357.   3;21,12,18;,
  358.   3;21,9,12;,
  359.   3;21,6,9;,
  360.   3;24,6,21;,
  361.   3;26,6,24;,
  362.   3;28,6,26;,
  363.   3;0,43,46;,
  364.   3;0,40,43;,
  365.   3;3,40,0;,
  366.   3;6,40,3;,
  367.   3;6,37,40;,
  368.   3;28,37,6;,
  369.   3;30,37,28;,
  370.   3;32,37,30;,
  371.   3;32,34,37;,
  372.   3;1,52,4;,
  373.   3;1,49,52;,
  374.   3;5,55,7;,
  375.   3;5,53,55;,
  376.   3;8,58,10;,
  377.   3;8,56,58;,
  378.   3;11,61,13;,
  379.   3;11,59,61;,
  380.   3;14,64,16;,
  381.   3;14,62,64;,
  382.   3;17,67,19;,
  383.   3;17,65,67;,
  384.   3;20,70,22;,
  385.   3;20,68,70;,
  386.   3;23,73,25;,
  387.   3;23,71,73;,
  388.   3;25,75,27;,
  389.   3;25,73,75;,
  390.   3;27,77,29;,
  391.   3;27,75,77;,
  392.   3;29,79,31;,
  393.   3;29,77,79;,
  394.   3;31,81,33;,
  395.   3;31,79,81;,
  396.   3;33,83,35;,
  397.   3;33,81,83;,
  398.   3;36,86,38;,
  399.   3;36,84,86;,
  400.   3;39,89,41;,
  401.   3;39,87,89;,
  402.   3;42,92,44;,
  403.   3;42,90,92;,
  404.   3;45,95,47;,
  405.   3;45,93,95;,
  406.   3;48,50,2;,
  407.   3;48,96,50;,
  408.   3;63,69,66;,
  409.   3;63,72,69;,
  410.   3;60,72,63;,
  411.   3;57,72,60;,
  412.   3;57,74,72;,
  413.   3;57,76,74;,
  414.   3;57,78,76;,
  415.   3;94,51,97;,
  416.   3;91,51,94;,
  417.   3;91,54,51;,
  418.   3;91,57,54;,
  419.   3;88,57,91;,
  420.   3;88,78,57;,
  421.   3;88,80,78;,
  422.   3;88,82,80;,
  423.   3;85,82,88;;
  424.  }
  425.  MeshTextureCoords {
  426.   36;
  427.   0.000000;0.000000;,
  428.   0.000000;0.000000;,
  429.   0.000000;0.000000;,
  430.   0.000000;0.000000;,
  431.   0.000000;0.000000;,
  432.   0.000000;0.000000;,
  433.   0.000000;0.000000;,
  434.   0.000000;0.000000;,
  435.   0.000000;0.000000;,
  436.   0.000000;0.000000;,
  437.   0.000000;0.000000;,
  438.   0.000000;0.000000;,
  439.   0.000000;0.000000;,
  440.   0.000000;0.000000;,
  441.   0.000000;0.000000;,
  442.   0.000000;0.000000;,
  443.   0.000000;0.000000;,
  444.   0.000000;0.000000;,
  445.   0.000000;0.000000;,
  446.   0.000000;0.000000;,
  447.   0.000000;0.000000;,
  448.   0.000000;0.000000;,
  449.   0.000000;0.000000;,
  450.   0.000000;0.000000;,
  451.   0.000000;0.000000;,
  452.   0.000000;0.000000;,
  453.   0.000000;0.000000;,
  454.   0.000000;0.000000;,
  455.   0.000000;0.000000;,
  456.   0.000000;0.000000;,
  457.   0.000000;0.000000;,
  458.   0.000000;0.000000;,
  459.   0.000000;0.000000;,
  460.   0.000000;0.000000;,
  461.   0.000000;0.000000;,
  462.   0.000000;0.000000;;
  463.  }
  464. }
  465.