xof 0302txt 0064 template Header { <3D82AB43-62DA-11cf-AB39-0020AF71E433> WORD major; WORD minor; DWORD flags; } template Vector { <3D82AB5E-62DA-11cf-AB39-0020AF71E433> FLOAT x; FLOAT y; FLOAT z; } template Coords2d { FLOAT u; FLOAT v; } template Matrix4x4 { array FLOAT matrix[16]; } template ColorRGBA { <35FF44E0-6C7C-11cf-8F52-0040333594A3> FLOAT red; FLOAT green; FLOAT blue; FLOAT alpha; } template ColorRGB { FLOAT red; FLOAT green; FLOAT blue; } template IndexedColor { <1630B820-7842-11cf-8F52-0040333594A3> DWORD index; ColorRGBA indexColor; } template Boolean { <4885AE61-78E8-11cf-8F52-0040333594A3> WORD truefalse; } template Boolean2d { <4885AE63-78E8-11cf-8F52-0040333594A3> Boolean u; Boolean v; } template MaterialWrap { <4885AE60-78E8-11cf-8F52-0040333594A3> Boolean u; Boolean v; } template TextureFilename { STRING filename; } template Material { <3D82AB4D-62DA-11cf-AB39-0020AF71E433> ColorRGBA faceColor; FLOAT power; ColorRGB specularColor; ColorRGB emissiveColor; [...] } template MeshFace { <3D82AB5F-62DA-11cf-AB39-0020AF71E433> DWORD nFaceVertexIndices; array DWORD faceVertexIndices[nFaceVertexIndices]; } template MeshFaceWraps { <4885AE62-78E8-11cf-8F52-0040333594A3> DWORD nFaceWrapValues; Boolean2d faceWrapValues; } template MeshTextureCoords { DWORD nTextureCoords; array Coords2d textureCoords[nTextureCoords]; } template MeshMaterialList { DWORD nMaterials; DWORD nFaceIndexes; array DWORD faceIndexes[nFaceIndexes]; [Material] } template MeshNormals { DWORD nNormals; array Vector normals[nNormals]; DWORD nFaceNormals; array MeshFace faceNormals[nFaceNormals]; } template MeshVertexColors { <1630B821-7842-11cf-8F52-0040333594A3> DWORD nVertexColors; array IndexedColor vertexColors[nVertexColors]; } template Mesh { <3D82AB44-62DA-11cf-AB39-0020AF71E433> DWORD nVertices; array Vector vertices[nVertices]; DWORD nFaces; array MeshFace faces[nFaces]; [...] } Header{ 1; 0; 1; } Mesh cheese_tex3d{ 48; 0.05000;0.05000;-0.05000;, 0.05000;0.05000;0.05000;, 0.05000;0.00488;-0.00488;, 0.05000;-0.05000;0.05000;, 0.05000;-0.00429;0.00429;, 0.05000;0.00571;0.00512;, 0.05000;-0.05000;-0.05000;, 0.05000;-0.00429;-0.00488;, 0.05000;0.00488;-0.00488;, 0.04500;0.00571;0.00512;, 0.04500;0.00571;-0.00488;, 0.04500;-0.00429;-0.00488;, 0.05000;0.00488;-0.00488;, 0.04500;0.00571;-0.00488;, 0.04500;-0.00429;0.00512;, 0.05000;-0.00429;0.00429;, 0.04500;-0.00429;-0.00488;, 0.05000;-0.00429;-0.00488;, 0.05000;-0.00429;-0.00488;, 0.04500;-0.00429;0.00512;, 0.04500;0.00571;0.00512;, 0.05000;0.00571;0.00512;, 0.05000;-0.00429;0.00429;, 0.05000;0.00571;0.00512;, -0.05000;0.05000;-0.05000;, 0.05000;0.05000;-0.05000;, 0.05000;-0.05000;-0.05000;, -0.05000;-0.05000;-0.05000;, 0.05000;0.05000;0.05000;, -0.05000;0.05000;0.05000;, -0.05000;-0.05000;0.05000;, 0.05000;-0.05000;0.05000;, -0.05000;0.05000;0.05000;, -0.05000;0.05000;-0.05000;, -0.05000;-0.05000;-0.05000;, -0.05000;-0.05000;0.05000;, -0.05000;0.05000;0.05000;, 0.05000;0.05000;0.05000;, 0.05000;0.05000;-0.05000;, -0.05000;0.05000;-0.05000;, -0.05000;-0.05000;-0.05000;, 0.05000;-0.05000;-0.05000;, 0.05000;-0.05000;0.05000;, -0.05000;-0.05000;0.05000;, 0.04500;0.00571;0.00512;, 0.04500;-0.00429;0.00512;, 0.04500;-0.00429;-0.00488;, 0.04500;0.00571;-0.00488;; 22; 3;0,1,2;, 3;3,4,5;, 3;3,5,1;, 3;1,5,2;, 3;0,2,6;, 3;3,6,4;, 3;6,2,7;, 3;4,6,7;, 3;8,9,10;, 3;11,12,13;, 3;14,15,16;, 3;12,11,17;, 3;15,18,16;, 3;19,20,21;, 3;21,22,19;, 3;23,9,8;, 4;24,25,26,27;, 4;28,29,30,31;, 4;32,33,34,35;, 4;36,37,38,39;, 4;40,41,42,43;, 4;44,45,46,47;; PhysicalMaterial{ 1; //float ns; ///< 抗力のばね係数 1; //float nd; ///< 抗力のダンパ係数 1; //float fs; ///< 摩擦力のばね係数 1; //float fd; ///< 摩擦力のダンパ係数 1; //float s; ///< 最大静止摩擦係数//0.3 0.5; //float d; ///< 動摩擦係数//0.3 } MeshMaterialList { 1; 22; 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0;; Material { 0.800000;0.800000;0.800000;1.000000;; 5.000000; 0.000000;0.000000;0.000000;; 0.000000;0.000000;0.000000;; TextureFilename { "newnegi_tex3d_0.PNG"; } } } MeshNormals { 17; 1.000000;0.000000;-0.000000;, -0.163328;-0.986572;0.000000;, 0.000000;0.000000;1.000000;, -0.082009;-0.995770;0.041431;, -0.000000;1.000000;0.000000;, 0.000000;0.000000;-1.000000;, 0.000000;0.000000;1.000000;, 0.000000;0.000000;1.000000;, -0.000000;1.000000;-0.000000;, 0.000000;0.000000;1.000000;, 0.000000;1.000000;-0.000000;, -0.081735;0.040877;-0.995815;, -0.162787;0.081413;-0.983297;, 0.000000;-0.996590;0.082513;, -1.000000;0.000000;0.000000;, 0.000000;1.000000;0.000000;, 0.000000;-1.000000;-0.000000;; 22; 3;0,0,0;, 3;0,0,0;, 3;0,0,0;, 3;0,0,0;, 3;0,0,0;, 3;0,0,0;, 3;0,0,0;, 3;0,0,0;, 3;3,3,1;, 3;2,2,7;, 3;4,8,8;, 3;2,2,9;, 3;8,10,8;, 3;11,5,11;, 3;11,12,11;, 3;13,3,3;, 4;5,5,5,5;, 4;6,6,6,6;, 4;14,14,14,14;, 4;15,15,15,15;, 4;16,16,16,16;, 4;0,0,0,0;; } MeshTextureCoords { 48; 0.006410;0.006410;, 0.326923;0.006410;, 0.151020;0.151020;, 0.326923;0.326923;, 0.180418;0.180418;, 0.183072;0.148367;, 0.006410;0.326923;, 0.151020;0.180418;, 0.022440;0.673077;, 0.006410;0.705128;, 0.006410;0.673077;, 0.355773;0.705128;, 0.339744;0.675731;, 0.355773;0.673077;, 0.673077;0.673077;, 0.689106;0.675731;, 0.673077;0.705128;, 0.339744;0.705128;, 0.689106;0.705128;, 0.035260;0.705128;, 0.035260;0.673077;, 0.051290;0.673077;, 0.051290;0.705128;, 0.022440;0.705128;, 0.339744;0.006410;, 0.660256;0.006410;, 0.660256;0.326923;, 0.339744;0.326923;, 0.006410;0.339744;, 0.326923;0.339744;, 0.326923;0.660256;, 0.006410;0.660256;, 0.339744;0.339744;, 0.660256;0.339744;, 0.660256;0.660256;, 0.339744;0.660256;, 0.673077;0.006410;, 0.993590;0.006410;, 0.993590;0.326923;, 0.673077;0.326923;, 0.673077;0.339744;, 0.993590;0.339744;, 0.993590;0.660256;, 0.673077;0.660256;, 0.400645;0.673077;, 0.400645;0.705128;, 0.368594;0.705128;, 0.368594;0.673077;; } }