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