home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 32 / hot34.iso / ficheros / 9GRAF / XVIEWERD.ZIP / XVIEWERF.XVW < prev    next >
Text File  |  1998-03-27  |  4KB  |  226 lines

  1. xof 0303txt 0032
  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.  <537da6a0-ca37-11d0-941c-0080c80cfa7b>
  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.  <ed1ec5c0-c0a8-11d0-941c-0080c80cfa7b>
  87.  DWORD nFaceWrapValues;
  88.  array Boolean2d faceWrapValues[nFaceWrapValues];
  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 <3d82ab4d-62da-11cf-ab39-0020af71e433>]
  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. template FrameFog {
  129.  <F6F23F31-7A86-11cf-8F52-0040333594A3>
  130.  DWORD fogenabled;
  131.  DWORD fogmode;
  132.  FLOAT start;
  133.  FLOAT end;
  134.  FLOAT density;
  135.  D3DCOLOR fcolor;
  136. }
  137.  
  138. template FrameBackground {
  139.  <F6F23F21-7A86-11cf-8F52-0040333594A3>
  140.  D3DCOLOR bcolor;
  141.  STRING filename;
  142. }
  143.  
  144. template FrameLight {
  145.  <F6F23F41-7A86-11cf-8F52-0040333594A3>
  146.  DWORD ltype;
  147.  FLOAT umbra;
  148.  FLOAT penumbra;
  149.  FLOAT range;
  150.  FLOAT constantattenuation;
  151.  FLOAT linearattenuation;
  152.  FLOAT quadraticattenuation;
  153.  D3DCOLOR lcolor;
  154. }
  155.  
  156. template FrameSetRotation {
  157.  <F6F23F49-7686-11cf-8F52-0040333594A3>
  158.  FLOAT x;
  159.  FLOAT y;
  160.  FLOAT z;
  161.  FLOAT theta;
  162. }
  163.  
  164. template Matrix4x4 {
  165.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  166.  array FLOAT matrix[16];
  167. }
  168.  
  169. template FrameTransformMatrix {
  170.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  171.  Matrix4x4 frameMatrix;
  172. }
  173.  
  174. template Frame {
  175.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  176.  [...]
  177. }
  178.  
  179. template FloatKeys {
  180.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  181.  DWORD nValues;
  182.  array FLOAT values[nValues];
  183. }
  184.  
  185. template TimedFloatKeys {
  186.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  187.  DWORD time;
  188.  FloatKeys tfkeys;
  189. }
  190.  
  191. template AnimationKey {
  192.  <10DD46A8-775B-11cf-8F52-0040333594A3>
  193.  DWORD keyType;
  194.  DWORD nKeys;
  195.  array TimedFloatKeys keys[nKeys];
  196. }
  197.  
  198. template AniJTOptions {
  199.  <E2BF56C0-840F-11cf-8F52-004033359433>
  200.  DWORD aniopt;
  201.  DWORD autostart;
  202. }
  203.  
  204. template AnimationOptions {
  205.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  206.  DWORD openclosed;
  207.  DWORD positionquality;
  208. }
  209.  
  210. template Animation {
  211.  <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  212.  [...]
  213. }
  214.  
  215. template AnimationSet {
  216.  <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  217.  [Animation]
  218. }
  219.  
  220.  
  221. Header {
  222.  1;
  223.  0;
  224.  1;
  225. }
  226.