home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / act3d204.LZH / grassworld2bt.x < prev    next >
Text File  |  2001-06-16  |  9KB  |  515 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.  81;
  136.  -9.05086;0.00004;9.97737;,
  137.  -6.57273;0.00004;9.97737;,
  138.  -6.57273;0.00004;7.49924;,
  139.  -9.05086;0.00004;7.49924;,
  140.  -4.09460;0.00004;9.97737;,
  141.  -4.09460;0.00004;7.49924;,
  142.  -1.61646;0.00004;9.97737;,
  143.  -1.61646;0.00004;7.49924;,
  144.  0.86167;0.00004;9.97737;,
  145.  0.86167;0.00004;7.49924;,
  146.  3.33980;0.00004;9.97737;,
  147.  3.33980;0.00004;7.49924;,
  148.  5.81794;0.00004;9.97737;,
  149.  5.81794;0.00004;7.49924;,
  150.  8.29608;0.00004;9.97737;,
  151.  8.29608;0.00004;7.49924;,
  152.  10.77420;0.00004;9.97737;,
  153.  10.77420;0.00004;7.49924;,
  154.  -6.57273;0.00004;5.02111;,
  155.  -9.05086;0.00004;5.02111;,
  156.  -4.09460;0.00004;5.02111;,
  157.  -1.61646;0.00004;5.02111;,
  158.  0.86167;0.00004;5.02111;,
  159.  3.33980;0.00004;5.02111;,
  160.  5.81794;0.00004;5.02111;,
  161.  8.29608;0.00004;5.02111;,
  162.  10.77420;0.00004;5.02111;,
  163.  -6.57273;0.00004;2.54297;,
  164.  -9.05086;0.00004;2.54297;,
  165.  -4.09460;0.00004;2.54297;,
  166.  -1.61646;0.00004;2.54297;,
  167.  0.86167;0.00004;2.54297;,
  168.  3.33980;0.00004;2.54297;,
  169.  5.81794;0.00004;2.54297;,
  170.  8.29608;0.00004;2.54297;,
  171.  10.77420;0.00004;2.54297;,
  172.  -6.57273;0.00004;0.06484;,
  173.  -9.05086;0.00004;0.06484;,
  174.  -4.09460;0.00004;0.06484;,
  175.  -1.61646;0.00004;0.06484;,
  176.  0.86167;0.00004;0.06484;,
  177.  3.33980;0.00004;0.06484;,
  178.  5.81794;0.00004;0.06484;,
  179.  8.29608;0.00004;0.06484;,
  180.  10.77420;0.00004;0.06484;,
  181.  -6.57273;0.00004;-2.41329;,
  182.  -9.05086;0.00004;-2.41329;,
  183.  -4.09460;0.00004;-2.41329;,
  184.  -1.61646;0.00004;-2.41329;,
  185.  0.86167;0.00004;-2.41329;,
  186.  3.33980;0.00004;-2.41329;,
  187.  5.81794;0.00004;-2.41329;,
  188.  8.29608;0.00004;-2.41329;,
  189.  10.77420;0.00004;-2.41329;,
  190.  -6.57273;0.00004;-4.89142;,
  191.  -9.05086;0.00004;-4.89142;,
  192.  -4.09460;0.00004;-4.89142;,
  193.  -1.61646;0.00004;-4.89142;,
  194.  0.86167;0.00004;-4.89142;,
  195.  3.33980;0.00004;-4.89142;,
  196.  5.81794;0.00004;-4.89142;,
  197.  8.29608;0.00004;-4.89142;,
  198.  10.77420;0.00004;-4.89142;,
  199.  -6.57273;0.00004;-7.36955;,
  200.  -9.05086;0.00004;-7.36955;,
  201.  -4.09460;0.00004;-7.36955;,
  202.  -1.61646;0.00004;-7.36955;,
  203.  0.86167;0.00004;-7.36955;,
  204.  3.33980;0.00004;-7.36955;,
  205.  5.81794;0.00004;-7.36955;,
  206.  8.29608;0.00004;-7.36955;,
  207.  10.77420;0.00004;-7.36955;,
  208.  -6.57273;0.00004;-9.84768;,
  209.  -9.05086;0.00004;-9.84768;,
  210.  -4.09460;0.00004;-9.84768;,
  211.  -1.61646;0.00004;-9.84768;,
  212.  0.86167;0.00004;-9.84768;,
  213.  3.33980;0.00004;-9.84768;,
  214.  5.81794;0.00004;-9.84768;,
  215.  8.29608;0.00004;-9.84768;,
  216.  10.77420;0.00004;-9.84768;;
  217.  
  218.  64;
  219.  4;0,1,2,3;,
  220.  4;1,4,5,2;,
  221.  4;4,6,7,5;,
  222.  4;6,8,9,7;,
  223.  4;8,10,11,9;,
  224.  4;10,12,13,11;,
  225.  4;12,14,15,13;,
  226.  4;14,16,17,15;,
  227.  4;3,2,18,19;,
  228.  4;2,5,20,18;,
  229.  4;5,7,21,20;,
  230.  4;7,9,22,21;,
  231.  4;9,11,23,22;,
  232.  4;11,13,24,23;,
  233.  4;13,15,25,24;,
  234.  4;15,17,26,25;,
  235.  4;19,18,27,28;,
  236.  4;18,20,29,27;,
  237.  4;20,21,30,29;,
  238.  4;21,22,31,30;,
  239.  4;22,23,32,31;,
  240.  4;23,24,33,32;,
  241.  4;24,25,34,33;,
  242.  4;25,26,35,34;,
  243.  4;28,27,36,37;,
  244.  4;27,29,38,36;,
  245.  4;29,30,39,38;,
  246.  4;30,31,40,39;,
  247.  4;31,32,41,40;,
  248.  4;32,33,42,41;,
  249.  4;33,34,43,42;,
  250.  4;34,35,44,43;,
  251.  4;37,36,45,46;,
  252.  4;36,38,47,45;,
  253.  4;38,39,48,47;,
  254.  4;39,40,49,48;,
  255.  4;40,41,50,49;,
  256.  4;41,42,51,50;,
  257.  4;42,43,52,51;,
  258.  4;43,44,53,52;,
  259.  4;46,45,54,55;,
  260.  4;45,47,56,54;,
  261.  4;47,48,57,56;,
  262.  4;48,49,58,57;,
  263.  4;49,50,59,58;,
  264.  4;50,51,60,59;,
  265.  4;51,52,61,60;,
  266.  4;52,53,62,61;,
  267.  4;55,54,63,64;,
  268.  4;54,56,65,63;,
  269.  4;56,57,66,65;,
  270.  4;57,58,67,66;,
  271.  4;58,59,68,67;,
  272.  4;59,60,69,68;,
  273.  4;60,61,70,69;,
  274.  4;61,62,71,70;,
  275.  4;64,63,72,73;,
  276.  4;63,65,74,72;,
  277.  4;65,66,75,74;,
  278.  4;66,67,76,75;,
  279.  4;67,68,77,76;,
  280.  4;68,69,78,77;,
  281.  4;69,70,79,78;,
  282.  4;70,71,80,79;;
  283.  
  284.  MeshMaterialList {
  285.   1;
  286.   64;
  287.   0,
  288.   0,
  289.   0,
  290.   0,
  291.   0,
  292.   0,
  293.   0,
  294.   0,
  295.   0,
  296.   0,
  297.   0,
  298.   0,
  299.   0,
  300.   0,
  301.   0,
  302.   0,
  303.   0,
  304.   0,
  305.   0,
  306.   0,
  307.   0,
  308.   0,
  309.   0,
  310.   0,
  311.   0,
  312.   0,
  313.   0,
  314.   0,
  315.   0,
  316.   0,
  317.   0,
  318.   0,
  319.   0,
  320.   0,
  321.   0,
  322.   0,
  323.   0,
  324.   0,
  325.   0,
  326.   0,
  327.   0,
  328.   0,
  329.   0,
  330.   0,
  331.   0,
  332.   0,
  333.   0,
  334.   0,
  335.   0,
  336.   0,
  337.   0,
  338.   0,
  339.   0,
  340.   0,
  341.   0,
  342.   0,
  343.   0,
  344.   0,
  345.   0,
  346.   0,
  347.   0,
  348.   0,
  349.   0,
  350.   0;;
  351.   Material {
  352.    0.420000;1.000000;0.067000;1.000000;;
  353.    7.410000;
  354.    0.000000;0.000000;0.000000;;
  355.    0.105000;0.250000;0.016750;;
  356.    TextureFilename {
  357.     "grass1s.bmp";
  358.    }
  359.   }
  360.  }
  361.  MeshNormals {
  362.   1;
  363.   0.000000;1.000000;0.000000;;
  364.   64;
  365.   4;0,0,0,0;,
  366.   4;0,0,0,0;,
  367.   4;0,0,0,0;,
  368.   4;0,0,0,0;,
  369.   4;0,0,0,0;,
  370.   4;0,0,0,0;,
  371.   4;0,0,0,0;,
  372.   4;0,0,0,0;,
  373.   4;0,0,0,0;,
  374.   4;0,0,0,0;,
  375.   4;0,0,0,0;,
  376.   4;0,0,0,0;,
  377.   4;0,0,0,0;,
  378.   4;0,0,0,0;,
  379.   4;0,0,0,0;,
  380.   4;0,0,0,0;,
  381.   4;0,0,0,0;,
  382.   4;0,0,0,0;,
  383.   4;0,0,0,0;,
  384.   4;0,0,0,0;,
  385.   4;0,0,0,0;,
  386.   4;0,0,0,0;,
  387.   4;0,0,0,0;,
  388.   4;0,0,0,0;,
  389.   4;0,0,0,0;,
  390.   4;0,0,0,0;,
  391.   4;0,0,0,0;,
  392.   4;0,0,0,0;,
  393.   4;0,0,0,0;,
  394.   4;0,0,0,0;,
  395.   4;0,0,0,0;,
  396.   4;0,0,0,0;,
  397.   4;0,0,0,0;,
  398.   4;0,0,0,0;,
  399.   4;0,0,0,0;,
  400.   4;0,0,0,0;,
  401.   4;0,0,0,0;,
  402.   4;0,0,0,0;,
  403.   4;0,0,0,0;,
  404.   4;0,0,0,0;,
  405.   4;0,0,0,0;,
  406.   4;0,0,0,0;,
  407.   4;0,0,0,0;,
  408.   4;0,0,0,0;,
  409.   4;0,0,0,0;,
  410.   4;0,0,0,0;,
  411.   4;0,0,0,0;,
  412.   4;0,0,0,0;,
  413.   4;0,0,0,0;,
  414.   4;0,0,0,0;,
  415.   4;0,0,0,0;,
  416.   4;0,0,0,0;,
  417.   4;0,0,0,0;,
  418.   4;0,0,0,0;,
  419.   4;0,0,0,0;,
  420.   4;0,0,0,0;,
  421.   4;0,0,0,0;,
  422.   4;0,0,0,0;,
  423.   4;0,0,0,0;,
  424.   4;0,0,0,0;,
  425.   4;0,0,0,0;,
  426.   4;0,0,0,0;,
  427.   4;0,0,0,0;,
  428.   4;0,0,0,0;;
  429.  }
  430.  MeshTextureCoords {
  431.   81;
  432.   0.000000;0.000000;
  433.   0.125000;0.000000;
  434.   0.125000;0.125000;
  435.   0.000000;0.125000;
  436.   0.250000;0.000000;
  437.   0.250000;0.125000;
  438.   0.375000;0.000000;
  439.   0.375000;0.125000;
  440.   0.500000;0.000000;
  441.   0.500000;0.125000;
  442.   0.625000;0.000000;
  443.   0.625000;0.125000;
  444.   0.750000;0.000000;
  445.   0.750000;0.125000;
  446.   0.875000;0.000000;
  447.   0.875000;0.125000;
  448.   1.000000;0.000000;
  449.   1.000000;0.125000;
  450.   0.125000;0.250000;
  451.   0.000000;0.250000;
  452.   0.250000;0.250000;
  453.   0.375000;0.250000;
  454.   0.500000;0.250000;
  455.   0.625000;0.250000;
  456.   0.750000;0.250000;
  457.   0.875000;0.250000;
  458.   1.000000;0.250000;
  459.   0.125000;0.375000;
  460.   0.000000;0.375000;
  461.   0.250000;0.375000;
  462.   0.375000;0.375000;
  463.   0.500000;0.375000;
  464.   0.625000;0.375000;
  465.   0.750000;0.375000;
  466.   0.875000;0.375000;
  467.   1.000000;0.375000;
  468.   0.125000;0.500000;
  469.   0.000000;0.500000;
  470.   0.250000;0.500000;
  471.   0.375000;0.500000;
  472.   0.500000;0.500000;
  473.   0.625000;0.500000;
  474.   0.750000;0.500000;
  475.   0.875000;0.500000;
  476.   1.000000;0.500000;
  477.   0.125000;0.625000;
  478.   0.000000;0.625000;
  479.   0.250000;0.625000;
  480.   0.375000;0.625000;
  481.   0.500000;0.625000;
  482.   0.625000;0.625000;
  483.   0.750000;0.625000;
  484.   0.875000;0.625000;
  485.   1.000000;0.625000;
  486.   0.125000;0.750000;
  487.   0.000000;0.750000;
  488.   0.250000;0.750000;
  489.   0.375000;0.750000;
  490.   0.500000;0.750000;
  491.   0.625000;0.750000;
  492.   0.750000;0.750000;
  493.   0.875000;0.750000;
  494.   1.000000;0.750000;
  495.   0.125000;0.875000;
  496.   0.000000;0.875000;
  497.   0.250000;0.875000;
  498.   0.375000;0.875000;
  499.   0.500000;0.875000;
  500.   0.625000;0.875000;
  501.   0.750000;0.875000;
  502.   0.875000;0.875000;
  503.   1.000000;0.875000;
  504.   0.125000;1.000000;
  505.   0.000000;1.000000;
  506.   0.250000;1.000000;
  507.   0.375000;1.000000;
  508.   0.500000;1.000000;
  509.   0.625000;1.000000;
  510.   0.750000;1.000000;
  511.   0.875000;1.000000;
  512.   1.000000;1.000000;;
  513.  }
  514. }
  515.