home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / n.x < prev    next >
Text File  |  1996-05-24  |  10KB  |  491 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.  40;
  136.  -1.849256;3.000000;-0.206538;,
  137.  -0.729848;3.000000;-0.206538;,
  138.  0.738810;-0.608956;-0.206537;,
  139.  0.714391;-0.239015;-0.206537;,
  140.  0.701663;0.458042;-0.206537;,
  141.  0.697394;1.306343;-0.206538;,
  142.  0.698349;2.130016;-0.206538;,
  143.  0.701293;2.753192;-0.206538;,
  144.  0.702993;3.000000;-0.206538;,
  145.  1.849256;3.000000;-0.206538;,
  146.  1.849256;-2.973133;-0.206537;,
  147.  0.738810;-2.973133;-0.206537;,
  148.  -0.729848;0.626866;-0.206537;,
  149.  -0.719856;0.292911;-0.206537;,
  150.  -0.715585;-0.397015;-0.206537;,
  151.  -0.715294;-1.257089;-0.206537;,
  152.  -0.717242;-2.101492;-0.206537;,
  153.  -0.719687;-2.744403;-0.206537;,
  154.  -0.720889;-3.000000;-0.206537;,
  155.  -1.849256;-2.973133;-0.206537;,
  156.  -1.849256;3.000000;0.206537;,
  157.  -0.729848;3.000000;0.206537;,
  158.  0.738810;-0.608956;0.206537;,
  159.  0.714391;-0.239015;0.206537;,
  160.  0.701663;0.458042;0.206537;,
  161.  0.697394;1.306343;0.206537;,
  162.  0.698349;2.130016;0.206537;,
  163.  0.701293;2.753192;0.206537;,
  164.  0.702993;3.000000;0.206537;,
  165.  1.849256;3.000000;0.206537;,
  166.  1.849256;-2.973133;0.206538;,
  167.  0.738810;-2.973133;0.206538;,
  168.  -0.729848;0.626866;0.206537;,
  169.  -0.719856;0.292911;0.206537;,
  170.  -0.715585;-0.397015;0.206537;,
  171.  -0.715294;-1.257089;0.206538;,
  172.  -0.717242;-2.101492;0.206538;,
  173.  -0.719687;-2.744403;0.206538;,
  174.  -0.720889;-3.000000;0.206538;,
  175.  -1.849256;-2.973133;0.206538;;
  176.  
  177.  76;
  178.  3;19,17,18;,
  179.  3;0,17,19;,
  180.  3;0,16,17;,
  181.  3;0,15,16;,
  182.  3;0,14,15;,
  183.  3;0,13,14;,
  184.  3;0,12,13;,
  185.  3;1,12,0;,
  186.  3;2,12,1;,
  187.  3;2,11,12;,
  188.  3;2,10,11;,
  189.  3;2,9,10;,
  190.  3;3,9,2;,
  191.  3;4,9,3;,
  192.  3;5,9,4;,
  193.  3;6,9,5;,
  194.  3;6,8,9;,
  195.  3;7,8,6;,
  196.  3;0,21,1;,
  197.  3;0,20,21;,
  198.  3;1,22,2;,
  199.  3;1,21,22;,
  200.  3;2,23,3;,
  201.  3;2,22,23;,
  202.  3;3,24,4;,
  203.  3;3,23,24;,
  204.  3;4,25,5;,
  205.  3;4,24,25;,
  206.  3;5,26,6;,
  207.  3;5,25,26;,
  208.  3;6,27,7;,
  209.  3;6,26,27;,
  210.  3;7,28,8;,
  211.  3;7,27,28;,
  212.  3;8,29,9;,
  213.  3;8,28,29;,
  214.  3;9,30,10;,
  215.  3;9,29,30;,
  216.  3;10,31,11;,
  217.  3;10,30,31;,
  218.  3;11,32,12;,
  219.  3;11,31,32;,
  220.  3;12,33,13;,
  221.  3;12,32,33;,
  222.  3;13,34,14;,
  223.  3;13,33,34;,
  224.  3;14,35,15;,
  225.  3;14,34,35;,
  226.  3;15,36,16;,
  227.  3;15,35,36;,
  228.  3;16,37,17;,
  229.  3;16,36,37;,
  230.  3;17,38,18;,
  231.  3;17,37,38;,
  232.  3;18,39,19;,
  233.  3;18,38,39;,
  234.  3;19,20,0;,
  235.  3;19,39,20;,
  236.  3;37,39,38;,
  237.  3;37,20,39;,
  238.  3;36,20,37;,
  239.  3;35,20,36;,
  240.  3;34,20,35;,
  241.  3;33,20,34;,
  242.  3;32,20,33;,
  243.  3;32,21,20;,
  244.  3;32,22,21;,
  245.  3;31,22,32;,
  246.  3;30,22,31;,
  247.  3;29,22,30;,
  248.  3;29,23,22;,
  249.  3;29,24,23;,
  250.  3;29,25,24;,
  251.  3;29,26,25;,
  252.  3;28,26,29;,
  253.  3;28,27,26;;
  254.  
  255.  MeshMaterialList {
  256.   1;
  257.   1;
  258.   0;;
  259.   Material {
  260.    0.000000;1.000000;0.000000;1.000000;;
  261.    27.200001;
  262.    0.819608;0.819608;0.819608;;
  263.    0.000000;0.000000;0.000000;;
  264.   }
  265.  }
  266.  MeshNormals {
  267.   100;
  268.   -0.000000;-0.000000;-1.000000;,
  269.   0.000000;1.000000;0.000000;,
  270.   -1.000000;0.000000;0.000000;,
  271.   -0.000000;-0.000000;-1.000000;,
  272.   0.000000;1.000000;0.000000;,
  273.   0.926241;0.376932;0.000000;,
  274.   -0.000000;-0.000000;-1.000000;,
  275.   0.926241;0.376932;0.000000;,
  276.   -0.997829;-0.065865;-0.000000;,
  277.   -0.000000;-0.000000;-1.000000;,
  278.   -0.999115;-0.042072;-0.000000;,
  279.   -0.000000;-0.000000;-1.000000;,
  280.   -0.999932;-0.011645;-0.000000;,
  281.   -0.000000;-0.000000;-1.000000;,
  282.   -0.999998;-0.001937;0.000000;,
  283.   -0.000000;-0.000000;-1.000000;,
  284.   -0.999996;0.002942;-0.000000;,
  285.   -0.000032;0.000000;-1.000000;,
  286.   -0.999983;0.005806;-0.000000;,
  287.   -0.000000;-0.000000;-1.000000;,
  288.   -0.999976;0.006888;-0.000000;,
  289.   0.000000;1.000000;0.000000;,
  290.   -0.000000;-0.000000;-1.000000;,
  291.   0.000000;1.000000;0.000000;,
  292.   1.000000;0.000000;0.000000;,
  293.   -0.000000;-0.000000;-1.000000;,
  294.   1.000000;0.000000;0.000000;,
  295.   0.000000;-1.000000;0.000000;,
  296.   -0.000000;-0.000000;-1.000000;,
  297.   0.000000;-1.000000;0.000000;,
  298.   -0.925913;-0.377736;0.000000;,
  299.   -0.000000;-0.000000;-1.000000;,
  300.   -0.925913;-0.377736;0.000000;,
  301.   0.999553;0.029906;0.000000;,
  302.   -0.000000;-0.000000;-1.000000;,
  303.   0.999837;0.018050;0.000000;,
  304.   0.000000;-0.000000;-1.000000;,
  305.   0.999995;0.003264;0.000000;,
  306.   0.000000;-0.000000;-1.000000;,
  307.   1.000000;-0.000984;-0.000000;,
  308.   -0.000000;-0.000000;-1.000000;,
  309.   0.999995;-0.003055;0.000000;,
  310.   -0.000000;-0.000000;-1.000000;,
  311.   0.999993;-0.003804;0.000000;,
  312.   -0.000000;-0.000000;-1.000000;,
  313.   0.999989;-0.004703;0.000000;,
  314.   -0.023804;-0.999717;0.000000;,
  315.   -0.000000;-0.000000;-1.000000;,
  316.   -0.023804;-0.999717;0.000000;,
  317.   -1.000000;0.000000;0.000000;,
  318.   0.000000;1.000000;0.000000;,
  319.   -1.000000;0.000000;0.000000;,
  320.   0.000000;0.000000;1.000000;,
  321.   0.000000;1.000000;0.000000;,
  322.   0.926241;0.376932;0.000000;,
  323.   0.000000;0.000000;1.000000;,
  324.   0.926241;0.376932;0.000000;,
  325.   -0.997829;-0.065865;0.000000;,
  326.   0.000000;0.000000;1.000000;,
  327.   -0.999115;-0.042072;-0.000000;,
  328.   -0.000000;0.000000;1.000000;,
  329.   -0.999932;-0.011645;-0.000000;,
  330.   0.000000;0.000000;1.000000;,
  331.   -0.999998;-0.001937;0.000000;,
  332.   0.000000;0.000000;1.000000;,
  333.   -0.999996;0.002942;-0.000000;,
  334.   0.000000;0.000000;1.000000;,
  335.   -0.999983;0.005806;0.000000;,
  336.   0.000011;0.000000;1.000000;,
  337.   -0.999976;0.006888;-0.000000;,
  338.   0.000000;1.000000;0.000000;,
  339.   0.000000;0.000000;1.000000;,
  340.   0.000000;1.000000;0.000000;,
  341.   1.000000;0.000000;0.000000;,
  342.   0.000000;0.000000;1.000000;,
  343.   1.000000;0.000000;0.000000;,
  344.   0.000000;-1.000000;0.000000;,
  345.   0.000000;0.000000;1.000000;,
  346.   0.000000;-1.000000;0.000000;,
  347.   -0.925913;-0.377736;0.000000;,
  348.   0.000000;0.000000;1.000000;,
  349.   -0.925913;-0.377736;0.000000;,
  350.   0.999553;0.029906;0.000000;,
  351.   0.000000;0.000000;1.000000;,
  352.   0.999837;0.018050;0.000000;,
  353.   0.000000;0.000000;1.000000;,
  354.   0.999995;0.003264;0.000000;,
  355.   -0.000000;0.000000;1.000000;,
  356.   1.000000;-0.000984;0.000000;,
  357.   0.000000;0.000000;1.000000;,
  358.   0.999995;-0.003055;-0.000000;,
  359.   -0.000000;0.000000;1.000000;,
  360.   0.999993;-0.003804;0.000000;,
  361.   0.000000;0.000000;1.000000;,
  362.   0.999989;-0.004703;0.000000;,
  363.   -0.023804;-0.999717;0.000000;,
  364.   0.000000;0.000000;1.000000;,
  365.   -0.023804;-0.999717;0.000000;,
  366.   -1.000000;0.000000;0.000000;,
  367.   0.000000;0.000000;1.000000;;
  368.  
  369.   76;
  370.   3;47,42,44;,
  371.   3;0,42,47;,
  372.   3;0,40,42;,
  373.   3;0,38,40;,
  374.   3;0,36,38;,
  375.   3;0,34,36;,
  376.   3;0,31,34;,
  377.   3;3,31,0;,
  378.   3;6,31,3;,
  379.   3;6,28,31;,
  380.   3;6,25,28;,
  381.   3;6,22,25;,
  382.   3;9,22,6;,
  383.   3;11,22,9;,
  384.   3;13,22,11;,
  385.   3;15,22,13;,
  386.   3;15,19,22;,
  387.   3;17,19,15;,
  388.   3;1,53,4;,
  389.   3;1,50,53;,
  390.   3;5,56,7;,
  391.   3;5,54,56;,
  392.   3;8,59,10;,
  393.   3;8,57,59;,
  394.   3;10,61,12;,
  395.   3;10,59,61;,
  396.   3;12,63,14;,
  397.   3;12,61,63;,
  398.   3;14,65,16;,
  399.   3;14,63,65;,
  400.   3;16,67,18;,
  401.   3;16,65,67;,
  402.   3;18,69,20;,
  403.   3;18,67,69;,
  404.   3;21,72,23;,
  405.   3;21,70,72;,
  406.   3;24,75,26;,
  407.   3;24,73,75;,
  408.   3;27,78,29;,
  409.   3;27,76,78;,
  410.   3;30,81,32;,
  411.   3;30,79,81;,
  412.   3;33,84,35;,
  413.   3;33,82,84;,
  414.   3;35,86,37;,
  415.   3;35,84,86;,
  416.   3;37,88,39;,
  417.   3;37,86,88;,
  418.   3;39,90,41;,
  419.   3;39,88,90;,
  420.   3;41,92,43;,
  421.   3;41,90,92;,
  422.   3;43,94,45;,
  423.   3;43,92,94;,
  424.   3;46,97,48;,
  425.   3;46,95,97;,
  426.   3;49,51,2;,
  427.   3;49,98,51;,
  428.   3;93,99,96;,
  429.   3;93,52,99;,
  430.   3;91,52,93;,
  431.   3;89,52,91;,
  432.   3;87,52,89;,
  433.   3;85,52,87;,
  434.   3;83,52,85;,
  435.   3;83,55,52;,
  436.   3;83,58,55;,
  437.   3;80,58,83;,
  438.   3;77,58,80;,
  439.   3;74,58,77;,
  440.   3;74,60,58;,
  441.   3;74,62,60;,
  442.   3;74,64,62;,
  443.   3;74,66,64;,
  444.   3;71,66,74;,
  445.   3;71,68,66;;
  446.  }
  447.  MeshTextureCoords {
  448.   40;
  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.   0.000000;0.000000;,
  464.   0.000000;0.000000;,
  465.   0.000000;0.000000;,
  466.   0.000000;0.000000;,
  467.   0.000000;0.000000;,
  468.   0.000000;0.000000;,
  469.   0.000000;0.000000;,
  470.   0.000000;0.000000;,
  471.   0.000000;0.000000;,
  472.   0.000000;0.000000;,
  473.   0.000000;0.000000;,
  474.   0.000000;0.000000;,
  475.   0.000000;0.000000;,
  476.   0.000000;0.000000;,
  477.   0.000000;0.000000;,
  478.   0.000000;0.000000;,
  479.   0.000000;0.000000;,
  480.   0.000000;0.000000;,
  481.   0.000000;0.000000;,
  482.   0.000000;0.000000;,
  483.   0.000000;0.000000;,
  484.   0.000000;0.000000;,
  485.   0.000000;0.000000;,
  486.   0.000000;0.000000;,
  487.   0.000000;0.000000;,
  488.   0.000000;0.000000;;
  489.  }
  490. }
  491.