Guest User

Typical non-drawn accessory for MMD, saved as .x

a guest
Jun 26th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. xof 0303txt 0032
  2. template Vector {
  3. <3d82ab5e-62da-11cf-ab39-0020af71e433>
  4. FLOAT x;
  5. FLOAT y;
  6. FLOAT z;
  7. }
  8.  
  9. template MeshFace {
  10. <3d82ab5f-62da-11cf-ab39-0020af71e433>
  11. DWORD nFaceVertexIndices;
  12. array DWORD faceVertexIndices[nFaceVertexIndices];
  13. }
  14.  
  15. template Mesh {
  16. <3d82ab44-62da-11cf-ab39-0020af71e433>
  17. DWORD nVertices;
  18. array Vector vertices[nVertices];
  19. DWORD nFaces;
  20. array MeshFace faces[nFaces];
  21. [...]
  22. }
  23.  
  24. template MeshNormals {
  25. <f6f23f43-7686-11cf-8f52-0040333594a3>
  26. DWORD nNormals;
  27. array Vector normals[nNormals];
  28. DWORD nFaceNormals;
  29. array MeshFace faceNormals[nFaceNormals];
  30. }
  31.  
  32. template Coords2d {
  33. <f6f23f44-7686-11cf-8f52-0040333594a3>
  34. FLOAT u;
  35. FLOAT v;
  36. }
  37.  
  38. template MeshTextureCoords {
  39. <f6f23f40-7686-11cf-8f52-0040333594a3>
  40. DWORD nTextureCoords;
  41. array Coords2d textureCoords[nTextureCoords];
  42. }
  43.  
  44. template ColorRGBA {
  45. <35ff44e0-6c7c-11cf-8f52-0040333594a3>
  46. FLOAT red;
  47. FLOAT green;
  48. FLOAT blue;
  49. FLOAT alpha;
  50. }
  51.  
  52. template ColorRGB {
  53. <d3e16e81-7835-11cf-8f52-0040333594a3>
  54. FLOAT red;
  55. FLOAT green;
  56. FLOAT blue;
  57. }
  58.  
  59. template Material {
  60. <3d82ab4d-62da-11cf-ab39-0020af71e433>
  61. ColorRGBA faceColor;
  62. FLOAT power;
  63. ColorRGB specularColor;
  64. ColorRGB emissiveColor;
  65. [...]
  66. }
  67.  
  68. template MeshMaterialList {
  69. <f6f23f42-7686-11cf-8f52-0040333594a3>
  70. DWORD nMaterials;
  71. DWORD nFaceIndexes;
  72. array DWORD faceIndexes[nFaceIndexes];
  73. [Material <3d82ab4d-62da-11cf-ab39-0020af71e433>]
  74. }
  75.  
  76.  
  77. Mesh {
  78. 4;
  79. -1.000000;1.000000;0.000000;,
  80. 1.000000;1.000000;0.000000;,
  81. -1.000000;-1.000000;0.000000;,
  82. 1.000000;-1.000000;0.000000;;
  83. 2;
  84. 3;0,1,2;,
  85. 3;1,3,2;;
  86.  
  87. MeshNormals {
  88. 4;
  89. 0.000000;0.000000;-1.000000;,
  90. 0.000000;0.000000;-1.000000;,
  91. 0.000000;0.000000;-1.000000;,
  92. 0.000000;0.000000;-1.000000;;
  93. 2;
  94. 3;0,1,2;,
  95. 3;1,3,2;;
  96. }
  97.  
  98. MeshTextureCoords {
  99. 4;
  100. 0.000000;0.000000;,
  101. 1.000000;0.000000;,
  102. 0.000000;1.000000;,
  103. 1.000000;1.000000;;
  104. }
  105.  
  106. MeshMaterialList {
  107. 1;
  108. 2;
  109. 0,
  110. 0;
  111.  
  112. Material {
  113. 1.000000;1.000000;1.000000;1.000000;;
  114. 5.000000;
  115. 0.000000;0.000000;0.000000;;
  116. 1.000000;1.000000;1.000000;;
  117. }
  118. }
  119. }
Add Comment
Please, Sign In to add comment