pea_proj.x 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. xof 0303txt 0032
  2. //
  3. // DirectX file: \\cpatgfsa01\atg\Graphics-Samples-ATG_Content\XNA_Spacewar\Maya\OBJs\projectiles\pea_proj.x
  4. //
  5. // Converted by the PolyTrans geometry converter from Okino Computer Graphics, Inc.
  6. // Date/time of export: 06/28/2006 17:15:05
  7. //
  8. // Bounding box of geometry = (-100,-100,-100) to (100,100,100).
  9. template Header {
  10. <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  11. WORD major;
  12. WORD minor;
  13. DWORD flags;
  14. }
  15. template Vector {
  16. <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  17. FLOAT x;
  18. FLOAT y;
  19. FLOAT z;
  20. }
  21. template Coords2d {
  22. <F6F23F44-7686-11cf-8F52-0040333594A3>
  23. FLOAT u;
  24. FLOAT v;
  25. }
  26. template Matrix4x4 {
  27. <F6F23F45-7686-11cf-8F52-0040333594A3>
  28. array FLOAT matrix[16];
  29. }
  30. template ColorRGBA {
  31. <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  32. FLOAT red;
  33. FLOAT green;
  34. FLOAT blue;
  35. FLOAT alpha;
  36. }
  37. template ColorRGB {
  38. <D3E16E81-7835-11cf-8F52-0040333594A3>
  39. FLOAT red;
  40. FLOAT green;
  41. FLOAT blue;
  42. }
  43. template IndexedColor {
  44. <1630B820-7842-11cf-8F52-0040333594A3>
  45. DWORD index;
  46. ColorRGBA indexColor;
  47. }
  48. template Boolean {
  49. <4885AE61-78E8-11cf-8F52-0040333594A3>
  50. WORD truefalse;
  51. }
  52. template Boolean2d {
  53. <4885AE63-78E8-11cf-8F52-0040333594A3>
  54. Boolean u;
  55. Boolean v;
  56. }
  57. template MaterialWrap {
  58. <4885AE60-78E8-11cf-8F52-0040333594A3>
  59. Boolean u;
  60. Boolean v;
  61. }
  62. template TextureFilename {
  63. <A42790E1-7810-11cf-8F52-0040333594A3>
  64. STRING filename;
  65. }
  66. template Material {
  67. <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  68. ColorRGBA faceColor;
  69. FLOAT power;
  70. ColorRGB specularColor;
  71. ColorRGB emissiveColor;
  72. [...]
  73. }
  74. template MeshFace {
  75. <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  76. DWORD nFaceVertexIndices;
  77. array DWORD faceVertexIndices[nFaceVertexIndices];
  78. }
  79. template MeshFaceWraps {
  80. <4885AE62-78E8-11cf-8F52-0040333594A3>
  81. DWORD nFaceWrapValues;
  82. Boolean2d faceWrapValues;
  83. }
  84. template MeshTextureCoords {
  85. <F6F23F40-7686-11cf-8F52-0040333594A3>
  86. DWORD nTextureCoords;
  87. array Coords2d textureCoords[nTextureCoords];
  88. }
  89. template MeshMaterialList {
  90. <F6F23F42-7686-11cf-8F52-0040333594A3>
  91. DWORD nMaterials;
  92. DWORD nFaceIndexes;
  93. array DWORD faceIndexes[nFaceIndexes];
  94. [Material]
  95. }
  96. template MeshNormals {
  97. <F6F23F43-7686-11cf-8F52-0040333594A3>
  98. DWORD nNormals;
  99. array Vector normals[nNormals];
  100. DWORD nFaceNormals;
  101. array MeshFace faceNormals[nFaceNormals];
  102. }
  103. template MeshVertexColors {
  104. <1630B821-7842-11cf-8F52-0040333594A3>
  105. DWORD nVertexColors;
  106. array IndexedColor vertexColors[nVertexColors];
  107. }
  108. template Mesh {
  109. <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  110. DWORD nVertices;
  111. array Vector vertices[nVertices];
  112. DWORD nFaces;
  113. array MeshFace faces[nFaces];
  114. [...]
  115. }
  116. template FrameTransformMatrix {
  117. <F6F23F41-7686-11cf-8F52-0040333594A3>
  118. Matrix4x4 frameMatrix;
  119. }
  120. template Frame {
  121. <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  122. [...]
  123. }
  124. Header {
  125. 1; // Major version
  126. 0; // Minor version
  127. 1; // Flags
  128. }
  129. Material xof_default {
  130. 0.400000;0.400000;0.400000;1.000000;;
  131. 32.000000;
  132. 0.700000;0.700000;0.700000;;
  133. 0.000000;0.000000;0.000000;;
  134. }
  135. Material lambert2SG {
  136. 1.0;1.0;1.0;1.000000;;
  137. 32.000000;
  138. 0.000000;0.000000;0.000000;;
  139. 0.000000;0.000000;0.000000;;
  140. TextureFilename {
  141. "..\\textures\\pea_proj.tga";
  142. }
  143. }
  144. Mesh single_mesh_object {
  145. 23; // 23 vertices
  146. -100.000000;-0.000009;0.000000;,
  147. -70.710777;-0.000008;-70.710709;,
  148. -70.710678;-0.000008;70.710678;,
  149. -0.000004;100.000000;0.000000;,
  150. -0.000003;70.710678;70.710678;,
  151. -0.000003;70.710777;-70.710709;,
  152. 0.000000;0.000000;-99.999969;,
  153. 0.000000;0.000000;-99.999969;,
  154. 0.000000;0.000000;-99.999969;,
  155. 0.000000;0.000000;-99.999969;,
  156. 0.000000;0.000000;100.000000;,
  157. 0.000000;0.000000;100.000000;,
  158. 0.000000;0.000000;100.000000;,
  159. 0.000000;0.000000;100.000000;,
  160. 0.000009;-70.710770;-70.710709;,
  161. 0.000009;-70.710770;-70.710709;,
  162. 0.000009;-70.710678;70.710678;,
  163. 0.000009;-70.710678;70.710678;,
  164. 0.000013;-100.000000;0.000000;,
  165. 0.000013;-100.000000;0.000000;,
  166. 70.710678;0.000000;70.710678;,
  167. 70.710777;0.000000;-70.710709;,
  168. 100.000000;0.000000;0.000000;;
  169. 24; // 24 faces
  170. 3;17,2,0;,
  171. 3;17,0,19;,
  172. 3;2,4,3;,
  173. 3;2,3,0;,
  174. 3;4,20,22;,
  175. 3;4,22,3;,
  176. 3;20,16,18;,
  177. 3;20,18,22;,
  178. 3;19,0,1;,
  179. 3;19,1,15;,
  180. 3;0,3,5;,
  181. 3;0,5,1;,
  182. 3;3,22,21;,
  183. 3;3,21,5;,
  184. 3;22,18,14;,
  185. 3;22,14,21;,
  186. 3;2,17,13;,
  187. 3;4,2,12;,
  188. 3;20,4,11;,
  189. 3;16,20,10;,
  190. 3;15,1,9;,
  191. 3;1,5,8;,
  192. 3;5,21,7;,
  193. 3;21,14,6;;
  194. MeshMaterialList {
  195. 1;1;0;;
  196. {lambert2SG}
  197. }
  198. MeshNormals {
  199. 14; // 14 normals
  200. -1.000000;0.000000;0.000001;,
  201. -0.671273;0.000000;-0.741210;,
  202. -0.671273;0.000000;0.741210;,
  203. 0.000000;-1.000000;0.000001;,
  204. 0.000000;-0.671273;-0.741210;,
  205. 0.000000;-0.671273;0.741210;,
  206. 0.000000;0.000000;-1.000000;,
  207. 0.000000;0.000000;1.000000;,
  208. 0.000000;0.671273;-0.741210;,
  209. 0.000000;0.671273;0.741210;,
  210. 0.000000;1.000000;0.000001;,
  211. 0.671273;0.000000;-0.741210;,
  212. 0.671273;0.000000;0.741210;,
  213. 1.000000;0.000000;0.000001;;
  214. 24; // 24 faces
  215. 3;5,2,0;,
  216. 3;5,0,3;,
  217. 3;2,9,10;,
  218. 3;2,10,0;,
  219. 3;9,12,13;,
  220. 3;9,13,10;,
  221. 3;12,5,3;,
  222. 3;12,3,13;,
  223. 3;3,0,1;,
  224. 3;3,1,4;,
  225. 3;0,10,8;,
  226. 3;0,8,1;,
  227. 3;10,13,11;,
  228. 3;10,11,8;,
  229. 3;13,3,4;,
  230. 3;13,4,11;,
  231. 3;2,5,7;,
  232. 3;9,2,7;,
  233. 3;12,9,7;,
  234. 3;5,12,7;,
  235. 3;4,1,6;,
  236. 3;1,8,6;,
  237. 3;8,11,6;,
  238. 3;11,4,6;;
  239. } // End of Normals
  240. MeshTextureCoords {
  241. 23; // 23 texture coords
  242. 0.250000;0.500000;,
  243. 0.250000;0.250000;,
  244. 0.250000;0.750000;,
  245. 0.500000;0.500000;,
  246. 0.500000;0.750000;,
  247. 0.500000;0.250000;,
  248. 0.875000;0.000000;,
  249. 0.625000;0.000000;,
  250. 0.375000;0.000000;,
  251. 0.125000;0.000000;,
  252. 0.875000;1.000000;,
  253. 0.625000;1.000000;,
  254. 0.375000;1.000000;,
  255. 0.125000;1.000000;,
  256. 1.000000;0.250000;,
  257. 0.000000;0.250000;,
  258. 1.000000;0.750000;,
  259. 0.000000;0.750000;,
  260. 1.000000;0.500000;,
  261. 0.000000;0.500000;,
  262. 0.750000;0.750000;,
  263. 0.750000;0.250000;,
  264. 0.750000;0.500000;;
  265. } // End of texture coords
  266. } // End of Mesh