home *** CD-ROM | disk | FTP | other *** search
/ ring.yamanashi.ac.jp/pub/pc/freem/action/ / action.zip / so.lzh / so / x / map / 工場OBJ.X < prev    next >
Text File  |  2000-03-10  |  6KB  |  296 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 Matwindowx {
  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/map2/ìHÅΩò╟æï.bmp";
  142.  }
  143. }
  144. Mesh {
  145.  36;
  146.  25.000000;10.000000;25.000000;,
  147.  25.000000;15.000000;25.000000;,
  148.  5.000000;10.000000;30.000000;,
  149.  5.000000;15.000000;30.000000;,
  150.  25.000000;15.000000;30.000000;,
  151.  25.000000;10.000000;30.000000;,
  152.  15.000000;10.000000;5.000000;,
  153.  15.000000;15.000000;5.000000;,
  154.  30.000000;15.000000;25.000000;,
  155.  30.000000;10.000000;25.000000;,
  156.  30.000000;15.000000;5.000000;,
  157.  30.000000;10.000000;5.000000;,
  158.  5.000000;10.000000;25.000000;,
  159.  5.000000;15.000000;25.000000;,
  160.  0.000000;10.000000;0.000000;,
  161.  0.000000;15.000000;0.000000;,
  162.  15.000000;15.000000;0.000000;,
  163.  15.000000;10.000000;0.000000;,
  164.  0.000000;15.000000;25.000000;,
  165.  0.000000;10.000000;25.000000;,
  166.  15.000000;15.000000;0.000000;,
  167.  15.000000;10.000000;0.000000;,
  168.  30.000000;15.000000;5.000000;,
  169.  15.000000;15.000000;5.000000;,
  170.  15.000000;10.000000;5.000000;,
  171.  30.000000;10.000000;5.000000;,
  172.  30.000000;15.000000;25.000000;,
  173.  30.000000;10.000000;25.000000;,
  174.  5.000000;10.000000;25.000000;,
  175.  0.000000;10.000000;25.000000;,
  176.  0.000000;15.000000;25.000000;,
  177.  5.000000;15.000000;25.000000;,
  178.  25.000000;10.000000;30.000000;,
  179.  5.000000;10.000000;30.000000;,
  180.  5.000000;15.000000;30.000000;,
  181.  25.000000;15.000000;30.000000;;
  182.  
  183.  20;
  184.  3;14,15,18;,
  185.  3;18,19,14;,
  186.  3;12,13,3;,
  187.  3;3,2,12;,
  188.  3;7,16,17;,
  189.  3;17,6,7;,
  190.  3;8,10,11;,
  191.  3;11,9,8;,
  192.  3;4,1,0;,
  193.  3;0,5,4;,
  194.  3;20,15,14;,
  195.  3;14,21,20;,
  196.  3;22,23,24;,
  197.  3;24,25,22;,
  198.  3;0,1,26;,
  199.  3;26,27,0;,
  200.  3;28,29,30;,
  201.  3;30,31,28;,
  202.  3;32,33,34;,
  203.  3;34,35,32;;
  204.  
  205.  MeshMaterialList {
  206.   1;
  207.   1;
  208.   0;;
  209.   {Matwindowx}
  210.  }
  211.  MeshNormals {
  212.   20;
  213.   1.000000;0.000000;0.000000;,
  214.   1.000000;0.000000;0.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.   -1.000000;0.000000;0.000000;,
  221.   -1.000000;0.000000;0.000000;,
  222.   -1.000000;0.000000;0.000000;,
  223.   0.000000;0.000000;1.000000;,
  224.   0.000000;0.000000;1.000000;,
  225.   0.000000;0.000000;1.000000;,
  226.   0.000000;0.000000;1.000000;,
  227.   0.000000;0.000000;-1.000000;,
  228.   0.000000;0.000000;-1.000000;,
  229.   0.000000;0.000000;-1.000000;,
  230.   0.000000;0.000000;-1.000000;,
  231.   0.000000;0.000000;-1.000000;,
  232.   0.000000;0.000000;-1.000000;;
  233.  
  234.   20;
  235.   3;0,0,0;,
  236.   3;1,1,1;,
  237.   3;2,2,2;,
  238.   3;3,3,3;,
  239.   3;4,4,4;,
  240.   3;5,5,5;,
  241.   3;6,6,6;,
  242.   3;7,7,7;,
  243.   3;8,8,8;,
  244.   3;9,9,9;,
  245.   3;10,10,10;,
  246.   3;11,11,11;,
  247.   3;12,12,12;,
  248.   3;13,13,13;,
  249.   3;14,14,14;,
  250.   3;15,15,15;,
  251.   3;16,16,16;,
  252.   3;17,17,17;,
  253.   3;18,18,18;,
  254.   3;19,19,19;;
  255.  }
  256.  MeshTextureCoords {
  257.   36;
  258.   2.000000;1.000000;
  259.   2.000000;0.000000;
  260.   3.000000;1.000000;
  261.   3.000000;0.000000;
  262.   3.000000;0.000000;
  263.   3.000000;1.000000;
  264.   -2.000000;1.000000;
  265.   -2.000000;0.000000;
  266.   2.000000;0.000000;
  267.   2.000000;1.000000;
  268.   -2.000000;0.000000;
  269.   -2.000000;1.000000;
  270.   2.000000;1.000000;
  271.   2.000000;0.000000;
  272.   -3.000000;1.000000;
  273.   -3.000000;0.000000;
  274.   -3.000000;0.000000;
  275.   -3.000000;1.000000;
  276.   2.000000;0.000000;
  277.   2.000000;1.000000;
  278.   0.000000;0.000000;
  279.   0.000000;1.000000;
  280.   3.000000;0.000000;
  281.   0.000000;0.000000;
  282.   0.000000;1.000000;
  283.   3.000000;1.000000;
  284.   3.000000;0.000000;
  285.   3.000000;1.000000;
  286.   -2.000000;1.000000;
  287.   -3.000000;1.000000;
  288.   -3.000000;0.000000;
  289.   -2.000000;0.000000;
  290.   2.000000;1.000000;
  291.   -2.000000;1.000000;
  292.   -2.000000;0.000000;
  293.   2.000000;0.000000;;
  294.  }
  295. }
  296.