home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / a.x < prev    next >
Text File  |  1996-05-24  |  11KB  |  517 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.  42;
  136.  -0.643178;3.000000;-0.207467;,
  137.  0.607199;3.000000;-0.207467;,
  138.  2.037482;-3.000000;-0.207466;,
  139.  0.778110;-3.000000;-0.207466;,
  140.  0.562218;-1.992505;-0.207466;,
  141.  -0.643178;-1.992505;-0.207466;,
  142.  -0.850074;-3.000000;-0.207466;,
  143.  -2.037482;-3.000000;-0.207466;,
  144.  0.382316;-1.065967;-0.207466;,
  145.  0.354038;-0.922497;-0.207466;,
  146.  0.282031;-0.550890;-0.207466;,
  147.  0.185536;-0.039352;-0.207466;,
  148.  0.083793;0.523909;-0.207466;,
  149.  -0.003956;1.050689;-0.207466;,
  150.  -0.058471;1.452781;-0.207466;,
  151.  -0.103407;1.056937;-0.207466;,
  152.  -0.181076;0.531906;-0.207466;,
  153.  -0.273238;-0.032605;-0.207466;,
  154.  -0.361652;-0.546891;-0.207466;,
  155.  -0.428077;-0.921247;-0.207466;,
  156.  -0.454272;-1.065967;-0.207466;,
  157.  -0.643178;3.000000;0.207466;,
  158.  0.607199;3.000000;0.207466;,
  159.  2.037482;-3.000000;0.207466;,
  160.  0.778110;-3.000000;0.207467;,
  161.  0.562218;-1.992505;0.207466;,
  162.  -0.643178;-1.992505;0.207467;,
  163.  -0.850074;-3.000000;0.207467;,
  164.  -2.037482;-3.000000;0.207467;,
  165.  0.382316;-1.065967;0.207466;,
  166.  0.354038;-0.922497;0.207466;,
  167.  0.282031;-0.550890;0.207466;,
  168.  0.185536;-0.039352;0.207466;,
  169.  0.083793;0.523909;0.207466;,
  170.  -0.003956;1.050689;0.207466;,
  171.  -0.058471;1.452781;0.207466;,
  172.  -0.103407;1.056937;0.207466;,
  173.  -0.181076;0.531906;0.207466;,
  174.  -0.273238;-0.032605;0.207466;,
  175.  -0.361652;-0.546891;0.207466;,
  176.  -0.428077;-0.921247;0.207466;,
  177.  -0.454272;-1.065967;0.207466;;
  178.  
  179.  84;
  180.  3;14,7,0;,
  181.  3;15,7,14;,
  182.  3;16,7,15;,
  183.  3;17,7,16;,
  184.  3;18,7,17;,
  185.  3;19,7,18;,
  186.  3;20,7,19;,
  187.  3;20,6,7;,
  188.  3;20,5,6;,
  189.  3;1,14,0;,
  190.  3;2,14,1;,
  191.  3;2,13,14;,
  192.  3;2,12,13;,
  193.  3;2,11,12;,
  194.  3;2,10,11;,
  195.  3;2,9,10;,
  196.  3;2,8,9;,
  197.  3;3,8,2;,
  198.  3;4,8,3;,
  199.  3;20,4,5;,
  200.  3;20,8,4;,
  201.  3;0,22,1;,
  202.  3;0,21,22;,
  203.  3;1,23,2;,
  204.  3;1,22,23;,
  205.  3;2,24,3;,
  206.  3;2,23,24;,
  207.  3;3,25,4;,
  208.  3;3,24,25;,
  209.  3;4,26,5;,
  210.  3;4,25,26;,
  211.  3;5,27,6;,
  212.  3;5,26,27;,
  213.  3;6,28,7;,
  214.  3;6,27,28;,
  215.  3;7,21,0;,
  216.  3;7,28,21;,
  217.  3;8,30,9;,
  218.  3;8,29,30;,
  219.  3;9,31,10;,
  220.  3;9,30,31;,
  221.  3;10,32,11;,
  222.  3;10,31,32;,
  223.  3;11,33,12;,
  224.  3;11,32,33;,
  225.  3;12,34,13;,
  226.  3;12,33,34;,
  227.  3;13,35,14;,
  228.  3;13,34,35;,
  229.  3;14,36,15;,
  230.  3;14,35,36;,
  231.  3;15,37,16;,
  232.  3;15,36,37;,
  233.  3;16,38,17;,
  234.  3;16,37,38;,
  235.  3;17,39,18;,
  236.  3;17,38,39;,
  237.  3;18,40,19;,
  238.  3;18,39,40;,
  239.  3;19,41,20;,
  240.  3;19,40,41;,
  241.  3;20,29,8;,
  242.  3;20,41,29;,
  243.  3;28,35,21;,
  244.  3;28,36,35;,
  245.  3;28,37,36;,
  246.  3;28,38,37;,
  247.  3;28,39,38;,
  248.  3;28,40,39;,
  249.  3;28,41,40;,
  250.  3;27,41,28;,
  251.  3;26,41,27;,
  252.  3;35,22,21;,
  253.  3;35,23,22;,
  254.  3;34,23,35;,
  255.  3;33,23,34;,
  256.  3;32,23,33;,
  257.  3;31,23,32;,
  258.  3;30,23,31;,
  259.  3;29,23,30;,
  260.  3;29,24,23;,
  261.  3;29,25,24;,
  262.  3;25,41,26;,
  263.  3;29,41,25;;
  264.  
  265.  MeshMaterialList {
  266.   1;
  267.   1;
  268.   0;;
  269.   Material {
  270.    0.000000;1.000000;0.000000;1.000000;;
  271.    27.200001;
  272.    0.819608;0.819608;0.819608;;
  273.    0.000000;0.000000;0.000000;;
  274.   }
  275.  }
  276.  MeshNormals {
  277.   106;
  278.   -0.000000;-0.000000;-1.000000;,
  279.   0.000000;1.000000;0.000000;,
  280.   -0.974045;0.226353;-0.000000;,
  281.   -0.000000;-0.000000;-1.000000;,
  282.   0.000000;1.000000;0.000000;,
  283.   0.972744;0.231883;-0.000000;,
  284.   -0.000000;-0.000000;-1.000000;,
  285.   0.972744;0.231883;-0.000000;,
  286.   0.000000;-1.000000;0.000000;,
  287.   -0.000000;-0.000000;-1.000000;,
  288.   0.000000;-1.000000;0.000000;,
  289.   -0.977802;-0.209529;0.000000;,
  290.   -0.000000;-0.000000;-1.000000;,
  291.   -0.977802;-0.209529;0.000000;,
  292.   0.000000;-1.000000;0.000000;,
  293.   0.000005;-0.000001;-1.000000;,
  294.   0.000000;-1.000000;0.000000;,
  295.   0.979559;-0.201159;-0.000000;,
  296.   -0.000000;-0.000000;-1.000000;,
  297.   0.979559;-0.201159;-0.000000;,
  298.   0.000000;-1.000000;0.000000;,
  299.   -0.000000;-0.000000;-1.000000;,
  300.   0.000000;-1.000000;0.000000;,
  301.   -0.974045;0.226353;-0.000000;,
  302.   -0.000000;-0.000000;-1.000000;,
  303.   -0.981124;-0.193380;0.000000;,
  304.   0.000000;1.000000;0.000000;,
  305.   -0.000000;-0.000000;-1.000000;,
  306.   -0.981433;-0.191807;-0.000000;,
  307.   -0.000000;-0.000000;-1.000000;,
  308.   -0.982207;-0.187801;-0.000000;,
  309.   -0.000000;-0.000000;-1.000000;,
  310.   -0.983379;-0.181562;-0.000000;,
  311.   -0.000000;-0.000000;-1.000000;,
  312.   -0.985265;-0.171037;-0.000000;,
  313.   0.000000;0.000000;-1.000000;,
  314.   -0.988785;-0.149348;-0.000000;,
  315.   -0.000000;-0.000000;-1.000000;,
  316.   -0.990934;-0.134349;0.000000;,
  317.   0.993618;-0.112795;-0.000000;,
  318.   -0.000000;0.000000;-1.000000;,
  319.   0.991568;-0.129587;0.000000;,
  320.   0.000000;-0.000000;-1.000000;,
  321.   0.988112;-0.153738;-0.000000;,
  322.   -0.000000;-0.000000;-1.000000;,
  323.   0.986247;-0.165280;-0.000000;,
  324.   -0.000000;-0.000000;-1.000000;,
  325.   0.985085;-0.172070;-0.000000;,
  326.   -0.000000;-0.000000;-1.000000;,
  327.   0.984317;-0.176410;-0.000000;,
  328.   0.000000;-0.000000;-1.000000;,
  329.   0.984010;-0.178112;-0.000000;,
  330.   0.000000;1.000000;0.000000;,
  331.   0.000000;1.000000;0.000000;,
  332.   -0.974045;0.226353;-0.000000;,
  333.   0.000000;0.000000;1.000000;,
  334.   0.000000;1.000000;0.000000;,
  335.   0.972744;0.231883;0.000000;,
  336.   0.000000;0.000000;1.000000;,
  337.   0.972744;0.231883;-0.000000;,
  338.   0.000000;-1.000000;0.000000;,
  339.   0.000000;0.000000;1.000000;,
  340.   0.000000;-1.000000;0.000000;,
  341.   -0.977802;-0.209529;0.000000;,
  342.   0.000000;0.000000;1.000000;,
  343.   -0.977802;-0.209529;0.000000;,
  344.   0.000000;-1.000000;0.000000;,
  345.   0.000001;0.000000;1.000000;,
  346.   0.000000;-1.000000;0.000000;,
  347.   0.979559;-0.201159;0.000000;,
  348.   -0.000005;0.000001;1.000000;,
  349.   0.979559;-0.201159;-0.000000;,
  350.   0.000000;-1.000000;0.000000;,
  351.   0.000000;0.000000;1.000000;,
  352.   0.000000;-1.000000;0.000000;,
  353.   -0.974045;0.226353;0.000000;,
  354.   0.000000;0.000000;1.000000;,
  355.   -0.981124;-0.193380;0.000000;,
  356.   0.000000;1.000000;0.000000;,
  357.   0.000000;0.000000;1.000000;,
  358.   -0.981433;-0.191807;0.000000;,
  359.   -0.000000;0.000000;1.000000;,
  360.   -0.982207;-0.187801;-0.000000;,
  361.   0.000000;0.000000;1.000000;,
  362.   -0.983379;-0.181562;-0.000000;,
  363.   0.000000;0.000000;1.000000;,
  364.   -0.985265;-0.171037;-0.000000;,
  365.   0.000000;0.000000;1.000000;,
  366.   -0.988785;-0.149348;-0.000000;,
  367.   0.000000;0.000000;1.000000;,
  368.   -0.990934;-0.134349;0.000000;,
  369.   0.993618;-0.112795;0.000000;,
  370.   0.000000;0.000000;1.000000;,
  371.   0.991568;-0.129587;-0.000000;,
  372.   -0.000000;0.000000;1.000000;,
  373.   0.988112;-0.153738;0.000000;,
  374.   0.000000;0.000000;1.000000;,
  375.   0.986247;-0.165280;-0.000000;,
  376.   0.000000;0.000000;1.000000;,
  377.   0.985085;-0.172070;-0.000000;,
  378.   -0.000000;0.000000;1.000000;,
  379.   0.984317;-0.176410;-0.000000;,
  380.   0.000000;0.000000;1.000000;,
  381.   0.984010;-0.178112;-0.000000;,
  382.   0.000000;1.000000;0.000000;,
  383.   0.000000;0.000000;1.000000;;
  384.  
  385.   84;
  386.   3;37,21,0;,
  387.   3;40,21,37;,
  388.   3;42,21,40;,
  389.   3;44,21,42;,
  390.   3;46,21,44;,
  391.   3;48,21,46;,
  392.   3;50,21,48;,
  393.   3;50,18,21;,
  394.   3;50,15,18;,
  395.   3;3,37,0;,
  396.   3;6,37,3;,
  397.   3;6,35,37;,
  398.   3;6,33,35;,
  399.   3;6,31,33;,
  400.   3;6,29,31;,
  401.   3;6,27,29;,
  402.   3;6,24,27;,
  403.   3;9,24,6;,
  404.   3;12,24,9;,
  405.   3;50,12,15;,
  406.   3;50,24,12;,
  407.   3;1,56,4;,
  408.   3;1,53,56;,
  409.   3;5,59,7;,
  410.   3;5,57,59;,
  411.   3;8,62,10;,
  412.   3;8,60,62;,
  413.   3;11,65,13;,
  414.   3;11,63,65;,
  415.   3;14,68,16;,
  416.   3;14,66,68;,
  417.   3;17,71,19;,
  418.   3;17,69,71;,
  419.   3;20,74,22;,
  420.   3;20,72,74;,
  421.   3;23,54,2;,
  422.   3;23,75,54;,
  423.   3;25,80,28;,
  424.   3;25,77,80;,
  425.   3;28,82,30;,
  426.   3;28,80,82;,
  427.   3;30,84,32;,
  428.   3;30,82,84;,
  429.   3;32,86,34;,
  430.   3;32,84,86;,
  431.   3;34,88,36;,
  432.   3;34,86,88;,
  433.   3;36,90,38;,
  434.   3;36,88,90;,
  435.   3;39,93,41;,
  436.   3;39,91,93;,
  437.   3;41,95,43;,
  438.   3;41,93,95;,
  439.   3;43,97,45;,
  440.   3;43,95,97;,
  441.   3;45,99,47;,
  442.   3;45,97,99;,
  443.   3;47,101,49;,
  444.   3;47,99,101;,
  445.   3;49,103,51;,
  446.   3;49,101,103;,
  447.   3;52,78,26;,
  448.   3;52,104,78;,
  449.   3;76,92,55;,
  450.   3;76,94,92;,
  451.   3;76,96,94;,
  452.   3;76,98,96;,
  453.   3;76,100,98;,
  454.   3;76,102,100;,
  455.   3;76,105,102;,
  456.   3;73,105,76;,
  457.   3;70,105,73;,
  458.   3;92,58,55;,
  459.   3;92,61,58;,
  460.   3;89,61,92;,
  461.   3;87,61,89;,
  462.   3;85,61,87;,
  463.   3;83,61,85;,
  464.   3;81,61,83;,
  465.   3;79,61,81;,
  466.   3;79,64,61;,
  467.   3;79,67,64;,
  468.   3;67,105,70;,
  469.   3;79,105,67;;
  470.  }
  471.  MeshTextureCoords {
  472.   42;
  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.   0.000000;0.000000;,
  490.   0.000000;0.000000;,
  491.   0.000000;0.000000;,
  492.   0.000000;0.000000;,
  493.   0.000000;0.000000;,
  494.   0.000000;0.000000;,
  495.   0.000000;0.000000;,
  496.   0.000000;0.000000;,
  497.   0.000000;0.000000;,
  498.   0.000000;0.000000;,
  499.   0.000000;0.000000;,
  500.   0.000000;0.000000;,
  501.   0.000000;0.000000;,
  502.   0.000000;0.000000;,
  503.   0.000000;0.000000;,
  504.   0.000000;0.000000;,
  505.   0.000000;0.000000;,
  506.   0.000000;0.000000;,
  507.   0.000000;0.000000;,
  508.   0.000000;0.000000;,
  509.   0.000000;0.000000;,
  510.   0.000000;0.000000;,
  511.   0.000000;0.000000;,
  512.   0.000000;0.000000;,
  513.   0.000000;0.000000;,
  514.   0.000000;0.000000;;
  515.  }
  516. }
  517.