home *** CD-ROM | disk | FTP | other *** search
/ Classic Fond 58 / ClassicFond58.iso / games / or.rar / ART / BLDG7.X < prev    next >
Text File  |  1997-05-29  |  5KB  |  259 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 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-bldg7 {
  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,5.000000,-5.000000,1.000000;;
  149.  }
  150. Mesh bldg7 {
  151.  20;
  152.  -5.000000;-5.000000;5.000000;,
  153.  -5.000000;-5.000000;-5.000000;,
  154.  -5.000000;5.000000;-5.000000;,
  155.  -5.000000;5.000000;-5.000000;,
  156.  -5.000000;5.000000;5.000000;,
  157.  -5.000000;5.000000;5.000000;,
  158.  5.000000;-5.000000;-5.000000;,
  159.  5.000000;5.000000;-5.000000;,
  160.  5.000000;5.000000;-5.000000;,
  161.  5.000000;-5.000000;5.000000;,
  162.  5.000000;5.000000;5.000000;,
  163.  5.000000;5.000000;5.000000;,
  164.  5.000000;5.000000;5.000000;,
  165.  5.000000;-5.000000;5.000000;,
  166.  5.000000;5.000000;-5.000000;,
  167.  5.000000;-5.000000;-5.000000;,
  168.  -5.000000;5.000000;5.000000;,
  169.  -5.000000;5.000000;-5.000000;,
  170.  -5.000000;-5.000000;-5.000000;,
  171.  -5.000000;-5.000000;5.000000;;
  172.  
  173.  5;
  174.  4;5,3,1,0;,
  175.  4;2,8,6,18;,
  176.  4;7,11,9,15;,
  177.  4;10,4,19,13;,
  178.  4;12,14,17,16;;
  179.  
  180.  MeshMaterialList {
  181.   2;
  182.   5;
  183.   0,
  184.   0,
  185.   0,
  186.   0,
  187.   1;
  188. Material {
  189.  0.000000;0.000000;1.000000;1.000000;;
  190.  50.000000;
  191.  1.000000;1.000000;1.000000;;
  192.  0.000000;0.000000;0.000000;;
  193.  TextureFilename {
  194.   "window1.ppm";
  195.  }
  196.  }
  197. Material {
  198.  1.000000;1.000000;1.000000;1.000000;;
  199.  50.000000;
  200.  1.000000;1.000000;1.000000;;
  201.  0.000000;0.000000;0.000000;;
  202.  }
  203. }
  204.  MeshNormals {
  205.   20;
  206.   -1.000000;0.000000;0.000000;,
  207.   -1.000000;0.000000;0.000000;,
  208.   -1.000000;0.000000;0.000000;,
  209.   -1.000000;0.000000;0.000000;,
  210.   -1.000000;0.000000;0.000000;,
  211.   -1.000000;0.000000;0.000000;,
  212.   0.000000;0.000000;-1.000000;,
  213.   0.000000;0.000000;-1.000000;,
  214.   0.000000;0.000000;-1.000000;,
  215.   1.000000;0.000000;0.000000;,
  216.   1.000000;0.000000;0.000000;,
  217.   1.000000;0.000000;0.000000;,
  218.   1.000000;0.000000;0.000000;,
  219.   1.000000;0.000000;0.000000;,
  220.   0.000000;0.000000;-1.000000;,
  221.   0.000000;0.000000;-1.000000;,
  222.   -1.000000;0.000000;0.000000;,
  223.   -1.000000;0.000000;0.000000;,
  224.   -1.000000;0.000000;0.000000;,
  225.   -1.000000;0.000000;0.000000;;
  226.  
  227.   5;
  228.   4;5,3,1,0;,
  229.   4;2,8,6,18;,
  230.   4;7,11,9,15;,
  231.   4;10,4,19,13;,
  232.   4;12,14,17,16;;
  233.  }
  234.  MeshTextureCoords { 
  235.  20;
  236.  3.000000;0.000000;,
  237.  0.000000;0.000000;,
  238.  3.000000;2.000000;,
  239.  0.000000;2.000000;,
  240.  0.000000;2.000000;,
  241.  3.000000;2.000000;,
  242.  0.000000;0.000000;,
  243.  3.000000;2.000000;,
  244.  0.000000;2.000000;,
  245.  0.000000;0.000000;,
  246.  3.000000;2.000000;,
  247.  0.000000;2.000000;,
  248.  0.000000;0.000000;,
  249.  3.000000;0.000000;,
  250.  0.000000;0.000000;,
  251.  3.000000;0.000000;,
  252.  0.000000;0.000000;,
  253.  0.000000;0.000000;,
  254.  3.000000;0.000000;,
  255.  0.000000;0.000000;;
  256.  }
  257. }
  258. }
  259.