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

📄 door.x

📁 [游戏开发参考书-用DirectX编写RPG游戏]这是一个系列的丛书如果你都看并且懂的话你就可以你工作啦!
💻 X
字号:
xof 0303txt 0064

// Created with Milkshape 3D DirectX .X File Exporter V2.0
// Copyright (c) 2001 by Jim Adams.  All Rights Reserved.

Header {
  1;
  0;
  1;
}

template XSkinMeshHeader {
  <3cf169ce-ff7c-44ab-93c0-f78f62d172e2>
  WORD nMaxSkinWeightsPerVertex;
  WORD nMaxSkinWeightsPerFace;
  WORD nBones;
}

template SkinWeights {
  <6f0d123b-bad2-4167-a0d0-80224f25fabb>
  STRING transformNodeName;
  DWORD nWeights;
  array DWORD vertexIndices[nWeights];
  array float weights[nWeights];
  Matrix4x4 matrixOffset;
}

Frame joint1 {
  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;;
  }
  Frame joint2 {
    FrameTransformMatrix {
      0.000000,0.000000,-1.000000,0.000000,
      0.000000,1.000000,0.000000,0.000000,
      1.000000,0.000000,0.000000,0.000000,
      -240.000000,0.000000,0.000000,1.000000;;
    }
    Frame joint3 {
      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,60.000000,1.000000;;
      }
    }
  }
  Frame joint4 {
    FrameTransformMatrix {
      0.000000,0.000000,-1.000000,0.000000,
      -0.000000,-1.000000,-0.000000,0.000000,
      -1.000000,0.000000,-0.000000,0.000000,
      240.000000,0.000000,0.000000,1.000000;;
    }
    Frame joint5 {
      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,60.000000,1.000000;;
      }
    }
  }
  Mesh Regroup01 {
    40;
    -255.000000;110.000000;10.000000;,
    0.000000;110.000000;10.000000;,
    0.000000;110.000000;-10.000000;,
    -255.000000;110.000000;-10.000000;,
    -255.000000;0.000000;10.000000;,
    0.000000;0.000000;10.000000;,
    0.000000;110.000000;10.000000;,
    -255.000000;110.000000;10.000000;,
    0.000000;0.000000;10.000000;,
    0.000000;-0.000000;-10.000000;,
    0.000000;110.000000;-10.000000;,
    0.000000;110.000000;10.000000;,
    0.000000;-0.000000;-10.000000;,
    -255.000000;-0.000000;-10.000000;,
    -255.000000;110.000000;-10.000000;,
    0.000000;110.000000;-10.000000;,
    -255.000000;110.000000;-10.000000;,
    -255.000000;-0.000000;-10.000000;,
    -255.000000;0.000000;10.000000;,
    -255.000000;110.000000;10.000000;,
    0.000000;110.000000;10.000000;,
    255.000000;110.000000;10.000000;,
    255.000000;110.000000;-10.000000;,
    0.000000;110.000000;-10.000000;,
    0.000000;0.000000;10.000000;,
    255.000000;0.000000;10.000000;,
    255.000000;110.000000;10.000000;,
    0.000000;110.000000;10.000000;,
    255.000000;-0.000000;-10.000000;,
    0.000000;-0.000000;-10.000000;,
    0.000000;110.000000;-10.000000;,
    255.000000;110.000000;-10.000000;,
    0.000000;-0.000000;-10.000000;,
    0.000000;0.000000;10.000000;,
    0.000000;110.000000;10.000000;,
    0.000000;110.000000;-10.000000;,
    255.000000;0.000000;10.000000;,
    255.000000;-0.000000;-10.000000;,
    255.000000;110.000000;-10.000000;,
    255.000000;110.000000;10.000000;;
    20;
    3;0,1,2;,
    3;2,3,0;,
    3;4,5,6;,
    3;6,7,4;,
    3;8,9,10;,
    3;10,11,8;,
    3;12,13,14;,
    3;14,15,12;,
    3;16,17,18;,
    3;18,19,16;,
    3;20,21,22;,
    3;22,23,20;,
    3;24,25,26;,
    3;26,27,24;,
    3;28,29,30;,
    3;30,31,28;,
    3;32,33,34;,
    3;34,35,32;,
    3;36,37,38;,
    3;38,39,36;;
    MeshTextureCoords {
      40;
      0.000999;0.998999;,
      1.999001;0.999001;,
      1.999001;-0.998999;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.999001;0.999001;,
      1.999001;-0.999001;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.998999;0.999001;,
      1.998999;-0.999001;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.999001;0.999001;,
      1.999001;-0.999001;,
      0.000999;-0.999001;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.998999;0.999001;,
      1.998999;-0.999001;,
      0.000999;0.998999;,
      1.999001;0.999001;,
      1.999001;-0.998999;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.999001;0.999001;,
      1.999001;-0.999001;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.999001;0.999001;,
      1.999001;-0.999001;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.998999;0.999001;,
      1.998999;-0.999001;,
      0.000999;-0.999001;,
      0.000999;0.999001;,
      1.998999;0.999001;,
      1.998999;-0.999001;,
      0.000999;-0.999001;;
    }
    MeshMaterialList {
      1;
      20;
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0;;
      Material Material__3 {
        1.000000;1.000000;1.000000;1.000000;;
        1.000000;
        1.000000;1.000000;1.000000;;
        0.000000;0.000000;0.000000;;
        TextureFilename {
          "DOOR.BMP";
        }
      }
    }

    XSkinMeshHeader {
      2;
      4;
      2;
    }

    SkinWeights {
      "joint2";
      20;
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,
      17,
      18,
      19;
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000;
      0.000000,0.000000,1.000000,0.000000,
      0.000000,1.000000,0.000000,0.000000,
      -1.000000,0.000000,0.000000,0.000000,
      0.000018,0.000000,240.000000,1.000000;;
    }

    SkinWeights {
      "joint5";
      20;
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28,
      29,
      30,
      31,
      32,
      33,
      34,
      35,
      36,
      37,
      38,
      39;
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000,
      1.000000;
      0.000000,-0.000000,-1.000000,0.000000,
      0.000000,-1.000000,0.000000,0.000000,
      -1.000000,-0.000000,-0.000000,0.000000,
      -0.000018,0.000036,180.000000,1.000000;;
    }
  }
}

AnimationSet Close {
  Animation {
    {joint1}
    AnimationKey {
      4;
      3;
      0; 16; 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;;,
      7; 16; 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;;,
      15; 16; 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;;;
    }
  }
  Animation {
    {joint2}
    AnimationKey {
      4;
      3;
      0; 16; -1.000000,0.000000,-0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,-1.000000,0.000000,-240.000000,0.000000,0.000000,1.000000;;,
      7; 16; -0.707107,0.000000,-0.707107,0.000000,0.000000,1.000000,0.000000,0.000000,0.707107,0.000000,-0.707107,0.000000,-240.000000,0.000000,0.000000,1.000000;;,
      15; 16; 0.000000,0.000000,-1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,-240.000000,0.000000,0.000000,1.000000;;;
    }
  }
  Animation {
    {joint3}
    AnimationKey {
      4;
      3;
      0; 16; 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,60.000000,1.000000;;,
      7; 16; 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,60.000000,1.000000;;,
      15; 16; 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,60.000000,1.000000;;;
    }
  }
  Animation {
    {joint4}
    AnimationKey {
      4;
      3;
      0; 16; 1.000000,-0.000000,-0.000000,0.000000,-0.000000,-1.000000,-0.000000,0.000000,-0.000000,0.000000,-1.000000,0.000000,240.000000,0.000000,-0.000000,1.000000;;,
      7; 16; 0.707107,-0.000000,-0.707107,0.000000,-0.000000,-1.000000,-0.000000,0.000000,-0.707107,0.000000,-0.707107,0.000000,240.000000,0.000000,-0.000000,1.000000;;,
      15; 16; 0.000000,-0.000000,-1.000000,0.000000,-0.000000,-1.000000,0.000000,0.000000,-1.000000,0.000000,-0.000000,0.000000,240.000000,0.000000,-0.000000,1.000000;;;
    }
  }
  Animation {
    {joint5}
    AnimationKey {
      4;
      3;
      0; 16; 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,60.000000,1.000000;;,
      7; 16; 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,60.000000,1.000000;;,
      15; 16; 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,60.000000,1.000000;;;
    }
  }
}

AnimationSet Open {
  Animation {
    {joint1}
    AnimationKey {
      4;
      3;
      0; 16; 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;;,
      7; 16; 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;;,
      15; 16; 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;;;
    }
  }
  Animation {
    {joint2}
    AnimationKey {
      4;
      3;
      0; 16; 0.000000,0.000000,-1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,-240.000000,0.000000,-0.000000,1.000000;;,
      7; 16; -0.707107,0.000000,-0.707107,0.000000,0.000000,1.000000,0.000000,0.000000,0.707107,0.000000,-0.707107,0.000000,-240.000000,0.000000,-0.000000,1.000000;;,
      15; 16; -1.000000,0.000000,-0.000000,0.000000,0.000000,1.000000,0.000000,0.000000,0.000000,0.000000,-1.000000,0.000000,-240.000000,0.000000,-0.000000,1.000000;;;
    }
  }
  Animation {
    {joint3}
    AnimationKey {
      4;
      3;
      0; 16; 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,60.000000,1.000000;;,
      7; 16; 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,60.000000,1.000000;;,
      15; 16; 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,60.000000,1.000000;;;
    }
  }
  Animation {
    {joint4}
    AnimationKey {
      4;
      3;
      0; 16; 0.000000,0.000000,-1.000000,0.000000,-0.000000,-1.000000,-0.000000,0.000000,-1.000000,0.000000,-0.000000,0.000000,240.000000,0.000000,0.000000,1.000000;;,
      7; 16; 0.707107,-0.000000,-0.707107,0.000000,-0.000000,-1.000000,-0.000000,0.000000,-0.707107,0.000000,-0.707107,0.000000,240.000000,0.000000,0.000000,1.000000;;,
      15; 16; 1.000000,-0.000000,0.000000,0.000000,-0.000000,-1.000000,-0.000000,0.000000,0.000000,0.000000,-1.000000,0.000000,240.000000,0.000000,0.000000,1.000000;;;
    }
  }
  Animation {
    {joint5}
    AnimationKey {
      4;
      3;
      0; 16; 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,60.000000,1.000000;;,
      7; 16; 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,60.000000,1.000000;;,
      15; 16; 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,60.000000,1.000000;;;
    }
  }
}

⌨️ 快捷键说明

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