home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / so.lzh / so / x / wepon / TIRE.X < prev   
Text File  |  2000-03-10  |  6KB  |  272 lines

  1. xof 0302txt 0064
  2.  
  3. template Header {
  4.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  5.  WORD major;
  6.  WORD minor;
  7.  DWORD flags;
  8. }
  9.  
  10. template Vector {
  11.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  12.  FLOAT x;
  13.  FLOAT y;
  14.  FLOAT z;
  15. }
  16.  
  17. template Coords2d {
  18.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  19.  FLOAT u;
  20.  FLOAT v;
  21. }
  22.  
  23. template Matrix4x4 {
  24.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  25.  array FLOAT matrix[16];
  26. }
  27.  
  28. template ColorRGBA {
  29.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  30.  FLOAT red;
  31.  FLOAT green;
  32.  FLOAT blue;
  33.  FLOAT alpha;
  34. }
  35.  
  36. template ColorRGB {
  37.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  38.  FLOAT red;
  39.  FLOAT green;
  40.  FLOAT blue;
  41. }
  42.  
  43. template IndexedColor {
  44.  <1630B820-7842-11cf-8F52-0040333594A3>
  45.  DWORD index;
  46.  ColorRGBA indexColor;
  47. }
  48.  
  49. template Boolean {
  50.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  51.  WORD truefalse;
  52. }
  53.  
  54. template Boolean2d {
  55.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  56.  Boolean u;
  57.  Boolean v;
  58. }
  59.  
  60. template MaterialWrap {
  61.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  62.  Boolean u;
  63.  Boolean v;
  64. }
  65.  
  66. template TextureFilename {
  67.  <A42790E1-7810-11cf-8F52-0040333594A3>
  68.  STRING filename;
  69. }
  70.  
  71. template Material {
  72.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  73.  ColorRGBA faceColor;
  74.  FLOAT power;
  75.  ColorRGB specularColor;
  76.  ColorRGB emissiveColor;
  77.  [...]
  78. }
  79.  
  80. template MeshFace {
  81.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  82.  DWORD nFaceVertexIndices;
  83.  array DWORD faceVertexIndices[nFaceVertexIndices];
  84. }
  85.  
  86. template MeshFaceWraps {
  87.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  88.  DWORD nFaceWrapValues;
  89.  Boolean2d faceWrapValues;
  90. }
  91.  
  92. template MeshTextureCoords {
  93.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  94.  DWORD nTextureCoords;
  95.  array Coords2d textureCoords[nTextureCoords];
  96. }
  97.  
  98. template MeshMaterialList {
  99.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  100.  DWORD nMaterials;
  101.  DWORD nFaceIndexes;
  102.  array DWORD faceIndexes[nFaceIndexes];
  103.  [Material]
  104. }
  105.  
  106. template MeshNormals {
  107.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  108.  DWORD nNormals;
  109.  array Vector normals[nNormals];
  110.  DWORD nFaceNormals;
  111.  array MeshFace faceNormals[nFaceNormals];
  112. }
  113.  
  114. template MeshVertexColors {
  115.  <1630B821-7842-11cf-8F52-0040333594A3>
  116.  DWORD nVertexColors;
  117.  array IndexedColor vertexColors[nVertexColors];
  118. }
  119.  
  120. template Mesh {
  121.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  122.  DWORD nVertices;
  123.  array Vector vertices[nVertices];
  124.  DWORD nFaces;
  125.  array MeshFace faces[nFaces];
  126.  [...]
  127. }
  128.  
  129. Header {
  130.  1;
  131.  0;
  132.  1;
  133. }
  134.  
  135. Material Mattire {
  136.  1.000000;1.000000;1.000000;1.000000;;
  137.  21.333333;
  138.  0.000000;0.000000;0.000000;;
  139.  0.000000;0.000000;0.000000;;
  140.  TextureFilename {
  141.   "tex/wpn/tire.bmp";
  142.  }
  143. }
  144. Mesh {
  145.  24;
  146.  0.600000;-0.220000;0.000000;,
  147.  0.424264;-0.220000;0.424264;,
  148.  0.000000;-0.220000;0.600000;,
  149.  -0.424264;-0.220000;0.424264;,
  150.  -0.600000;-0.220000;0.000000;,
  151.  -0.424264;-0.220000;-0.424264;,
  152.  -0.000000;-0.220000;-0.600000;,
  153.  0.424264;-0.220000;-0.424264;,
  154.  0.600000;0.220000;0.000000;,
  155.  0.424264;0.220000;0.424264;,
  156.  0.000000;0.220000;0.600000;,
  157.  -0.424264;0.220000;0.424264;,
  158.  -0.600000;0.220000;0.000000;,
  159.  -0.424264;0.220000;-0.424264;,
  160.  -0.000000;0.220000;-0.600000;,
  161.  0.424264;0.220000;-0.424264;,
  162.  0.660000;0.000000;0.000000;,
  163.  0.466690;0.000000;0.466690;,
  164.  0.000000;0.000000;0.660000;,
  165.  -0.466690;0.000000;0.466690;,
  166.  -0.660000;0.000000;0.000000;,
  167.  -0.466690;0.000000;-0.466690;,
  168.  -0.000000;0.000000;-0.660000;,
  169.  0.466690;0.000000;-0.466690;;
  170.  
  171.  18;
  172.  4;1,0,16,17;,
  173.  4;9,17,16,8;,
  174.  4;2,1,17,18;,
  175.  4;10,18,17,9;,
  176.  4;3,2,18,19;,
  177.  4;11,19,18,10;,
  178.  4;4,3,19,20;,
  179.  4;12,20,19,11;,
  180.  4;5,4,20,21;,
  181.  4;13,21,20,12;,
  182.  4;6,5,21,22;,
  183.  4;14,22,21,13;,
  184.  4;7,6,22,23;,
  185.  4;15,23,22,14;,
  186.  4;0,7,23,16;,
  187.  4;8,16,23,15;,
  188.  8;0,1,2,3,4,5,6,7;,
  189.  8;8,15,14,13,12,11,10,9;;
  190.  
  191.  MeshMaterialList {
  192.   1;
  193.   1;
  194.   0;;
  195.   {Mattire}
  196.  }
  197.  MeshNormals {
  198.   24;
  199.   0.543881;-0.639051;0.543881;,
  200.   0.769164;-0.639051;-0.000000;,
  201.   1.000000;0.000000;0.000000;,
  202.   0.707107;0.000000;0.707107;,
  203.   0.543881;0.639051;0.543881;,
  204.   0.769164;0.639051;0.000000;,
  205.   0.000000;-0.639051;0.769164;,
  206.   0.000000;0.000000;1.000000;,
  207.   0.000000;0.639051;0.769164;,
  208.   -0.543881;-0.639051;0.543881;,
  209.   -0.707107;0.000000;0.707107;,
  210.   -0.543881;0.639051;0.543881;,
  211.   -0.769164;-0.639051;-0.000000;,
  212.   -1.000000;0.000000;0.000000;,
  213.   -0.769164;0.639051;0.000000;,
  214.   -0.543881;-0.639051;-0.543881;,
  215.   -0.707107;0.000000;-0.707107;,
  216.   -0.543881;0.639051;-0.543881;,
  217.   0.000000;-0.639051;-0.769164;,
  218.   0.000000;0.000000;-1.000000;,
  219.   0.000000;0.639051;-0.769164;,
  220.   0.543881;-0.639051;-0.543881;,
  221.   0.707107;0.000000;-0.707107;,
  222.   0.543881;0.639051;-0.543881;;
  223.  
  224.   18;
  225.   4;0,1,2,3;,
  226.   4;4,3,2,5;,
  227.   4;6,0,3,7;,
  228.   4;8,7,3,4;,
  229.   4;9,6,7,10;,
  230.   4;11,10,7,8;,
  231.   4;12,9,10,13;,
  232.   4;14,13,10,11;,
  233.   4;15,12,13,16;,
  234.   4;17,16,13,14;,
  235.   4;18,15,16,19;,
  236.   4;20,19,16,17;,
  237.   4;21,18,19,22;,
  238.   4;23,22,19,20;,
  239.   4;1,21,22,2;,
  240.   4;5,2,22,23;,
  241.   8;1,0,6,9,12,15,18,21;,
  242.   8;5,23,20,17,14,11,8,4;;
  243.  }
  244.  MeshTextureCoords {
  245.   24;
  246.   0.980000;0.500000;
  247.   0.839411;0.160589;
  248.   0.500000;0.020000;
  249.   0.160589;0.160589;
  250.   0.020000;0.500000;
  251.   0.160589;0.839411;
  252.   0.500000;0.980000;
  253.   0.839411;0.839411;
  254.   0.980000;0.500000;
  255.   0.839411;0.160589;
  256.   0.500000;0.020000;
  257.   0.160589;0.160589;
  258.   0.020000;0.500000;
  259.   0.160589;0.839411;
  260.   0.500000;0.980000;
  261.   0.839411;0.839411;
  262.   1.028000;0.500000;
  263.   0.873352;0.126648;
  264.   0.500000;-0.028000;
  265.   0.126648;0.126648;
  266.   -0.028000;0.500000;
  267.   0.126648;0.873352;
  268.   0.500000;1.028000;
  269.   0.873352;0.873352;;
  270.  }
  271. }
  272.