⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 emr.x

📁 DX例子中等难度的。全是新例子。VC2003
💻 X
📖 第 1 页 / 共 5 页
字号:
xof 0302txt 0032
Header {
 1;
 0;
 1;
}
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 {
 <F6F23F44-7686-11cf-8F52-0040333594A3>
 FLOAT u;
 FLOAT v;
}

template Matrix4x4 {
 <F6F23F45-7686-11cf-8F52-0040333594A3>
 array FLOAT matrix[16];
}

template ColorRGBA {
 <35FF44E0-6C7C-11cf-8F52-0040333594A3>
 FLOAT red;
 FLOAT green;
 FLOAT blue;
 FLOAT alpha;
}

template ColorRGB {
 <D3E16E81-7835-11cf-8F52-0040333594A3>
 FLOAT red;
 FLOAT green;
 FLOAT blue;
}

template TextureFilename {
 <A42790E1-7810-11cf-8F52-0040333594A3>
 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 MeshTextureCoords {
 <F6F23F40-7686-11cf-8F52-0040333594A3>
 DWORD nTextureCoords;
 array Coords2d textureCoords[nTextureCoords];
}

template MeshMaterialList {
 <F6F23F42-7686-11cf-8F52-0040333594A3>
 DWORD nMaterials;
 DWORD nFaceIndexes;
 array DWORD faceIndexes[nFaceIndexes];
 [Material]
}

template MeshNormals {
 <F6F23F43-7686-11cf-8F52-0040333594A3>
 DWORD nNormals;
 array Vector normals[nNormals];
 DWORD nFaceNormals;
 array MeshFace faceNormals[nFaceNormals];
}

template Mesh {
 <3D82AB44-62DA-11cf-AB39-0020AF71E433>
 DWORD nVertices;
 array Vector vertices[nVertices];
 DWORD nFaces;
 array MeshFace faces[nFaces];
 [...]
}

template FrameTransformMatrix {
 <F6F23F41-7686-11cf-8F52-0040333594A3>
 Matrix4x4 frameMatrix;
}

template Frame {
 <3D82AB46-62DA-11cf-AB39-0020AF71E433>
 [...]
}
template FloatKeys {
 <10DD46A9-775B-11cf-8F52-0040333594A3>
 DWORD nValues;
 array FLOAT values[nValues];
}

template TimedFloatKeys {
 <F406B180-7B3B-11cf-8F52-0040333594A3>
 DWORD time;
 FloatKeys tfkeys;
}

template AnimationKey {
 <10DD46A8-775B-11cf-8F52-0040333594A3>
 DWORD keyType;
 DWORD nKeys;
 array TimedFloatKeys keys[nKeys];
}

template AnimationOptions {
 <E2BF56C0-840F-11cf-8F52-0040333594A3>
 DWORD openclosed;
 DWORD positionquality;
}

template Animation {
 <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
 [...]
}

template AnimationSet {
 <3D82AB50-62DA-11cf-AB39-0020AF71E433>
 [Animation]
}
Frame Frame_SCEN {
   FrameTransformMatrix {
16.000000,0.000000,0.000000,0.000000,
0.000000,-0.000003,16.000000,0.000000,
0.000000,-16.000000,-0.000003,0.000000,
0.000000,0.000000,0.000000,1.000000;;
 }
Frame Frame1_pan {
   FrameTransformMatrix {
0.707108,0.000000,-0.707106,0.000000,
0.000000,1.000000,0.000000,0.000000,
0.707106,0.000000,0.707108,0.000000,
0.000000,0.651000,0.000000,1.000000;;
 }
Mesh Mesh_pants {
 22;
0.080000;-0.170000;-0.030541;,
0.065000;-0.095456;-0.060144;,
0.104780;-0.080288;0.000000;,
0.053000;0.000000;-0.051000;,
0.062000;0.000000;0.042000;,
-0.065000;-0.095456;-0.060144;,
-0.104369;-0.080288;0.000000;,
-0.053000;0.000000;-0.051000;,
0.000000;0.050000;0.000000;,
-0.062000;0.000000;0.042000;,
0.080000;-0.170000;0.040496;,
-0.080000;-0.170000;0.040496;,
-0.080000;-0.170000;-0.030541;,
0.080000;-0.095612;0.084373;,
0.104780;-0.080288;0.000000;,
0.062000;0.000000;0.042000;,
-0.080000;-0.095612;0.084373;,
-0.062000;0.000000;0.042000;,
-0.104369;-0.080288;0.000000;,
-0.080000;-0.170000;0.040496;,
0.080000;-0.170000;0.040496;,
0.000000;0.050000;0.000000;;

 26;
3;0,1,2;,
3;2,3,4;,
3;5,6,7;,
3;1,3,2;,
3;5,3,1;,
3;5,7,3;,
3;3,8,4;,
3;7,9,8;,
3;10,0,2;,
3;11,6,12;,
3;10,12,0;,
3;11,12,10;,
3;12,6,5;,
3;6,9,7;,
3;3,7,8;,
3;12,1,0;,
3;12,5,1;,
3;13,14,15;,
3;16,17,18;,
3;16,13,15;,
3;16,15,17;,
3;19,16,18;,
3;20,14,13;,
3;15,21,17;,
3;19,20,13;,
3;19,13,16;;
MeshMaterialList {
 1;
 26;
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0;;
Material {
 1.000000;1.000000;1.000000;1.000000;;
48.502934;
 0.000000;0.000000;0.000000;;
 0.000000;0.000000;0.000000;;
TextureFilename {
"emr_0.bmp";
}
 }
}

 MeshNormals {
 22;
-0.627689;0.585798;0.512686;,
-0.379728;0.123265;0.916849;,
-0.941046;-0.093644;0.325059;,
-0.490082;-0.490182;0.720792;,
-0.766829;-0.637547;0.074209;,
0.378837;0.015453;0.925334;,
0.941828;-0.094238;0.322612;,
0.578279;-0.552690;0.600106;,
0.000000;-0.937454;0.348109;,
0.768039;-0.636075;0.074326;,
-0.391399;0.920221;0.000000;,
0.607397;0.794398;0.000000;,
0.422352;0.712140;0.560782;,
-0.495951;0.120658;-0.859927;,
-0.952044;-0.082573;-0.294609;,
-0.254290;-0.500821;-0.827354;,
0.491307;-0.122844;-0.862280;,
0.348586;-0.527116;-0.775007;,
0.953301;-0.082964;-0.290405;,
0.385628;0.468751;-0.794709;,
-0.593994;0.408708;-0.692913;,
0.000000;-0.643192;-0.765705;;

 26;
3;0,1,2;,
3;2,3,4;,
3;5,6,7;,
3;1,3,2;,
3;5,3,1;,
3;5,7,3;,
3;3,8,4;,
3;7,9,8;,
3;10,0,2;,
3;11,6,12;,
3;10,12,0;,
3;11,12,10;,
3;12,6,5;,
3;6,9,7;,
3;3,7,8;,
3;12,1,0;,
3;12,5,1;,
3;13,14,15;,
3;16,17,18;,
3;16,13,15;,
3;16,15,17;,
3;19,16,18;,
3;20,14,13;,
3;15,21,17;,
3;19,20,13;,
3;19,13,16;;
 }
MeshTextureCoords {
 22;
0.440760;0.004100;,
0.404900;0.339548;,
0.500000;0.407802;,
0.376212;0.769100;,
0.397728;0.769100;,
0.094118;0.339548;,
0.000000;0.407802;,
0.122805;0.769100;,
0.249509;0.994100;,
0.101289;0.769100;,
0.440760;0.004100;,
0.058258;0.004100;,
0.058258;0.004100;,
0.940760;0.338845;,
1.000000;0.407802;,
0.897728;0.769100;,
0.558258;0.338845;,
0.601289;0.769100;,
0.500000;0.407802;,
0.558258;0.004100;,
0.940760;0.004100;,
0.749509;0.994100;;
}
}
Frame Frame2_bod {
   FrameTransformMatrix {
1.000000,0.000000,0.000000,0.000000,
0.000000,1.000000,0.000000,0.000000,
0.000000,0.000000,1.000000,0.000000,
0.000000,0.000000,0.000000,1.000000;;
 }
Mesh Mesh_body_ {
 178;
0.063805;0.105199;-0.071941;,
0.095913;0.142955;0.001211;,
0.076846;0.082278;-0.000909;,
0.047602;0.154812;-0.048237;,
0.000003;0.251822;0.008646;,
0.081135;0.168427;0.002450;,
0.000003;-0.081253;0.000423;,
0.052830;-0.000823;-0.050777;,
0.062415;-0.001135;0.040732;,
-0.081138;0.168427;0.002450;,
-0.047665;0.154812;-0.048237;,
-0.053135;-0.000823;-0.050777;,
0.060955;0.066457;-0.050174;,
-0.076927;0.082278;-0.000909;,
-0.061072;0.066457;-0.050174;,
-0.063892;0.105199;-0.071941;,
-0.095917;0.142955;0.001211;,
-0.062687;-0.001135;0.040732;,
-0.068582;0.132751;0.067325;,
-0.076927;0.082278;-0.000909;,
-0.063487;0.082655;0.049895;,
-0.062687;-0.001135;0.040732;,
-0.095917;0.142955;0.001211;,
0.069238;0.132751;0.067325;,
0.076846;0.082278;-0.000909;,
0.095913;0.142955;0.001211;,
0.063775;0.082655;0.049895;,
0.000003;-0.081253;0.000423;,
0.062415;-0.001135;0.040732;,
0.055644;0.162222;0.058019;,
0.000003;0.251822;0.008646;,
-0.055116;0.162222;0.058019;,
0.081135;0.168427;0.002450;,
-0.081138;0.168427;0.002450;,
0.057635;0.128754;-0.067991;,
-0.057712;0.128754;-0.067991;,
-0.063558;0.085180;-0.063911;,
0.063456;0.085180;-0.063911;,
-0.061335;0.175052;-0.078892;,
-0.062676;0.189990;-0.058018;,
-0.004799;0.179191;-0.076722;,
-0.011843;0.166928;-0.092963;,
0.057276;0.177482;-0.063682;,
0.057276;0.158430;-0.052682;,
0.078240;0.172954;-0.027525;,
0.078240;0.192007;-0.038525;,
0.057276;0.223303;0.015682;,
0.057276;0.204250;0.026682;,
0.020964;0.212636;0.041206;,
0.020964;0.231688;0.030206;,
0.078240;0.208778;-0.009475;,
0.078240;0.189726;0.001525;,
0.057276;0.204250;0.026682;,
0.057276;0.223303;0.015682;,
-0.020964;0.231688;0.030206;,
-0.020964;0.212636;0.041206;,
-0.057276;0.204250;0.026682;,
-0.057276;0.223303;0.015682;,
-0.057276;0.223303;0.015682;,
-0.057276;0.204250;0.026682;,
-0.078240;0.189726;0.001525;,
-0.078240;0.208778;-0.009475;,
-0.078240;0.192007;-0.038525;,
-0.078240;0.172954;-0.027525;,
-0.057276;0.158430;-0.052682;,
-0.057276;0.177482;-0.063682;,
-0.061335;0.141277;-0.059392;,
-0.011843;0.138349;-0.076463;,
-0.004799;0.146282;-0.057722;,
-0.062676;0.151884;-0.036018;,
0.061335;0.175052;-0.078892;,
0.011843;0.166928;-0.092963;,
0.004799;0.179191;-0.076722;,
0.062676;0.189990;-0.058018;,
0.057276;0.177482;-0.063682;,
0.078240;0.192007;-0.038525;,
0.078240;0.172954;-0.027525;,
0.057276;0.158430;-0.052682;,
0.057276;0.223303;0.015682;,
0.020964;0.231688;0.030206;,
0.020964;0.212636;0.041206;,
0.057276;0.204250;0.026682;,
0.078240;0.208778;-0.009475;,
0.057276;0.223303;0.015682;,
0.057276;0.204250;0.026682;,
0.078240;0.189726;0.001525;,
-0.020964;0.231688;0.030206;,
-0.057276;0.223303;0.015682;,
-0.057276;0.204250;0.026682;,
-0.020964;0.212636;0.041206;,
-0.057276;0.223303;0.015682;,
-0.078240;0.208778;-0.009475;,
-0.078240;0.189726;0.001525;,
-0.057276;0.204250;0.026682;,
-0.078240;0.192007;-0.038525;,
-0.057276;0.177482;-0.063682;,
-0.057276;0.158430;-0.052682;,
-0.078240;0.172954;-0.027525;,
0.061335;0.141277;-0.059392;,
0.062676;0.151884;-0.036018;,
0.004799;0.146282;-0.057722;,
0.011843;0.138349;-0.076463;,
-0.061335;0.141277;-0.059392;,
-0.062676;0.151884;-0.036018;,
-0.062676;0.189990;-0.058018;,
-0.061335;0.175052;-0.078892;,
0.020964;0.169096;-0.078206;,
0.020964;0.150044;-0.067206;,
0.057276;0.158430;-0.052682;,
0.057276;0.177482;-0.063682;,
0.020964;0.231688;0.030206;,
0.020964;0.212636;0.041206;,
-0.020964;0.212636;0.041206;,
-0.020964;0.231688;0.030206;,
0.078240;0.192007;-0.038525;,
0.078240;0.172954;-0.027525;,
0.078240;0.189726;0.001525;,
0.078240;0.208778;-0.009475;,
-0.057276;0.177482;-0.063682;,
-0.057276;0.158430;-0.052682;,
-0.020964;0.150044;-0.067206;,
-0.020964;0.169096;-0.078206;,
-0.020964;0.169096;-0.078206;,
-0.020964;0.150044;-0.067206;,
0.020964;0.150044;-0.067206;,
0.020964;0.169096;-0.078206;,
-0.078240;0.208778;-0.009475;,
-0.078240;0.189726;0.001525;,
-0.078240;0.172954;-0.027525;,
-0.078240;0.192007;-0.038525;,
-0.011843;0.166928;-0.092963;,
-0.011843;0.138349;-0.076463;,
-0.011843;0.138349;-0.076463;,
-0.011843;0.166928;-0.092963;,
-0.004799;0.179191;-0.076722;,
-0.004799;0.146282;-0.057722;,
-0.062676;0.151884;-0.036018;,
-0.004799;0.146282;-0.057722;,
-0.004799;0.179191;-0.076722;,
-0.062676;0.189990;-0.058018;,
0.061335;0.141277;-0.059392;,
0.061335;0.175052;-0.078892;,
0.062676;0.189990;-0.058018;,
0.062676;0.151884;-0.036018;,
0.020964;0.169096;-0.078206;,
0.057276;0.177482;-0.063682;,
0.057276;0.158430;-0.052682;,
0.020964;0.150044;-0.067206;,
0.020964;0.231688;0.030206;,
-0.020964;0.231688;0.030206;,
-0.020964;0.212636;0.041206;,
0.020964;0.212636;0.041206;,
0.078240;0.192007;-0.038525;,
0.078240;0.208778;-0.009475;,
0.078240;0.189726;0.001525;,
0.078240;0.172954;-0.027525;,
-0.057276;0.177482;-0.063682;,
-0.020964;0.169096;-0.078206;,
-0.020964;0.150044;-0.067206;,
-0.057276;0.158430;-0.052682;,
-0.020964;0.169096;-0.078206;,
0.020964;0.169096;-0.078206;,
0.020964;0.150044;-0.067206;,
-0.020964;0.150044;-0.067206;,
-0.078240;0.208778;-0.009475;,
-0.078240;0.192007;-0.038525;,
-0.078240;0.172954;-0.027525;,
-0.078240;0.189726;0.001525;,
0.011843;0.138349;-0.076463;,
0.011843;0.166928;-0.092963;,
0.011843;0.138349;-0.076463;,
0.004799;0.146282;-0.057722;,
0.004799;0.179191;-0.076722;,
0.011843;0.166928;-0.092963;,
0.062676;0.151884;-0.036018;,
0.062676;0.189990;-0.058018;,
0.004799;0.179191;-0.076722;,
0.004799;0.146282;-0.057722;;

 124;
3;0,1,2;,
3;3,4,5;,
3;6,7,8;,
3;9,4,10;,
3;6,11,7;,
3;7,12,2;,
3;11,13,14;,
3;15,13,16;,
3;11,17,13;,
3;7,2,8;,
3;10,4,3;,
3;6,17,11;,
3;18,19,20;,
3;21,20,19;,
3;18,22,19;,
3;23,24,25;,
3;23,26,24;,
3;27,28,21;,
3;29,30,31;,
3;28,24,26;,
3;29,32,30;,
3;33,31,30;,
3;0,34,1;,
3;34,3,1;,
3;5,1,3;,
3;35,9,10;,
3;9,35,16;,
3;15,16,35;,
3;13,15,36;,
3;36,14,13;,
3;2,12,37;,
3;37,0,2;,
3;18,31,33;,
3;33,22,18;,
3;23,25,32;,
3;32,29,23;,
3;38,39,40;,
3;40,41,38;,
3;42,43,44;,
3;44,45,42;,
3;46,47,48;,
3;48,49,46;,
3;50,51,52;,
3;52,53,50;,
3;54,55,56;,
3;56,57,54;,
3;58,59,60;,
3;60,61,58;,
3;62,63,64;,
3;64,65,62;,
3;66,67,68;,
3;68,69,66;,
3;70,71,72;,
3;72,73,70;,
3;74,75,76;,
3;76,77,74;,
3;78,79,80;,
3;80,81,78;,
3;82,83,84;,
3;84,85,82;,
3;86,87,88;,
3;88,89,86;,
3;90,91,92;,
3;92,93,90;,
3;94,95,96;,
3;96,97,94;,
3;98,99,100;,
3;100,101,98;,
3;15,35,34;,
3;34,0,15;,
3;36,37,12;,
3;12,14,36;,
3;0,37,36;,
3;36,15,0;,
3;34,35,10;,
3;10,3,34;,
3;14,12,7;,
3;7,11,14;,
3;18,20,26;,
3;26,23,18;,
3;23,29,31;,
3;31,18,23;,
3;26,20,21;,
3;21,28,26;,
3;102,103,104;,
3;104,105,102;,
3;106,107,108;,
3;108,109,106;,
3;110,111,112;,
3;112,113,110;,
3;114,115,116;,
3;116,117,114;,
3;118,119,120;,
3;120,121,118;,
3;122,123,124;,
3;124,125,122;,
3;126,127,128;,
3;128,129,126;,
3;102,105,130;,
3;130,131,102;,
3;132,133,134;,
3;134,135,132;,
3;136,137,138;,
3;138,139,136;,
3;140,141,142;,
3;142,143,140;,
3;144,145,146;,
3;146,147,144;,
3;148,149,150;,
3;150,151,148;,
3;152,153,154;,
3;154,155,152;,
3;156,157,158;,
3;158,159,156;,
3;160,161,162;,
3;162,163,160;,
3;164,165,166;,
3;166,167,164;,
3;140,168,169;,
3;169,141,140;,
3;170,171,172;,
3;172,173,170;,
3;174,175,176;,
3;176,177,174;;
MeshMaterialList {
 3;
 124;
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  0,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  0,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -