home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / f.x < prev    next >
Text File  |  1996-05-24  |  6KB  |  331 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.  20;
  136.  -1.196403;3.000000;-0.207467;,
  137.  1.196403;3.000000;-0.207467;,
  138.  1.196403;1.893555;-0.207467;,
  139.  -0.008995;1.893555;-0.207467;,
  140.  -0.008995;0.616192;-0.207466;,
  141.  1.079461;0.616192;-0.207466;,
  142.  1.079461;-0.526239;-0.207466;,
  143.  -0.008995;-0.526239;-0.207466;,
  144.  -0.008995;-3.000000;-0.207466;,
  145.  -1.196403;-3.000000;-0.207466;,
  146.  -1.196403;3.000000;0.207466;,
  147.  1.196403;3.000000;0.207466;,
  148.  1.196403;1.893555;0.207466;,
  149.  -0.008995;1.893555;0.207466;,
  150.  -0.008995;0.616192;0.207466;,
  151.  1.079461;0.616192;0.207466;,
  152.  1.079461;-0.526239;0.207466;,
  153.  -0.008995;-0.526239;0.207466;,
  154.  -0.008995;-3.000000;0.207467;,
  155.  -1.196403;-3.000000;0.207467;;
  156.  
  157.  36;
  158.  3;0,8,9;,
  159.  3;0,7,8;,
  160.  3;7,5,6;,
  161.  3;7,4,5;,
  162.  3;0,4,7;,
  163.  3;0,3,4;,
  164.  3;1,3,0;,
  165.  3;1,2,3;,
  166.  3;0,11,1;,
  167.  3;0,10,11;,
  168.  3;1,12,2;,
  169.  3;1,11,12;,
  170.  3;2,13,3;,
  171.  3;2,12,13;,
  172.  3;3,14,4;,
  173.  3;3,13,14;,
  174.  3;4,15,5;,
  175.  3;4,14,15;,
  176.  3;5,16,6;,
  177.  3;5,15,16;,
  178.  3;6,17,7;,
  179.  3;6,16,17;,
  180.  3;7,18,8;,
  181.  3;7,17,18;,
  182.  3;8,19,9;,
  183.  3;8,18,19;,
  184.  3;9,10,0;,
  185.  3;9,19,10;,
  186.  3;18,10,19;,
  187.  3;17,10,18;,
  188.  3;15,17,16;,
  189.  3;14,17,15;,
  190.  3;14,10,17;,
  191.  3;13,10,14;,
  192.  3;13,11,10;,
  193.  3;12,11,13;;
  194.  
  195.  MeshMaterialList {
  196.   1;
  197.   1;
  198.   0;;
  199.   Material {
  200.    0.000000;1.000000;0.000000;1.000000;;
  201.    27.200001;
  202.    0.819608;0.819608;0.819608;;
  203.    0.000000;0.000000;0.000000;;
  204.   }
  205.  }
  206.  MeshNormals {
  207.   60;
  208.   -0.000000;-0.000000;-1.000000;,
  209.   0.000000;1.000000;0.000000;,
  210.   -1.000000;0.000000;0.000000;,
  211.   -0.000000;-0.000000;-1.000000;,
  212.   0.000000;1.000000;0.000000;,
  213.   1.000000;0.000000;0.000000;,
  214.   -0.000000;-0.000000;-1.000000;,
  215.   1.000000;0.000000;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;-0.000000;-1.000000;,
  221.   1.000000;0.000000;0.000000;,
  222.   0.000000;1.000000;0.000000;,
  223.   -0.000000;-0.000000;-1.000000;,
  224.   0.000000;1.000000;0.000000;,
  225.   1.000000;0.000000;0.000000;,
  226.   -0.000000;-0.000000;-1.000000;,
  227.   1.000000;0.000000;0.000000;,
  228.   0.000000;-1.000000;0.000000;,
  229.   -0.000000;-0.000000;-1.000000;,
  230.   0.000000;-1.000000;0.000000;,
  231.   1.000000;0.000000;0.000000;,
  232.   -0.000000;-0.000000;-1.000000;,
  233.   1.000000;0.000000;0.000000;,
  234.   0.000000;-1.000000;0.000000;,
  235.   -0.000000;-0.000000;-1.000000;,
  236.   0.000000;-1.000000;0.000000;,
  237.   -1.000000;0.000000;0.000000;,
  238.   0.000000;1.000000;0.000000;,
  239.   -1.000000;0.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.   1.000000;0.000000;0.000000;,
  245.   0.000000;-1.000000;0.000000;,
  246.   0.000000;0.000000;1.000000;,
  247.   0.000000;-1.000000;0.000000;,
  248.   1.000000;0.000000;0.000000;,
  249.   0.000000;0.000000;1.000000;,
  250.   1.000000;0.000000;0.000000;,
  251.   0.000000;1.000000;0.000000;,
  252.   0.000000;0.000000;1.000000;,
  253.   0.000000;1.000000;0.000000;,
  254.   1.000000;0.000000;0.000000;,
  255.   0.000000;0.000000;1.000000;,
  256.   1.000000;0.000000;0.000000;,
  257.   0.000000;-1.000000;0.000000;,
  258.   0.000000;0.000000;1.000000;,
  259.   0.000000;-1.000000;0.000000;,
  260.   1.000000;0.000000;0.000000;,
  261.   0.000000;0.000000;1.000000;,
  262.   1.000000;0.000000;0.000000;,
  263.   0.000000;-1.000000;0.000000;,
  264.   0.000000;0.000000;1.000000;,
  265.   0.000000;-1.000000;0.000000;,
  266.   -1.000000;0.000000;0.000000;,
  267.   0.000000;0.000000;1.000000;;
  268.  
  269.   36;
  270.   3;0,24,27;,
  271.   3;0,21,24;,
  272.   3;21,15,18;,
  273.   3;21,12,15;,
  274.   3;0,12,21;,
  275.   3;0,9,12;,
  276.   3;3,9,0;,
  277.   3;3,6,9;,
  278.   3;1,33,4;,
  279.   3;1,30,33;,
  280.   3;5,36,7;,
  281.   3;5,34,36;,
  282.   3;8,39,10;,
  283.   3;8,37,39;,
  284.   3;11,42,13;,
  285.   3;11,40,42;,
  286.   3;14,45,16;,
  287.   3;14,43,45;,
  288.   3;17,48,19;,
  289.   3;17,46,48;,
  290.   3;20,51,22;,
  291.   3;20,49,51;,
  292.   3;23,54,25;,
  293.   3;23,52,54;,
  294.   3;26,57,28;,
  295.   3;26,55,57;,
  296.   3;29,31,2;,
  297.   3;29,58,31;,
  298.   3;56,32,59;,
  299.   3;53,32,56;,
  300.   3;47,53,50;,
  301.   3;44,53,47;,
  302.   3;44,32,53;,
  303.   3;41,32,44;,
  304.   3;41,35,32;,
  305.   3;38,35,41;;
  306.  }
  307.  MeshTextureCoords {
  308.   20;
  309.   0.000000;0.000000;,
  310.   0.000000;0.000000;,
  311.   0.000000;0.000000;,
  312.   0.000000;0.000000;,
  313.   0.000000;0.000000;,
  314.   0.000000;0.000000;,
  315.   0.000000;0.000000;,
  316.   0.000000;0.000000;,
  317.   0.000000;0.000000;,
  318.   0.000000;0.000000;,
  319.   0.000000;0.000000;,
  320.   0.000000;0.000000;,
  321.   0.000000;0.000000;,
  322.   0.000000;0.000000;,
  323.   0.000000;0.000000;,
  324.   0.000000;0.000000;,
  325.   0.000000;0.000000;,
  326.   0.000000;0.000000;,
  327.   0.000000;0.000000;,
  328.   0.000000;0.000000;;
  329.  }
  330. }
  331.