home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / so.lzh / so / x / effect / Bpow.x < prev    next >
Text File  |  2000-03-10  |  5KB  |  260 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 Mathonoo {
  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.   "bmp/ëèÉ┬.bmp";
  142.  }
  143. }
  144. Mesh {
  145.  12;
  146.  1.000000;0.000000;0.000000;,
  147.  0.500000;0.000000;0.866025;,
  148.  -0.500000;0.000000;0.866025;,
  149.  -1.000000;0.000000;0.000000;,
  150.  -0.500000;0.000000;-0.866025;,
  151.  0.500000;0.000000;-0.866025;,
  152.  1.000000;2.000000;0.000000;,
  153.  0.500000;2.000000;0.866025;,
  154.  -0.500000;2.000000;0.866025;,
  155.  -1.000000;2.000000;0.000000;,
  156.  -0.500000;2.000000;-0.866025;,
  157.  0.500000;2.000000;-0.866025;;
  158.  
  159.  24;
  160.  3;0,6,7;,
  161.  3;7,1,0;,
  162.  3;1,7,8;,
  163.  3;8,2,1;,
  164.  3;2,8,9;,
  165.  3;9,3,2;,
  166.  3;3,9,10;,
  167.  3;10,4,3;,
  168.  3;4,10,11;,
  169.  3;11,5,4;,
  170.  3;5,11,6;,
  171.  3;6,0,5;,
  172.  3;7,6,0;,
  173.  3;0,1,7;,
  174.  3;8,7,1;,
  175.  3;1,2,8;,
  176.  3;9,8,2;,
  177.  3;2,3,9;,
  178.  3;10,9,3;,
  179.  3;3,4,10;,
  180.  3;11,10,4;,
  181.  3;4,5,11;,
  182.  3;6,11,5;,
  183.  3;5,0,6;;
  184.  
  185.  MeshMaterialList {
  186.   1;
  187.   1;
  188.   0;;
  189.   {Mathonoo}
  190.  }
  191.  MeshNormals {
  192.   24;
  193.   0.981981;0.000000;0.188982;,
  194.   0.981981;0.000000;-0.188982;,
  195.   0.654654;0.000000;0.755929;,
  196.   0.327327;0.000000;0.944911;,
  197.   -0.327327;0.000000;0.944911;,
  198.   -0.654654;0.000000;0.755929;,
  199.   -0.981981;0.000000;0.188982;,
  200.   -0.981981;0.000000;-0.188982;,
  201.   -0.654654;0.000000;-0.755929;,
  202.   -0.327327;0.000000;-0.944911;,
  203.   0.327327;0.000000;-0.944911;,
  204.   0.654654;0.000000;-0.755929;,
  205.   -0.654654;0.000000;-0.755929;,
  206.   -0.981981;0.000000;0.188982;,
  207.   -0.981981;0.000000;-0.188982;,
  208.   -0.327327;0.000000;-0.944911;,
  209.   0.327327;0.000000;-0.944911;,
  210.   0.654654;0.000000;-0.755929;,
  211.   0.981981;0.000000;-0.188982;,
  212.   0.981981;0.000000;0.188982;,
  213.   0.654654;0.000000;0.755929;,
  214.   0.327327;0.000000;0.944911;,
  215.   -0.327327;0.000000;0.944911;,
  216.   -0.654654;0.000000;0.755929;;
  217.  
  218.   24;
  219.   3;0,1,2;,
  220.   3;2,3,0;,
  221.   3;3,2,4;,
  222.   3;4,5,3;,
  223.   3;5,4,6;,
  224.   3;6,7,5;,
  225.   3;7,6,8;,
  226.   3;8,9,7;,
  227.   3;9,8,10;,
  228.   3;10,11,9;,
  229.   3;11,10,1;,
  230.   3;1,0,11;,
  231.   3;12,13,14;,
  232.   3;14,15,12;,
  233.   3;16,12,15;,
  234.   3;15,17,16;,
  235.   3;18,16,17;,
  236.   3;17,19,18;,
  237.   3;20,18,19;,
  238.   3;19,21,20;,
  239.   3;22,20,21;,
  240.   3;21,23,22;,
  241.   3;13,22,23;,
  242.   3;23,14,13;;
  243.  }
  244.  MeshTextureCoords {
  245.   12;
  246.   1.000000;1.000000;
  247.   0.750000;1.000000;
  248.   0.250000;1.000000;
  249.   0.000000;1.000000;
  250.   0.250000;1.000000;
  251.   0.750000;1.000000;
  252.   1.000000;0.000000;
  253.   0.750000;0.000000;
  254.   0.250000;0.000000;
  255.   0.000000;0.000000;
  256.   0.250000;0.000000;
  257.   0.750000;0.000000;;
  258.  }
  259. }
  260.