home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2000 July / VPR0007A.BIN / OLS / IDINA101 / idina101.lzh / mesh / p_ms1.x < prev    next >
Text File  |  1999-07-12  |  4KB  |  199 lines

  1. xof 0302txt 0064
  2. // LWS2X generated file 
  3. // (LWS2X (C)1996,1997 A.Koizuka/Bio_100%  mail:koizuka@ss.iij4u.or.jp )
  4. // http://www.ss.iij4u.or.jp/~koizuka/
  5.  
  6. template Header {
  7.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  8.  WORD major;
  9.  WORD minor;
  10.  DWORD flags;
  11. }
  12.  
  13. template Vector {
  14.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  15.  FLOAT x;
  16.  FLOAT y;
  17.  FLOAT z;
  18. }
  19.  
  20. template Coords2d {
  21.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  22.  FLOAT u;
  23.  FLOAT v;
  24. }
  25.  
  26. template Matrix4x4 {
  27.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  28.  array FLOAT matrix[16];
  29. }
  30.  
  31. template ColorRGBA {
  32.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  33.  FLOAT red;
  34.  FLOAT green;
  35.  FLOAT blue;
  36.  FLOAT alpha;
  37. }
  38.  
  39. template ColorRGB {
  40.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  41.  FLOAT red;
  42.  FLOAT green;
  43.  FLOAT blue;
  44. }
  45.  
  46. template IndexedColor {
  47.  <1630B820-7842-11cf-8F52-0040333594A3>
  48.  DWORD index;
  49.  ColorRGBA indexColor;
  50. }
  51.  
  52. template Boolean {
  53.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  54.  WORD truefalse;
  55. }
  56.  
  57. template Boolean2d {
  58.  <4885AE63-78E8-11cf-8F52-0040333594A3>
  59.  Boolean u;
  60.  Boolean v;
  61. }
  62.  
  63. template MaterialWrap {
  64.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  65.  Boolean u;
  66.  Boolean v;
  67. }
  68.  
  69. template TextureFilename {
  70.  <A42790E1-7810-11cf-8F52-0040333594A3>
  71.  STRING filename;
  72. }
  73.  
  74. template Material {
  75.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  76.  ColorRGBA faceColor;
  77.  FLOAT power;
  78.  ColorRGB specularColor;
  79.  ColorRGB emissiveColor;
  80.  [...]
  81. }
  82.  
  83. template MeshFace {
  84.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  85.  DWORD nFaceVertexIndices;
  86.  array DWORD faceVertexIndices[nFaceVertexIndices];
  87. }
  88.  
  89. template MeshFaceWraps {
  90.  <4885AE62-78E8-11cf-8F52-0040333594A3>
  91.  DWORD nFaceWrapValues;
  92.  Boolean2d faceWrapValues;
  93. }
  94.  
  95. template MeshTextureCoords {
  96.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  97.  DWORD nTextureCoords;
  98.  array Coords2d textureCoords[nTextureCoords];
  99. }
  100.  
  101. template MeshMaterialList {
  102.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  103.  DWORD nMaterials;
  104.  DWORD nFaceIndexes;
  105.  array DWORD faceIndexes[nFaceIndexes];
  106.  [Material]
  107. }
  108.  
  109. template MeshNormals {
  110.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  111.  DWORD nNormals;
  112.  array Vector normals[nNormals];
  113.  DWORD nFaceNormals;
  114.  array MeshFace faceNormals[nFaceNormals];
  115. }
  116.  
  117. template MeshVertexColors {
  118.  <1630B821-7842-11cf-8F52-0040333594A3>
  119.  DWORD nVertexColors;
  120.  array IndexedColor vertexColors[nVertexColors];
  121. }
  122.  
  123. template Mesh {
  124.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  125.  DWORD nVertices;
  126.  array Vector vertices[nVertices];
  127.  DWORD nFaces;
  128.  array MeshFace faces[nFaces];
  129.  [...]
  130. }
  131.  
  132. Header {
  133.  1;
  134.  0;
  135.  1;
  136. }
  137.  
  138. Material Matmis1 {
  139.  1.000000;1.000000;1.000000;1.000000;;
  140.  21.333333;
  141.  0.000000;0.000000;0.000000;;
  142.  0.000000;0.000000;0.000000;;
  143. }
  144. Material Matfire1 {
  145.  0.686275;0.274510;0.121569;1.000000;;
  146.  21.333333;
  147.  0.000000;0.000000;0.000000;;
  148.  0.000000;0.000000;0.000000;;
  149. }
  150. Mesh {
  151.  8;
  152.  -0.140634;-0.000132;-0.373128;,
  153.  0.001074;0.141577;0.402747;,
  154.  0.001074;0.141577;-0.373128;,
  155.  -0.140634;-0.000132;0.402747;,
  156.  -0.000069;-0.140697;-0.373128;,
  157.  0.141640;0.001012;0.402747;,
  158.  0.141640;0.001012;-0.373128;,
  159.  -0.000069;-0.140697;0.402747;;
  160.  
  161.  6;
  162.  4;0,3,1,2;,
  163.  4;4,0,2,6;,
  164.  4;6,2,1,5;,
  165.  4;5,1,3,7;,
  166.  4;7,3,0,4;,
  167.  4;4,6,5,7;;
  168.  
  169.  MeshMaterialList {
  170.   2;
  171.   6;
  172.   0,
  173.   1,
  174.   0,
  175.   0,
  176.   0,
  177.   0;;
  178.   {Matmis1}
  179.   {Matfire1}
  180.  }
  181.  MeshNormals {
  182.   6;
  183.   -0.707107;0.707107;0.000000;,
  184.   0.000000;0.000000;-1.000000;,
  185.   0.707107;0.707107;0.000000;,
  186.   0.000000;0.000000;1.000000;,
  187.   -0.707107;-0.707107;0.000000;,
  188.   0.707107;-0.707107;0.000000;;
  189.  
  190.   6;
  191.   4;0,0,0,0;,
  192.   4;1,1,1,1;,
  193.   4;2,2,2,2;,
  194.   4;3,3,3,3;,
  195.   4;4,4,4,4;,
  196.   4;5,5,5,5;;
  197.  }
  198. }
  199.