home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / z.x < prev   
Text File  |  1996-05-24  |  6KB  |  295 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.  16;
  136.  -1.637175;3.000000;-0.213301;,
  137.  1.889047;3.000000;-0.213301;,
  138.  -0.161918;-1.875565;-0.213300;,
  139.  1.718138;-1.875565;-0.213301;,
  140.  1.718138;-3.000000;-0.213300;,
  141.  -1.889047;-3.000000;-0.213300;,
  142.  0.107949;1.866564;-0.213301;,
  143.  -1.637175;1.866564;-0.213301;,
  144.  -1.637175;3.000000;0.213300;,
  145.  1.889047;3.000000;0.213300;,
  146.  -0.161918;-1.875565;0.213301;,
  147.  1.718138;-1.875565;0.213301;,
  148.  1.718138;-3.000000;0.213301;,
  149.  -1.889047;-3.000000;0.213301;,
  150.  0.107949;1.866564;0.213300;,
  151.  -1.637175;1.866564;0.213301;;
  152.  
  153.  28;
  154.  3;0,6,7;,
  155.  3;1,6,0;,
  156.  3;2,6,1;,
  157.  3;2,5,6;,
  158.  3;2,4,5;,
  159.  3;3,4,2;,
  160.  3;0,9,1;,
  161.  3;0,8,9;,
  162.  3;1,10,2;,
  163.  3;1,9,10;,
  164.  3;2,11,3;,
  165.  3;2,10,11;,
  166.  3;3,12,4;,
  167.  3;3,11,12;,
  168.  3;4,13,5;,
  169.  3;4,12,13;,
  170.  3;5,14,6;,
  171.  3;5,13,14;,
  172.  3;6,15,7;,
  173.  3;6,14,15;,
  174.  3;7,8,0;,
  175.  3;7,15,8;,
  176.  3;14,8,15;,
  177.  3;14,9,8;,
  178.  3;14,10,9;,
  179.  3;13,10,14;,
  180.  3;12,10,13;,
  181.  3;12,11,10;;
  182.  
  183.  MeshMaterialList {
  184.   1;
  185.   1;
  186.   0;;
  187.   Material {
  188.    0.000000;1.000000;0.000000;1.000000;;
  189.    27.200001;
  190.    0.819608;0.819608;0.819608;;
  191.    0.000000;0.000000;0.000000;;
  192.   }
  193.  }
  194.  MeshNormals {
  195.   48;
  196.   -0.000000;-0.000000;-1.000000;,
  197.   0.000000;1.000000;0.000000;,
  198.   -1.000000;0.000000;0.000000;,
  199.   -0.000000;-0.000000;-1.000000;,
  200.   0.000000;1.000000;0.000000;,
  201.   0.921764;-0.387751;0.000000;,
  202.   -0.000000;-0.000000;-1.000000;,
  203.   0.921764;-0.387751;0.000000;,
  204.   0.000000;1.000000;0.000000;,
  205.   -0.000000;-0.000000;-1.000000;,
  206.   0.000000;1.000000;0.000000;,
  207.   1.000000;0.000000;0.000000;,
  208.   -0.000000;-0.000000;-1.000000;,
  209.   1.000000;0.000000;0.000000;,
  210.   0.000000;-1.000000;0.000000;,
  211.   -0.000000;-0.000000;-1.000000;,
  212.   0.000000;-1.000000;0.000000;,
  213.   -0.925138;0.379631;0.000000;,
  214.   -0.000000;-0.000000;-1.000000;,
  215.   -0.925138;0.379631;0.000000;,
  216.   0.000000;-1.000000;0.000000;,
  217.   -0.000000;-0.000000;-1.000000;,
  218.   0.000000;-1.000000;0.000000;,
  219.   -1.000000;0.000000;0.000000;,
  220.   0.000000;1.000000;0.000000;,
  221.   -1.000000;0.000000;0.000000;,
  222.   0.000000;0.000000;1.000000;,
  223.   0.000000;1.000000;0.000000;,
  224.   0.921764;-0.387751;0.000000;,
  225.   0.000000;0.000000;1.000000;,
  226.   0.921764;-0.387751;0.000000;,
  227.   0.000000;1.000000;0.000000;,
  228.   0.000000;0.000000;1.000000;,
  229.   0.000000;1.000000;0.000000;,
  230.   1.000000;0.000000;0.000000;,
  231.   0.000000;0.000000;1.000000;,
  232.   1.000000;0.000000;0.000000;,
  233.   0.000000;-1.000000;0.000000;,
  234.   0.000000;0.000000;1.000000;,
  235.   0.000000;-1.000000;0.000000;,
  236.   -0.925138;0.379631;0.000000;,
  237.   0.000000;0.000000;1.000000;,
  238.   -0.925138;0.379631;0.000000;,
  239.   0.000000;-1.000000;0.000000;,
  240.   0.000000;0.000000;1.000000;,
  241.   0.000000;-1.000000;0.000000;,
  242.   -1.000000;0.000000;0.000000;,
  243.   0.000000;0.000000;1.000000;;
  244.  
  245.   28;
  246.   3;0,18,21;,
  247.   3;3,18,0;,
  248.   3;6,18,3;,
  249.   3;6,15,18;,
  250.   3;6,12,15;,
  251.   3;9,12,6;,
  252.   3;1,27,4;,
  253.   3;1,24,27;,
  254.   3;5,30,7;,
  255.   3;5,28,30;,
  256.   3;8,33,10;,
  257.   3;8,31,33;,
  258.   3;11,36,13;,
  259.   3;11,34,36;,
  260.   3;14,39,16;,
  261.   3;14,37,39;,
  262.   3;17,42,19;,
  263.   3;17,40,42;,
  264.   3;20,45,22;,
  265.   3;20,43,45;,
  266.   3;23,25,2;,
  267.   3;23,46,25;,
  268.   3;44,26,47;,
  269.   3;44,29,26;,
  270.   3;44,32,29;,
  271.   3;41,32,44;,
  272.   3;38,32,41;,
  273.   3;38,35,32;;
  274.  }
  275.  MeshTextureCoords {
  276.   16;
  277.   0.000000;0.000000;,
  278.   0.000000;0.000000;,
  279.   0.000000;0.000000;,
  280.   0.000000;0.000000;,
  281.   0.000000;0.000000;,
  282.   0.000000;0.000000;,
  283.   0.000000;0.000000;,
  284.   0.000000;0.000000;,
  285.   0.000000;0.000000;,
  286.   0.000000;0.000000;,
  287.   0.000000;0.000000;,
  288.   0.000000;0.000000;,
  289.   0.000000;0.000000;,
  290.   0.000000;0.000000;,
  291.   0.000000;0.000000;,
  292.   0.000000;0.000000;;
  293.  }
  294. }
  295.