home *** CD-ROM | disk | FTP | other *** search
/ The 3rd Dimension / TheThirdDimension.iso / data / cylinder.x < prev    next >
Text File  |  1996-06-18  |  10KB  |  485 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.  42;
  136.  1.398658;-1.395240;-0.549473;,
  137.  1.499999;-1.395240;-0.090371;,
  138.  1.454510;-1.395240;0.377577;,
  139.  1.266643;-1.395240;0.808566;,
  140.  0.954788;-1.395240;1.160406;,
  141.  0.549472;-1.395240;1.398658;,
  142.  0.090369;-1.395240;1.499999;,
  143.  -0.377579;-1.395240;1.454509;,
  144.  -0.808567;-1.395240;1.266642;,
  145.  -1.160407;-1.395239;0.954787;,
  146.  -1.398658;-1.395239;0.549471;,
  147.  -1.499999;-1.395239;0.090368;,
  148.  -1.454509;-1.395239;-0.377580;,
  149.  -1.266642;-1.395239;-0.808568;,
  150.  -0.954786;-1.395239;-1.160408;,
  151.  -0.549470;-1.395239;-1.398659;,
  152.  -0.090367;-1.395239;-1.500000;,
  153.  0.377581;-1.395239;-1.454510;,
  154.  0.808569;-1.395239;-1.266642;,
  155.  1.160408;-1.395239;-0.954786;,
  156.  1.398658;1.395239;-0.549472;,
  157.  1.499999;1.395239;-0.090370;,
  158.  1.454510;1.395239;0.377578;,
  159.  1.266643;1.395239;0.808567;,
  160.  0.954788;1.395239;1.160407;,
  161.  0.549472;1.395239;1.398659;,
  162.  0.090369;1.395239;1.500000;,
  163.  -0.377579;1.395239;1.454510;,
  164.  -0.808567;1.395239;1.266643;,
  165.  -1.160407;1.395239;0.954788;,
  166.  -1.398658;1.395240;0.549471;,
  167.  -1.499999;1.395240;0.090369;,
  168.  -1.454509;1.395240;-0.377579;,
  169.  -1.266642;1.395240;-0.808568;,
  170.  -0.954786;1.395240;-1.160408;,
  171.  -0.549470;1.395240;-1.398659;,
  172.  -0.090367;1.395240;-1.499999;,
  173.  0.377581;1.395240;-1.454509;,
  174.  0.808569;1.395240;-1.266641;,
  175.  1.160408;1.395239;-0.954786;,
  176.  0.000000;1.395240;0.000000;,
  177.  0.000000;-1.395240;-0.000000;;
  178.  
  179.  80;
  180.  3;0,21,1;,
  181.  3;0,20,21;,
  182.  3;1,22,2;,
  183.  3;1,21,22;,
  184.  3;2,23,3;,
  185.  3;2,22,23;,
  186.  3;3,24,4;,
  187.  3;3,23,24;,
  188.  3;4,25,5;,
  189.  3;4,24,25;,
  190.  3;5,26,6;,
  191.  3;5,25,26;,
  192.  3;6,27,7;,
  193.  3;6,26,27;,
  194.  3;7,28,8;,
  195.  3;7,27,28;,
  196.  3;8,29,9;,
  197.  3;8,28,29;,
  198.  3;9,30,10;,
  199.  3;9,29,30;,
  200.  3;10,31,11;,
  201.  3;10,30,31;,
  202.  3;11,32,12;,
  203.  3;11,31,32;,
  204.  3;12,33,13;,
  205.  3;12,32,33;,
  206.  3;13,34,14;,
  207.  3;13,33,34;,
  208.  3;14,35,15;,
  209.  3;14,34,35;,
  210.  3;15,36,16;,
  211.  3;15,35,36;,
  212.  3;16,37,17;,
  213.  3;16,36,37;,
  214.  3;17,38,18;,
  215.  3;17,37,38;,
  216.  3;18,39,19;,
  217.  3;18,38,39;,
  218.  3;19,20,0;,
  219.  3;19,39,20;,
  220.  3;1,41,0;,
  221.  3;2,41,1;,
  222.  3;3,41,2;,
  223.  3;4,41,3;,
  224.  3;5,41,4;,
  225.  3;6,41,5;,
  226.  3;7,41,6;,
  227.  3;8,41,7;,
  228.  3;9,41,8;,
  229.  3;10,41,9;,
  230.  3;11,41,10;,
  231.  3;12,41,11;,
  232.  3;13,41,12;,
  233.  3;14,41,13;,
  234.  3;15,41,14;,
  235.  3;16,41,15;,
  236.  3;17,41,16;,
  237.  3;18,41,17;,
  238.  3;19,41,18;,
  239.  3;0,41,19;,
  240.  3;20,40,21;,
  241.  3;21,40,22;,
  242.  3;22,40,23;,
  243.  3;23,40,24;,
  244.  3;24,40,25;,
  245.  3;25,40,26;,
  246.  3;26,40,27;,
  247.  3;27,40,28;,
  248.  3;28,40,29;,
  249.  3;29,40,30;,
  250.  3;30,40,31;,
  251.  3;31,40,32;,
  252.  3;32,40,33;,
  253.  3;33,40,34;,
  254.  3;34,40,35;,
  255.  3;35,40,36;,
  256.  3;36,40,37;,
  257.  3;37,40,38;,
  258.  3;38,40,39;,
  259.  3;39,40,20;;
  260.  
  261.  MeshMaterialList {
  262.   1;
  263.   1;
  264.   0;;
  265.   Material {
  266.    0.000000;1.000000;0.000000;1.000000;;
  267.    27.200001;
  268.    0.819608;0.819608;0.819608;;
  269.    0.000000;0.000000;0.000000;;
  270.   }
  271.  }
  272.  MeshNormals {
  273.   82;
  274.   0.930752;0.000000;-0.365652;,
  275.   0.000000;-1.000000;0.000000;,
  276.   0.998190;0.000000;-0.060138;,
  277.   0.000000;-1.000000;0.000000;,
  278.   0.967919;0.000000;0.251263;,
  279.   0.000000;-1.000000;0.000000;,
  280.   0.842901;0.000000;0.538069;,
  281.   0.000000;-1.000000;0.000000;,
  282.   0.635374;0.000000;0.772205;,
  283.   0.000000;-1.000000;0.000000;,
  284.   0.365652;0.000000;0.930752;,
  285.   -0.000001;-1.000000;0.000000;,
  286.   0.060137;0.000000;0.998190;,
  287.   0.000001;-1.000000;0.000000;,
  288.   -0.251264;0.000000;0.967919;,
  289.   0.000000;-1.000000;0.000000;,
  290.   -0.538069;0.000000;0.842901;,
  291.   0.000000;-1.000000;0.000000;,
  292.   -0.772205;0.000000;0.635373;,
  293.   -0.000001;-1.000000;-0.000001;,
  294.   -0.930752;0.000000;0.365651;,
  295.   0.000000;-1.000000;0.000000;,
  296.   -0.998190;0.000000;0.060137;,
  297.   0.000000;-1.000000;0.000000;,
  298.   -0.967918;0.000000;-0.251264;,
  299.   0.000000;-1.000000;0.000000;,
  300.   -0.842900;0.000000;-0.538070;,
  301.   0.000000;-1.000000;0.000000;,
  302.   -0.635373;0.000000;-0.772206;,
  303.   -0.000001;-1.000000;0.000000;,
  304.   -0.365651;0.000000;-0.930752;,
  305.   0.000000;-1.000000;0.000000;,
  306.   -0.060136;0.000000;-0.998190;,
  307.   0.000000;-1.000000;0.000000;,
  308.   0.251265;0.000000;-0.967918;,
  309.   0.000000;-1.000000;0.000000;,
  310.   0.538071;0.000000;-0.842900;,
  311.   0.000001;-1.000000;0.000000;,
  312.   0.772206;0.000000;-0.635373;,
  313.   0.000000;-1.000000;-0.000001;,
  314.   0.930752;0.000000;-0.365652;,
  315.   0.000000;1.000000;0.000000;,
  316.   0.998190;0.000000;-0.060138;,
  317.   0.000000;1.000000;0.000000;,
  318.   0.967919;0.000000;0.251263;,
  319.   0.000000;1.000000;0.000000;,
  320.   0.842901;0.000000;0.538069;,
  321.   0.000000;1.000000;0.000000;,
  322.   0.635374;0.000000;0.772205;,
  323.   0.000001;1.000000;0.000000;,
  324.   0.365652;0.000000;0.930752;,
  325.   0.000000;1.000000;0.000000;,
  326.   0.060138;0.000000;0.998190;,
  327.   0.000000;1.000000;0.000000;,
  328.   -0.251264;0.000000;0.967919;,
  329.   0.000000;1.000000;0.000000;,
  330.   -0.538069;0.000000;0.842901;,
  331.   -0.000001;1.000000;0.000000;,
  332.   -0.772205;0.000000;0.635373;,
  333.   0.000000;1.000000;0.000001;,
  334.   -0.930752;0.000000;0.365651;,
  335.   0.000000;1.000000;0.000000;,
  336.   -0.998190;0.000000;0.060137;,
  337.   0.000000;1.000000;0.000000;,
  338.   -0.967918;0.000000;-0.251264;,
  339.   0.000000;1.000000;0.000000;,
  340.   -0.842900;0.000000;-0.538070;,
  341.   0.000000;1.000000;0.000000;,
  342.   -0.635373;0.000000;-0.772206;,
  343.   0.000000;1.000000;0.000000;,
  344.   -0.365651;0.000000;-0.930752;,
  345.   0.000001;1.000000;0.000000;,
  346.   -0.060136;0.000000;-0.998190;,
  347.   -0.000001;1.000000;0.000000;,
  348.   0.251265;0.000000;-0.967918;,
  349.   0.000000;1.000000;0.000000;,
  350.   0.538071;0.000000;-0.842900;,
  351.   0.000000;1.000000;0.000000;,
  352.   0.772206;0.000000;-0.635372;,
  353.   0.000001;1.000000;0.000001;,
  354.   0.000000;1.000000;0.000000;,
  355.   0.000000;-1.000000;0.000000;;
  356.  
  357.   80;
  358.   3;0,42,2;,
  359.   3;0,40,42;,
  360.   3;2,44,4;,
  361.   3;2,42,44;,
  362.   3;4,46,6;,
  363.   3;4,44,46;,
  364.   3;6,48,8;,
  365.   3;6,46,48;,
  366.   3;8,50,10;,
  367.   3;8,48,50;,
  368.   3;10,52,12;,
  369.   3;10,50,52;,
  370.   3;12,54,14;,
  371.   3;12,52,54;,
  372.   3;14,56,16;,
  373.   3;14,54,56;,
  374.   3;16,58,18;,
  375.   3;16,56,58;,
  376.   3;18,60,20;,
  377.   3;18,58,60;,
  378.   3;20,62,22;,
  379.   3;20,60,62;,
  380.   3;22,64,24;,
  381.   3;22,62,64;,
  382.   3;24,66,26;,
  383.   3;24,64,66;,
  384.   3;26,68,28;,
  385.   3;26,66,68;,
  386.   3;28,70,30;,
  387.   3;28,68,70;,
  388.   3;30,72,32;,
  389.   3;30,70,72;,
  390.   3;32,74,34;,
  391.   3;32,72,74;,
  392.   3;34,76,36;,
  393.   3;34,74,76;,
  394.   3;36,78,38;,
  395.   3;36,76,78;,
  396.   3;38,40,0;,
  397.   3;38,78,40;,
  398.   3;3,81,1;,
  399.   3;5,81,3;,
  400.   3;7,81,5;,
  401.   3;9,81,7;,
  402.   3;11,81,9;,
  403.   3;13,81,11;,
  404.   3;15,81,13;,
  405.   3;17,81,15;,
  406.   3;19,81,17;,
  407.   3;21,81,19;,
  408.   3;23,81,21;,
  409.   3;25,81,23;,
  410.   3;27,81,25;,
  411.   3;29,81,27;,
  412.   3;31,81,29;,
  413.   3;33,81,31;,
  414.   3;35,81,33;,
  415.   3;37,81,35;,
  416.   3;39,81,37;,
  417.   3;1,81,39;,
  418.   3;41,80,43;,
  419.   3;43,80,45;,
  420.   3;45,80,47;,
  421.   3;47,80,49;,
  422.   3;49,80,51;,
  423.   3;51,80,53;,
  424.   3;53,80,55;,
  425.   3;55,80,57;,
  426.   3;57,80,59;,
  427.   3;59,80,61;,
  428.   3;61,80,63;,
  429.   3;63,80,65;,
  430.   3;65,80,67;,
  431.   3;67,80,69;,
  432.   3;69,80,71;,
  433.   3;71,80,73;,
  434.   3;73,80,75;,
  435.   3;75,80,77;,
  436.   3;77,80,79;,
  437.   3;79,80,41;;
  438.  }
  439.  MeshTextureCoords {
  440.   42;
  441.   0.000000;0.000000;,
  442.   0.000000;0.000000;,
  443.   0.000000;0.000000;,
  444.   0.000000;0.000000;,
  445.   0.000000;0.000000;,
  446.   0.000000;0.000000;,
  447.   0.000000;0.000000;,
  448.   0.000000;0.000000;,
  449.   0.000000;0.000000;,
  450.   0.000000;0.000000;,
  451.   0.000000;0.000000;,
  452.   0.000000;0.000000;,
  453.   0.000000;0.000000;,
  454.   0.000000;0.000000;,
  455.   0.000000;0.000000;,
  456.   0.000000;0.000000;,
  457.   0.000000;0.000000;,
  458.   0.000000;0.000000;,
  459.   0.000000;0.000000;,
  460.   0.000000;0.000000;,
  461.   0.000000;0.000000;,
  462.   0.000000;0.000000;,
  463.   0.000000;0.000000;,
  464.   0.000000;0.000000;,
  465.   0.000000;0.000000;,
  466.   0.000000;0.000000;,
  467.   0.000000;0.000000;,
  468.   0.000000;0.000000;,
  469.   0.000000;0.000000;,
  470.   0.000000;0.000000;,
  471.   0.000000;0.000000;,
  472.   0.000000;0.000000;,
  473.   0.000000;0.000000;,
  474.   0.000000;0.000000;,
  475.   0.000000;0.000000;,
  476.   0.000000;0.000000;,
  477.   0.000000;0.000000;,
  478.   0.000000;0.000000;,
  479.   0.000000;0.000000;,
  480.   0.000000;0.000000;,
  481.   0.000000;0.000000;,
  482.   0.000000;0.000000;;
  483.  }
  484. }
  485.