home *** CD-ROM | disk | FTP | other *** search
/ 3DS Max Model 1 / 3dsModelCD1.iso / ALTEROS / setup.exe / #setuppath# / EVIEW3D.DLL / TXT / DIRECTX_TEMPLATES next >
Encoding:
Text File  |  2002-04-04  |  3.0 KB  |  145 lines

  1. template Header {
  2.     <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  3.     WORD major;
  4.     WORD minor;
  5.     DWORD flags;
  6. }
  7. template Boolean {
  8.  <4885AE61-78E8-11cf-8F52-0040333594A3>
  9.  WORD truefalse;
  10. }
  11. template ColorRGBA {
  12.     <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  13.     FLOAT red;
  14.     FLOAT green;
  15.     FLOAT blue;
  16.     FLOAT alpha;
  17. }
  18. template Coords2d {
  19.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  20.  FLOAT u;
  21.  FLOAT v;
  22. }
  23. template Matrix4x4 {
  24.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  25.  array FLOAT matrix[16];
  26. }
  27. template IndexedColor {
  28.  <1630B820-7842-11cf-8F52-0040333594A3>
  29.  DWORD index;
  30.  ColorRGBA indexColor;
  31. }
  32. template MaterialWrap {
  33.  <4885AE60-78E8-11cf-8F52-0040333594A3>
  34.  Boolean u;
  35.  Boolean v;
  36. }
  37. template ColorRGB {
  38.     <D3E16E81-7835-11cf-8F52-0040333594A3>
  39.     FLOAT red;
  40.     FLOAT green;
  41.     FLOAT blue;
  42. }
  43. template TextureFilename {
  44.  <A42790E1-7810-11cf-8F52-0040333594A3>
  45.  STRING filename;
  46. }
  47.  
  48. template Material {
  49.     <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  50.     ColorRGBA faceColor;
  51.     FLOAT power;
  52.     ColorRGB specularColor;
  53.     ColorRGB emissiveColor;
  54.     [...]
  55. }
  56. template Vector {
  57.     <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  58.     FLOAT x;
  59.     FLOAT y;
  60.     FLOAT z;
  61. }
  62. template MeshFace {
  63.     <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  64.     DWORD nFaceVertexIndices;
  65.     array DWORD faceVertexIndices[nFaceVertexIndices];
  66. }
  67. template Mesh {
  68.     <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  69.     DWORD nVertices;
  70.     array Vector vertices[nVertices];
  71.     DWORD nFaces;
  72.     array MeshFace faces[nFaces];
  73.     [...]
  74. }
  75. template MeshMaterialList {
  76.     <F6F23F42-7686-11cf-8F52-0040333594A3>
  77.     DWORD nMaterials;
  78.     DWORD nFaceIndexes;
  79.     array DWORD faceIndexes[nFaceIndexes];
  80.     [Material]
  81. }
  82. //template MeshFaceWraps {
  83. // <4885AE62-78E8-11cf-8F52-0040333594A3>
  84. // DWORD nFaceWrapValues;
  85. // Boolean2d faceWrapValues;
  86. //}
  87. template MeshTextureCoords {
  88.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  89.  DWORD nTextureCoords;
  90.  array Coords2d textureCoords[nTextureCoords];
  91. }
  92. template MeshNormals {
  93.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  94.  DWORD nNormals;
  95.  array Vector normals[nNormals];
  96.  DWORD nFaceNormals;
  97.  array MeshFace faceNormals[nFaceNormals];
  98. }
  99. template MeshVertexColors {
  100.  <1630B821-7842-11cf-8F52-0040333594A3>
  101.  DWORD nVertexColors;
  102.  array IndexedColor vertexColors[nVertexColors];
  103. }
  104. template FrameTransformMatrix {
  105.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  106.  Matrix4x4 frameMatrix;
  107. }
  108.  
  109. template Frame {
  110.     <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  111.     [...]
  112. }
  113.  
  114. template FloatKeys {
  115.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  116.  DWORD nValues;
  117.  array FLOAT values[nValues];
  118. }
  119.  
  120. template TimedFloatKeys {
  121.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  122.  DWORD time;
  123.  FloatKeys tfkeys;
  124. }
  125.  
  126. template AnimationKey {
  127.     <10DD46A8-775B-11cf-8F52-0040333594A3>
  128.     DWORD keyType;
  129.     DWORD nKeys;
  130.     array TimedFloatKeys keys[nKeys];
  131. }
  132. template Animation {
  133.     <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  134.     [...]
  135. }
  136. template AnimationSet {
  137.      <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  138.      [Animation]
  139. }
  140. template AnimationOptions {
  141.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  142.  DWORD openclosed;
  143.  DWORD positionquality;
  144. }
  145.