home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / act3d204.LZH / tama.x < prev    next >
Text File  |  2009-05-18  |  5KB  |  277 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.  22;
  136.  -0.00120;0.41240;0.02310;,
  137.  0.21738;0.33773;-0.04792;,
  138.  -0.00120;0.33773;-0.20672;,
  139.  0.13389;0.33773;0.20903;,
  140.  -0.13629;0.33773;0.20903;,
  141.  -0.21978;0.33773;-0.04792;,
  142.  0.35246;0.14223;-0.09181;,
  143.  -0.00120;0.14223;-0.34876;,
  144.  0.21738;0.14223;0.32394;,
  145.  -0.21978;0.14223;0.32394;,
  146.  -0.35486;0.14223;-0.09181;,
  147.  0.35246;-0.09943;-0.09181;,
  148.  -0.00120;-0.09943;-0.34876;,
  149.  0.21738;-0.09943;0.32394;,
  150.  -0.21978;-0.09943;0.32394;,
  151.  -0.35486;-0.09943;-0.09181;,
  152.  0.21738;-0.29493;-0.04792;,
  153.  -0.00120;-0.29493;-0.20672;,
  154.  0.13389;-0.29493;0.20903;,
  155.  -0.13629;-0.29493;0.20903;,
  156.  -0.21978;-0.29493;-0.04792;,
  157.  -0.00120;-0.36960;0.02310;;
  158.  
  159.  25;
  160.  3;0,1,2;,
  161.  3;0,3,1;,
  162.  3;0,4,3;,
  163.  3;0,5,4;,
  164.  3;0,2,5;,
  165.  4;2,1,6,7;,
  166.  4;1,3,8,6;,
  167.  4;3,4,9,8;,
  168.  4;4,5,10,9;,
  169.  4;5,2,7,10;,
  170.  4;7,6,11,12;,
  171.  4;6,8,13,11;,
  172.  4;8,9,14,13;,
  173.  4;9,10,15,14;,
  174.  4;10,7,12,15;,
  175.  4;12,11,16,17;,
  176.  4;11,13,18,16;,
  177.  4;13,14,19,18;,
  178.  4;14,15,20,19;,
  179.  4;15,12,17,20;,
  180.  3;17,16,21;,
  181.  3;16,18,21;,
  182.  3;18,19,21;,
  183.  3;19,20,21;,
  184.  3;20,17,21;;
  185.  
  186.  MeshMaterialList {
  187.   1;
  188.   25;
  189.   0,
  190.   0,
  191.   0,
  192.   0,
  193.   0,
  194.   0,
  195.   0,
  196.   0,
  197.   0,
  198.   0,
  199.   0,
  200.   0,
  201.   0,
  202.   0,
  203.   0,
  204.   0,
  205.   0,
  206.   0,
  207.   0,
  208.   0,
  209.   0,
  210.   0,
  211.   0,
  212.   0,
  213.   0;;
  214.   Material {
  215.    0.298039;0.352941;0.352941;1.000000;;
  216.    50.000000;
  217.    0.490000;0.490000;0.490000;;
  218.    0.286118;0.338824;0.338824;;
  219.   }
  220.  }
  221.  MeshNormals {
  222.   26;
  223.   0.000000;1.000000;0.000000;,
  224.   0.000000;0.820657;-0.571421;,
  225.   0.543453;0.820657;-0.176579;,
  226.   0.335873;0.820657;0.462289;,
  227.   -0.335873;0.820657;0.462289;,
  228.   -0.543453;0.820657;-0.176579;,
  229.   0.567160;0.262580;-0.780629;,
  230.   0.917684;0.262580;0.298174;,
  231.   -0.000000;0.262580;0.964910;,
  232.   -0.917684;0.262580;0.298173;,
  233.   0.567160;-0.262580;-0.780629;,
  234.   0.917684;-0.262580;0.298174;,
  235.   -0.000000;-0.262580;0.964910;,
  236.   -0.917684;-0.262580;0.298173;,
  237.   0.184662;-0.860989;-0.473917;,
  238.   0.393658;-0.860989;-0.322072;,
  239.   0.427956;-0.860989;0.274866;,
  240.   -0.129167;-0.860989;0.491949;,
  241.   -0.507786;-0.860989;0.029175;,
  242.   0.000000;-1.000000;-0.000000;,
  243.   -0.567160;0.262580;-0.780629;,
  244.   -0.567160;-0.262580;-0.780629;,
  245.   0.819909;-0.506732;0.266405;,
  246.   -0.000000;-0.506732;0.862104;,
  247.   -0.819909;-0.506732;0.266405;,
  248.   -0.506732;-0.506732;-0.697457;;
  249.   25;
  250.   3;0,2,1;,
  251.   3;0,3,2;,
  252.   3;0,4,3;,
  253.   3;0,5,4;,
  254.   3;0,1,5;,
  255.   4;1,2,6,6;,
  256.   4;2,3,7,7;,
  257.   4;3,4,8,8;,
  258.   4;4,5,9,9;,
  259.   4;5,1,20,20;,
  260.   4;6,6,10,10;,
  261.   4;7,7,11,11;,
  262.   4;8,8,12,12;,
  263.   4;9,9,13,13;,
  264.   4;20,20,21,21;,
  265.   4;10,10,15,14;,
  266.   4;11,11,16,22;,
  267.   4;12,12,17,23;,
  268.   4;13,13,18,24;,
  269.   4;21,21,25,25;,
  270.   3;14,15,19;,
  271.   3;15,16,19;,
  272.   3;16,17,19;,
  273.   3;17,18,19;,
  274.   3;18,14,19;;
  275.  }
  276. }
  277.