home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / h.x < prev    next >
Text File  |  1996-05-24  |  7KB  |  367 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.  24;
  136.  -1.785609;3.000000;-0.207466;,
  137.  -0.598201;3.000000;-0.207467;,
  138.  -0.598201;0.652175;-0.207466;,
  139.  0.598201;0.652175;-0.207466;,
  140.  0.598201;3.000000;-0.207467;,
  141.  1.785609;3.000000;-0.207467;,
  142.  1.785609;-3.000000;-0.207466;,
  143.  0.598201;-3.000000;-0.207466;,
  144.  0.598201;-0.472266;-0.207466;,
  145.  -0.598201;-0.472266;-0.207466;,
  146.  -0.598201;-3.000000;-0.207466;,
  147.  -1.785609;-3.000000;-0.207466;,
  148.  -1.785609;3.000000;0.207466;,
  149.  -0.598201;3.000000;0.207466;,
  150.  -0.598201;0.652175;0.207466;,
  151.  0.598201;0.652175;0.207466;,
  152.  0.598201;3.000000;0.207466;,
  153.  1.785609;3.000000;0.207466;,
  154.  1.785609;-3.000000;0.207466;,
  155.  0.598201;-3.000000;0.207467;,
  156.  0.598201;-0.472266;0.207466;,
  157.  -0.598201;-0.472266;0.207466;,
  158.  -0.598201;-3.000000;0.207467;,
  159.  -1.785609;-3.000000;0.207467;;
  160.  
  161.  44;
  162.  3;0,10,11;,
  163.  3;0,9,10;,
  164.  3;8,6,7;,
  165.  3;8,5,6;,
  166.  3;5,3,4;,
  167.  3;8,3,5;,
  168.  3;8,2,3;,
  169.  3;9,2,8;,
  170.  3;0,2,9;,
  171.  3;0,1,2;,
  172.  3;0,13,1;,
  173.  3;0,12,13;,
  174.  3;1,14,2;,
  175.  3;1,13,14;,
  176.  3;2,15,3;,
  177.  3;2,14,15;,
  178.  3;3,16,4;,
  179.  3;3,15,16;,
  180.  3;4,17,5;,
  181.  3;4,16,17;,
  182.  3;5,18,6;,
  183.  3;5,17,18;,
  184.  3;6,19,7;,
  185.  3;6,18,19;,
  186.  3;7,20,8;,
  187.  3;7,19,20;,
  188.  3;8,21,9;,
  189.  3;8,20,21;,
  190.  3;9,22,10;,
  191.  3;9,21,22;,
  192.  3;10,23,11;,
  193.  3;10,22,23;,
  194.  3;11,12,0;,
  195.  3;11,23,12;,
  196.  3;22,12,23;,
  197.  3;21,12,22;,
  198.  3;18,20,19;,
  199.  3;17,20,18;,
  200.  3;15,17,16;,
  201.  3;15,20,17;,
  202.  3;14,20,15;,
  203.  3;14,21,20;,
  204.  3;14,12,21;,
  205.  3;13,12,14;;
  206.  
  207.  MeshMaterialList {
  208.   1;
  209.   1;
  210.   0;;
  211.   Material {
  212.    0.000000;1.000000;0.000000;1.000000;;
  213.    27.200001;
  214.    0.819608;0.819608;0.819608;;
  215.    0.000000;0.000000;0.000000;;
  216.   }
  217.  }
  218.  MeshNormals {
  219.   72;
  220.   -0.000000;-0.000000;-1.000000;,
  221.   0.000000;1.000000;0.000000;,
  222.   -1.000000;0.000000;0.000000;,
  223.   -0.000000;-0.000000;-1.000000;,
  224.   0.000000;1.000000;0.000000;,
  225.   1.000000;0.000000;0.000000;,
  226.   -0.000000;-0.000000;-1.000000;,
  227.   1.000000;0.000000;0.000000;,
  228.   0.000000;1.000000;0.000000;,
  229.   -0.000000;-0.000000;-1.000000;,
  230.   0.000000;1.000000;0.000000;,
  231.   -1.000000;0.000000;0.000000;,
  232.   -0.000000;-0.000000;-1.000000;,
  233.   -1.000000;0.000000;0.000000;,
  234.   0.000000;1.000000;0.000000;,
  235.   -0.000000;-0.000000;-1.000000;,
  236.   0.000000;1.000000;0.000000;,
  237.   1.000000;0.000000;0.000000;,
  238.   -0.000000;-0.000000;-1.000000;,
  239.   1.000000;0.000000;0.000000;,
  240.   0.000000;-1.000000;0.000000;,
  241.   -0.000000;-0.000000;-1.000000;,
  242.   0.000000;-1.000000;0.000000;,
  243.   -1.000000;0.000000;0.000000;,
  244.   -0.000000;-0.000000;-1.000000;,
  245.   -1.000000;0.000000;0.000000;,
  246.   -0.000000;-1.000000;-0.000000;,
  247.   -0.000000;-0.000000;-1.000000;,
  248.   -0.000000;-1.000000;-0.000000;,
  249.   1.000000;0.000000;0.000000;,
  250.   -0.000000;-0.000000;-1.000000;,
  251.   1.000000;0.000000;0.000000;,
  252.   0.000000;-1.000000;0.000000;,
  253.   -0.000000;-0.000000;-1.000000;,
  254.   0.000000;-1.000000;0.000000;,
  255.   -1.000000;0.000000;0.000000;,
  256.   0.000000;1.000000;0.000000;,
  257.   -1.000000;0.000000;0.000000;,
  258.   0.000000;0.000000;1.000000;,
  259.   0.000000;1.000000;0.000000;,
  260.   1.000000;0.000000;0.000000;,
  261.   0.000000;0.000000;1.000000;,
  262.   1.000000;0.000000;0.000000;,
  263.   0.000000;1.000000;0.000000;,
  264.   0.000000;0.000000;1.000000;,
  265.   0.000000;1.000000;0.000000;,
  266.   -1.000000;0.000000;0.000000;,
  267.   0.000000;0.000000;1.000000;,
  268.   -1.000000;0.000000;0.000000;,
  269.   0.000000;1.000000;0.000000;,
  270.   0.000000;0.000000;1.000000;,
  271.   0.000000;1.000000;0.000000;,
  272.   1.000000;0.000000;0.000000;,
  273.   0.000000;0.000000;1.000000;,
  274.   1.000000;0.000000;0.000000;,
  275.   0.000000;-1.000000;0.000000;,
  276.   0.000000;0.000000;1.000000;,
  277.   0.000000;-1.000000;0.000000;,
  278.   -1.000000;0.000000;0.000000;,
  279.   0.000000;0.000000;1.000000;,
  280.   -1.000000;0.000000;0.000000;,
  281.   -0.000000;-1.000000;-0.000000;,
  282.   0.000000;0.000000;1.000000;,
  283.   -0.000000;-1.000000;-0.000000;,
  284.   1.000000;0.000000;0.000000;,
  285.   -0.000000;0.000000;1.000000;,
  286.   1.000000;0.000000;0.000000;,
  287.   0.000000;-1.000000;0.000000;,
  288.   0.000000;0.000000;1.000000;,
  289.   0.000000;-1.000000;0.000000;,
  290.   -1.000000;0.000000;0.000000;,
  291.   0.000000;0.000000;1.000000;;
  292.  
  293.   44;
  294.   3;0,30,33;,
  295.   3;0,27,30;,
  296.   3;24,18,21;,
  297.   3;24,15,18;,
  298.   3;15,9,12;,
  299.   3;24,9,15;,
  300.   3;24,6,9;,
  301.   3;27,6,24;,
  302.   3;0,6,27;,
  303.   3;0,3,6;,
  304.   3;1,39,4;,
  305.   3;1,36,39;,
  306.   3;5,42,7;,
  307.   3;5,40,42;,
  308.   3;8,45,10;,
  309.   3;8,43,45;,
  310.   3;11,48,13;,
  311.   3;11,46,48;,
  312.   3;14,51,16;,
  313.   3;14,49,51;,
  314.   3;17,54,19;,
  315.   3;17,52,54;,
  316.   3;20,57,22;,
  317.   3;20,55,57;,
  318.   3;23,60,25;,
  319.   3;23,58,60;,
  320.   3;26,63,28;,
  321.   3;26,61,63;,
  322.   3;29,66,31;,
  323.   3;29,64,66;,
  324.   3;32,69,34;,
  325.   3;32,67,69;,
  326.   3;35,37,2;,
  327.   3;35,70,37;,
  328.   3;68,38,71;,
  329.   3;65,38,68;,
  330.   3;56,62,59;,
  331.   3;53,62,56;,
  332.   3;47,53,50;,
  333.   3;47,62,53;,
  334.   3;44,62,47;,
  335.   3;44,65,62;,
  336.   3;44,38,65;,
  337.   3;41,38,44;;
  338.  }
  339.  MeshTextureCoords {
  340.   24;
  341.   0.000000;0.000000;,
  342.   0.000000;0.000000;,
  343.   0.000000;0.000000;,
  344.   0.000000;0.000000;,
  345.   0.000000;0.000000;,
  346.   0.000000;0.000000;,
  347.   0.000000;0.000000;,
  348.   0.000000;0.000000;,
  349.   0.000000;0.000000;,
  350.   0.000000;0.000000;,
  351.   0.000000;0.000000;,
  352.   0.000000;0.000000;,
  353.   0.000000;0.000000;,
  354.   0.000000;0.000000;,
  355.   0.000000;0.000000;,
  356.   0.000000;0.000000;,
  357.   0.000000;0.000000;,
  358.   0.000000;0.000000;,
  359.   0.000000;0.000000;,
  360.   0.000000;0.000000;,
  361.   0.000000;0.000000;,
  362.   0.000000;0.000000;,
  363.   0.000000;0.000000;,
  364.   0.000000;0.000000;;
  365.  }
  366. }
  367.