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