home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 58 / ClassicFond58.iso / games / or.rar / ART / WINDMILL.X < prev    next >
Text File  |  1998-02-04  |  15KB  |  564 lines

  1. xof 0302txt 0032
  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 TextureFilename {
  43.  <A42790E1-7810-11cf-8F52-0040333594A3>
  44.  STRING filename;
  45. }
  46.  
  47. template Material {
  48.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  49.  ColorRGBA faceColor;
  50.  FLOAT power;
  51.  ColorRGB specularColor;
  52.  ColorRGB emissiveColor;
  53.  [...]
  54. }
  55.  
  56. template MeshFace {
  57.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  58.  DWORD nFaceVertexIndices;
  59.  array DWORD faceVertexIndices[nFaceVertexIndices];
  60. }
  61.  
  62. template MeshTextureCoords {
  63.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  64.  DWORD nTextureCoords;
  65.  array Coords2d textureCoords[nTextureCoords];
  66. }
  67.  
  68. template MeshMaterialList {
  69.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  70.  DWORD nMaterials;
  71.  DWORD nFaceIndexes;
  72.  array DWORD faceIndexes[nFaceIndexes];
  73.  [Material]
  74. }
  75.  
  76. template MeshNormals {
  77.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  78.  DWORD nNormals;
  79.  array Vector normals[nNormals];
  80.  DWORD nFaceNormals;
  81.  array MeshFace faceNormals[nFaceNormals];
  82. }
  83.  
  84. template Mesh {
  85.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  86.  DWORD nVertices;
  87.  array Vector vertices[nVertices];
  88.  DWORD nFaces;
  89.  array MeshFace faces[nFaces];
  90.  [...]
  91. }
  92.  
  93. template FrameTransformMatrix {
  94.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  95.  Matrix4x4 frameMatrix;
  96. }
  97.  
  98. template Frame {
  99.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  100.  [...]
  101. }
  102. template FloatKeys {
  103.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  104.  DWORD nValues;
  105.  array FLOAT values[nValues];
  106. }
  107.  
  108. template TimedFloatKeys {
  109.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  110.  DWORD time;
  111.  FloatKeys tfkeys;
  112. }
  113.  
  114. template AnimationKey {
  115.  <10DD46A8-775B-11cf-8F52-0040333594A3>
  116.  DWORD keyType;
  117.  DWORD nKeys;
  118.  array TimedFloatKeys keys[nKeys];
  119. }
  120.  
  121. template AnimationOptions {
  122.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  123.  DWORD openclosed;
  124.  DWORD positionquality;
  125. }
  126.  
  127. template Animation {
  128.  <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  129.  [...]
  130. }
  131.  
  132. template AnimationSet {
  133.  <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  134.  [Animation]
  135. }
  136.  
  137. Header {
  138.  1;
  139.  0;
  140.  1;
  141. }
  142.  
  143. Frame frm-dummyRoot {
  144.   FrameTransformMatrix {
  145. 1.000000,0.000000,0.000000,0.000000,
  146. 0.000000,1.000000,0.000000,0.000000,
  147. 0.000000,0.000000,1.000000,0.000000,
  148. 0.000000,0.000000,0.000000,1.000000;;
  149.  }
  150. Frame frm-cube1 {
  151.   FrameTransformMatrix {
  152. 1.000000,0.000000,0.000000,0.000000,
  153. 0.000000,1.000000,0.000000,0.000000,
  154. 0.000000,0.000000,1.000000,0.000000,
  155. 0.000000,0.000000,0.000000,1.000000;;
  156.  }
  157. Mesh cube1 {
  158.  35;
  159.  -2.510340;3.000000;2.510340;,
  160.  -2.510340;3.000000;2.510340;,
  161.  -2.510340;3.000000;2.510340;,
  162.  -2.510340;3.000000;-2.510340;,
  163.  -2.510340;3.000000;-2.510340;,
  164.  -2.510340;3.000000;-2.510340;,
  165.  -1.807445;10.000000;1.807445;,
  166.  -1.807445;10.000000;1.807445;,
  167.  -1.807445;10.000000;-1.807445;,
  168.  -1.807445;10.000000;-1.807445;,
  169.  2.510340;3.000000;2.510340;,
  170.  2.510340;3.000000;2.510340;,
  171.  2.510340;3.000000;2.510340;,
  172.  2.510340;3.000000;-2.510340;,
  173.  2.510340;3.000000;-2.510340;,
  174.  2.510340;3.000000;-2.510340;,
  175.  1.807445;10.000000;1.807445;,
  176.  1.807445;10.000000;1.807445;,
  177.  1.807445;10.000000;-1.807445;,
  178.  2.510340;0.000000;2.510340;,
  179.  -2.510340;0.000000;2.510340;,
  180.  2.510340;0.000000;-2.510340;,
  181.  -2.510340;0.000000;-2.510340;,
  182.  -2.510340;0.000000;-2.510340;,
  183.  2.510340;0.000000;-2.510340;,
  184.  -2.510340;0.000000;2.510340;,
  185.  2.510340;0.000000;2.510340;,
  186.  1.807445;10.000000;-1.807445;,
  187.  1.807445;10.000000;1.807445;,
  188.  2.510340;3.000000;-2.510340;,
  189.  2.510340;3.000000;2.510340;,
  190.  -1.807445;10.000000;-1.807445;,
  191.  -1.807445;10.000000;1.807445;,
  192.  -2.510340;3.000000;-2.510340;,
  193.  -2.510340;3.000000;2.510340;;
  194.  
  195.  9;
  196.  4;7,9,5,2;,
  197.  4;8,18,15,4;,
  198.  4;27,17,12,14;,
  199.  4;16,6,1,11;,
  200.  4;22,20,0,3;,
  201.  4;28,27,31,32;,
  202.  4;25,19,10,34;,
  203.  4;26,21,13,30;,
  204.  4;24,23,33,29;;
  205.  
  206.  MeshMaterialList {
  207.   1;
  208.   9;
  209.   0,
  210.   0,
  211.   0,
  212.   0,
  213.   0,
  214.   0,
  215.   0,
  216.   0,
  217.   0;
  218. Material {
  219.  0.371813;0.249770;0.096273;1.000000;;
  220.  50.000000;
  221.  0.000000;0.000000;0.000000;;
  222.  0.0; 0.0; 0.0;;
  223.  TextureFilename {
  224.   "wndmill1_256.ppm";
  225.  }
  226.  }
  227. }
  228.  MeshNormals {
  229.   35;
  230.   -0.705340;0.070648;0.705340;,
  231.   -0.705340;0.070648;0.705340;,
  232.   -0.705340;0.070648;0.705340;,
  233.   -0.705340;0.070648;-0.705340;,
  234.   -0.705340;0.070648;-0.705340;,
  235.   -0.705340;0.070648;-0.705340;,
  236.   -0.538063;0.648827;0.538063;,
  237.   -0.538063;0.648827;0.538063;,
  238.   -0.538063;0.648827;-0.538063;,
  239.   -0.538063;0.648827;-0.538063;,
  240.   0.705340;0.070648;0.705340;,
  241.   0.705340;0.070648;0.705340;,
  242.   0.705340;0.070648;0.705340;,
  243.   0.705340;0.070648;-0.705340;,
  244.   0.705340;0.070648;-0.705340;,
  245.   0.705340;0.070648;-0.705340;,
  246.   0.538063;0.648827;0.538063;,
  247.   0.538063;0.648827;0.538063;,
  248.   0.538063;0.648827;-0.538063;,
  249.   0.707107;0.000000;0.707107;,
  250.   -0.707107;0.000000;0.707107;,
  251.   0.707107;0.000000;-0.707107;,
  252.   -0.707107;0.000000;-0.707107;,
  253.   -0.707107;0.000000;-0.707107;,
  254.   0.707107;0.000000;-0.707107;,
  255.   -0.707107;0.000000;0.707107;,
  256.   0.707107;0.000000;0.707107;,
  257.   0.538063;0.648827;-0.538063;,
  258.   0.538063;0.648827;0.538063;,
  259.   0.705340;0.070648;-0.705340;,
  260.   0.705340;0.070648;0.705340;,
  261.   -0.538063;0.648827;-0.538063;,
  262.   -0.538063;0.648827;0.538063;,
  263.   -0.705340;0.070648;-0.705340;,
  264.   -0.705340;0.070648;0.705340;;
  265.  
  266.   9;
  267.   4;7,9,5,2;,
  268.   4;8,18,15,4;,
  269.   4;27,17,12,14;,
  270.   4;16,6,1,11;,
  271.   4;22,20,0,3;,
  272.   4;28,27,31,32;,
  273.   4;25,19,10,34;,
  274.   4;26,21,13,30;,
  275.   4;24,23,33,29;;
  276.  }
  277.  MeshTextureCoords { 
  278.  35;
  279.  1.000000;0.700000;,
  280.  1.000000;0.700000;,
  281.  0.000000;0.700000;,
  282.  0.000000;0.700000;,
  283.  0.000000;0.700000;,
  284.  1.000000;0.700000;,
  285.  0.860000;0.000000;,
  286.  0.140000;0.000000;,
  287.  0.140000;0.000000;,
  288.  0.860000;0.000000;,
  289.  1.000000;0.700000;,
  290.  0.000000;0.700000;,
  291.  1.000000;0.700000;,
  292.  1.000000;0.700000;,
  293.  0.000000;0.700000;,
  294.  1.000000;0.700000;,
  295.  0.140000;0.000000;,
  296.  0.860000;0.000000;,
  297.  0.860000;0.000000;,
  298.  1.000000;1.000000;,
  299.  1.000000;1.000000;,
  300.  1.000000;1.000000;,
  301.  0.000000;1.000000;,
  302.  1.000000;1.000000;,
  303.  0.000000;1.000000;,
  304.  0.000000;1.000000;,
  305.  0.000000;1.000000;,
  306.  0.140000;0.000000;,
  307.  0.000000;0.700000;,
  308.  0.000000;0.700000;,
  309.  0.000000;0.700000;,
  310.  0.860000;0.000000;,
  311.  1.000000;0.700000;,
  312.  1.000000;0.700000;,
  313.  0.000000;0.700000;;
  314.  }
  315. }
  316. }
  317. Frame frm-face2 {
  318.   FrameTransformMatrix {
  319. 1.000000,0.000000,0.000000,0.000000,
  320. 0.000000,0.996191,-0.087200,0.000000,
  321. 0.000000,0.087200,0.996191,0.000000,
  322. 0.000000,8.500000,-2.000000,1.000000;;
  323.  }
  324. Mesh face2 {
  325.  20;
  326.  -2.007943;-6.476897;-0.290248;,
  327.  1.992057;6.523102;-0.290248;,
  328.  -6.507942;2.023101;-0.290248;,
  329.  6.492058;-1.976898;-0.290248;,
  330.  6.492058;1.023102;-0.290248;,
  331.  6.492058;-0.976898;-0.290248;,
  332.  -6.507942;-0.976898;-0.290248;,
  333.  -6.507942;1.023102;-0.290248;,
  334.  -1.007943;6.523102;-0.290248;,
  335.  0.992057;6.523102;-0.290248;,
  336.  0.992057;-6.476897;-0.290248;,
  337.  -1.007943;-6.476897;-0.290248;,
  338.  0.915937;-0.359581;-0.290248;,
  339.  0.374741;-0.900778;-0.290248;,
  340.  -0.390626;-0.900778;-0.290248;,
  341.  -0.931822;-0.359582;-0.290248;,
  342.  -0.931822;0.405785;-0.290248;,
  343.  -0.390626;0.946981;-0.290248;,
  344.  0.374741;0.946981;-0.290248;,
  345.  0.915937;0.405785;-0.290248;;
  346.  
  347.  11;
  348.  4;14,15,16,17;,
  349.  4;18,19,12,13;,
  350.  4;17,18,13,14;,
  351.  4;10,11,14,13;,
  352.  4;8,9,18,17;,
  353.  4;6,7,16,15;,
  354.  4;4,5,12,19;,
  355.  3;3,12,5;,
  356.  3;2,16,7;,
  357.  3;1,18,9;,
  358.  3;0,14,11;;
  359.  
  360.  MeshMaterialList {
  361.   2;
  362.   11;
  363.   0,
  364.   0,
  365.   0,
  366.   1,
  367.   1,
  368.   1,
  369.   1,
  370.   1,
  371.   1,
  372.   1,
  373.   1;
  374. Material {
  375.  0.769026;0.621808;0.436648;1.000000;;
  376.  50.000000;
  377.  0.000000;0.000000;0.000000;;
  378.  0.0; 0.0; 0.0;;
  379.  }
  380. Material {
  381.  0.746039;0.641347;0.530557;1.000000;;
  382.  50.000000;
  383.  0.014184;0.000000;0.000000;;
  384.  0.0; 0.0; 0.0;;
  385.  }
  386. }
  387.  MeshNormals {
  388.   20;
  389.   0.000000;0.000000;-1.000000;,
  390.   0.000000;0.000000;-1.000000;,
  391.   0.000000;0.000000;-1.000000;,
  392.   -0.000000;-0.000000;-1.000000;,
  393.   -0.000000;0.000000;-1.000000;,
  394.   -0.000000;-0.000000;-1.000000;,
  395.   0.000000;0.000000;-1.000000;,
  396.   0.000000;0.000000;-1.000000;,
  397.   0.000000;0.000000;-1.000000;,
  398.   0.000000;0.000000;-1.000000;,
  399.   0.000000;0.000000;-1.000000;,
  400.   0.000000;0.000000;-1.000000;,
  401.   -0.000000;-0.000000;-1.000000;,
  402.   0.000000;0.00000