用DirectX编写RPG游戏-Programming.Role.Playing.Games.with.DirectX

源代码在线查看: ice.x

软件大小: 33.1M
上传用户: qwebnm000
关键词: DirectX Programming Playing Games
下载地址: 免注册下载 普通下载 VIP

相关代码

				xof 0303txt 0032								Header {				 1;				 0;				 1;				}				
				Frame Ice {
				  Frame Ball01 {
				    FrameTransformMatrix {
				      1.000000,0.000000,0.000000,0.000000,
				      0.000000,8.000000,0.000000,0.000000,
				      0.000000,0.000000,1.000000,0.000000,
				      0.000000,0.000000,0.000000,1.000000;;
				    }
				    Mesh SphereMesh {
				     27;
				     0.001000;22.361679;0.001000;,
				     0.000999;15.812388;15.812389;,
				     -11.179340;15.812388;11.181340;,
				     -15.810389;15.812388;0.000999;,
				     -11.179338;15.812388;-11.179341;,
				     0.001002;15.812388;-15.810389;,
				     11.181342;15.812388;-11.179338;,
				     15.812389;15.812388;0.001003;,
				     11.181338;15.812388;11.181343;,
				     0.000999;0.000999;22.361679;,
				     -15.810389;0.000999;15.812387;,
				     -22.359680;0.000999;0.000998;,
				     -15.810386;0.000999;-15.810390;,
				     0.001003;0.000999;-22.359680;,
				     15.812391;0.000999;-15.810386;,
				     22.361679;0.000999;0.001004;,
				     15.812386;0.000999;15.812391;,
				     0.000999;0.000999;22.361679;,
				     -15.810389;0.000999;15.812387;,
				     -22.359680;0.000999;0.000998;,
				     -15.810386;0.000999;-15.810390;,
				     0.001003;0.000999;-22.359680;,
				     15.812391;0.000999;-15.810386;,
				     22.361679;0.000999;0.001004;,
				     15.812386;0.000999;15.812391;,
				     0.001000;0.000999;0.001000;,
				     0.000000;0.000000;130.000000;;
				     48;
				     3;0,2,1;,
				     3;0,3,2;,
				     3;0,4,3;,
				     3;0,5,4;,
				     3;0,6,5;,
				     3;0,7,6;,
				     3;0,8,7;,
				     3;0,1,8;,
				     3;1,10,9;,
				     3;1,2,10;,
				     3;2,11,10;,
				     3;2,3,11;,
				     3;3,12,11;,
				     3;3,4,12;,
				     3;4,13,12;,
				     3;4,5,13;,
				     3;5,14,13;,
				     3;5,6,14;,
				     3;6,15,14;,
				     3;6,7,15;,
				     3;7,16,15;,
				     3;7,8,16;,
				     3;8,9,16;,
				     3;8,1,9;,
				     3;9,18,17;,
				     3;9,10,18;,
				     3;10,19,18;,
				     3;10,11,19;,
				     3;11,20,19;,
				     3;11,12,20;,
				     3;12,21,20;,
				     3;12,13,21;,
				     3;13,22,21;,
				     3;13,14,22;,
				     3;14,23,22;,
				     3;14,15,23;,
				     3;15,24,23;,
				     3;15,16,24;,
				     3;16,17,24;,
				     3;16,9,17;,
				     3;25,17,18;,
				     3;25,18,19;,
				     3;25,19,20;,
				     3;25,20,21;,
				     3;25,21,22;,
				     3;25,22,23;,
				     3;25,23,24;,
				     3;25,24,17;;
				
				     MeshMaterialList {
				      1;
				      1;
				      0;
				
				      Material {
				       1.000000;1.000000;1.000000;0.700000;;
				       15.000000;
				       1.000000;1.000000;1.000000;;
				       0.000000;0.000000;0.000000;;
				
				       TextureFilename {
				        "ice.bmp";
				       }
				      }
				     }
				
				     MeshNormals {
				      34;
				      0.000000;1.000000;0.000000;,
				      -0.000000;0.715247;0.698872;,
				      -0.494177;0.715247;0.494177;,
				      -0.698872;0.715247;-0.000000;,
				      -0.494177;0.715247;-0.494177;,
				      0.000000;0.715247;-0.698872;,
				      0.494177;0.715247;-0.494177;,
				      0.698872;0.715247;0.000000;,
				      0.494177;0.715247;0.494177;,
				      0.380179;0.651937;0.656081;,
				      -0.104086;0.810341;0.576640;,
				      -0.389738;0.920926;-0.000000;,
				      -0.104086;0.810341;-0.576640;,
				      0.496328;-0.141546;-0.856518;,
				      0.870863;-0.111860;-0.478629;,
				      0.994571;-0.104060;0.000000;,
				      0.870863;-0.111860;0.478629;,
				      1.000000;0.000000;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.707107;0.707107;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.707107;0.707107;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.707107;0.707107;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      1.000000;0.000000;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.707107;-0.707107;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.707107;-0.707107;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.707107;-0.707107;0.000000;,
				      0.000000;-1.000000;0.000000;,
				      0.000000;-1.000000;0.000000;;
				      48;
				      3;0,2,1;,
				      3;0,3,2;,
				      3;0,4,3;,
				      3;0,5,4;,
				      3;0,6,5;,
				      3;0,7,6;,
				      3;0,8,7;,
				      3;0,1,8;,
				      3;1,10,9;,
				      3;1,2,10;,
				      3;2,11,10;,
				      3;2,3,11;,
				      3;3,12,11;,
				      3;3,4,12;,
				      3;4,13,12;,
				      3;4,5,13;,
				      3;5,14,13;,
				      3;5,6,14;,
				      3;6,15,14;,
				      3;6,7,15;,
				      3;7,16,15;,
				      3;7,8,16;,
				      3;8,9,16;,
				      3;8,1,9;,
				      3;9,19,17;,
				      3;9,10,19;,
				      3;10,21,19;,
				      3;10,11,21;,
				      3;11,23,21;,
				      3;11,12,23;,
				      3;12,25,23;,
				      3;12,13,25;,
				      3;13,27,25;,
				      3;13,14,27;,
				      3;14,29,27;,
				      3;14,15,29;,
				      3;15,31,29;,
				      3;15,16,31;,
				      3;16,17,31;,
				      3;16,9,17;,
				      3;33,18,20;,
				      3;33,20,22;,
				      3;33,22,24;,
				      3;33,24,26;,
				      3;33,26,28;,
				      3;33,28,30;,
				      3;33,30,32;,
				      3;33,32,18;;
				     }
				
				     MeshTextureCoords {
				      27;
				      0.500000;0.500000;,
				      0.500000;0.146800;,
				      0.250250;0.250250;,
				      0.146800;0.500000;,
				      0.250250;0.749750;,
				      0.500000;0.853200;,
				      0.749750;0.749750;,
				      0.853200;0.500000;,
				      0.749750;0.250250;,
				      0.500000;0.000500;,
				      0.146800;0.146800;,
				      0.000500;0.500000;,
				      0.146800;0.853200;,
				      0.500000;0.999500;,
				      0.853200;0.853200;,
				      0.999500;0.500000;,
				      0.853200;0.146800;,
				      0.500000;0.000500;,
				      0.146800;0.146800;,
				      0.000500;0.500000;,
				      0.146800;0.853200;,
				      0.500000;0.999500;,
				      0.853200;0.853200;,
				      0.999500;0.500000;,
				      0.853200;0.146800;,
				      0.500000;0.500000;,
				      0.500000;0.500000;;
				     }
				    }
				  }
				
				  Frame Ball02 {
				    FrameTransformMatrix {
				      1.000000,0.000000,0.000000,0.000000,
				      0.000000,3.000000,0.000000,0.000000,
				      0.000000,0.000000,1.000000,0.000000,
				      -20.000000,0.000000,20.000000,1.000000;;
				    }
				    {SphereMesh}
				  }
				
				  Frame Ball03 {
				    FrameTransformMatrix {
				      1.000000,0.000000,0.000000,0.000000,
				      0.000000,2.000000,0.000000,0.000000,
				      0.000000,0.000000,1.000000,0.000000,
				      20.000000,0.000000,20.000000,1.000000;;
				    }
				    {SphereMesh}
				  }
				
				  Frame Ball04 {
				    FrameTransformMatrix {
				      1.000000,0.000000,0.000000,0.000000,
				      0.000000,2.5000000,0.000000,0.000000,
				      0.000000,0.000000,1.000000,0.000000,
				      0.000000,0.000000,-20.000000,1.000000;;
				    }
				    {SphereMesh}
				  }
				}
				
				AnimationSet Anim {
				  Animation {
				    {Ball01}
				    AnimationKey {
				      4;
				      2;
				      0; 16;  0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,1.000000;;,
				      6; 16;  1.000000,0.000000,0.000000,0.000000,
				              1.000000,8.000000,0.000000,0.000000,
				              0.000000,0.000000,1.000000,0.000000,
				              0.000000,0.000000,0.000000,1.000000;;;
				    }
				  }
				  Animation {
				    {Ball02}
				    AnimationKey {
				      4;
				      2;
				      0; 16;  0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              -20.000000,0.000000,20.000000,1.000000;;,
				      6; 16;  1.000000,-2.000000,0.000000,0.000000,
				              0.000000,2.000000,0.000000,0.000000,
				              0.000000,0.000000,1.000000,0.000000,
				              -20.000000,0.000000,20.000000,1.000000;;;
				    }
				  }
				  Animation {
				    {Ball03}
				    AnimationKey {
				      4;
				      2;
				      0; 16;  0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              20.000000,0.000000,20.000000,1.000000;;,
				      6; 16;  1.000000,0.000000,0.000000,0.000000,
				              1.000000,3.000000,0.000000,0.000000,
				              0.000000,0.000000,1.000000,0.000000,
				              20.000000,0.000000,20.000000,1.000000;;;
				    }
				  }
				  Animation {
				    {Ball04}
				    AnimationKey {
				      4;
				      2;
				      0; 16;  0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,0.000000,0.000000,
				              0.000000,0.000000,-20.000000,1.000000;;,
				      6; 16;  1.000000,0.000000,0.000000,0.000000,
				              0.000000,4.000000,0.000000,0.000000,
				              0.000000,0.000000,1.000000,0.000000,
				              0.000000,0.000000,-20.000000,1.000000;;;
				    }
				  }
				}
							

相关资源