• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>

            天行健 君子當(dāng)自強(qiáng)而不息

                 摘要: If you have explored the DirectX SDK samples, you might have come across a little demo called SkinnedMesh, which shows you how to use a pre?calculated key?frame animation stored in an .X file to animate an on?screen character. The problem is, that sample's code is so convoluted and hard to understand that it'll make your head spin. With no real documentation of how to use .X file animation data, the skinned mesh animation sample remains full of mystery.  閱讀全文
            posted @ 2008-04-24 18:13 lovedday 閱讀(575) | 評論 (0)編輯 收藏
                 摘要: Skeletal animation?two words that bring to mind thoughts of B?rate horror movies in which the dead have risen from the grave to stalk the living. However, those two words mean something entirely different to programmers. If you're like me, this topic gives you more tingles down your spine than any cheesy horror movie ever could.   閱讀全文
            posted @ 2008-04-23 20:26 lovedday 閱讀(470) | 評論 (0)編輯 收藏
                 摘要: As shown in Figure 4.5, the SkeletalAnim mesh demonstrates what you learned in this chapter by loading a skinned mesh (the Tiny.x mesh provided in the DirectX SDK samples) and rendering it to the display.  閱讀全文
            posted @ 2008-04-23 20:24 lovedday 閱讀(658) | 評論 (0)編輯 收藏
                 摘要: When your skeletal structure is in the pose you desire, it's time to update (or rebuild) the skinned mesh to match. Before you rebuild the skinned mesh, you must make sure you have constructed the secondary mesh container and updated the frame hierarchy. To review how to construct the mesh container, consult the "Creating a Secondary Mesh Container" section earlier in this chapter. To refresh your memory about how to update the frame hierarchy, review the "Updating the Hierarchy" section earlier  閱讀全文
            posted @ 2008-04-23 20:06 lovedday 閱讀(464) | 評論 (0)編輯 收藏
                 摘要: If you peruse an .X file, you might notice some similarities between the Frame data objects and the SkinWeights objects. For every bone in your skeletal structure, there is a matching SkinWeights object embedded inside a Mesh object that contains the name of a Frame object (or a reference to a Frame object). That's right?each bone is named after its corresponding Frame data object!  閱讀全文
            posted @ 2008-04-23 19:39 lovedday 閱讀(266) | 評論 (0)編輯 收藏
                 摘要: Loading a skinned mesh from an .X file is much like loading a standard mesh. Using a custom .X parser, you must enumerate your .X file objects using ParseObject. When it comes to processing a Mesh object, instead of calling the D3DXLoadMeshFromXof function to load the mesh data, you call the D3DXLoadSkinMeshFromXof function, which takes one additional parameter?a pointer to an ID3DXSkinInfo object. Check out the D3DXLoadSkinMeshFromXof prototype to see what I mean.  閱讀全文
            posted @ 2008-04-23 19:17 lovedday 閱讀(637) | 評論 (0)編輯 收藏
                 摘要: In the first half of this chapter, you learned how to manipulate a hierarchy of bones that forms the basis of skeletal animation. That's all fine and dandy, but playing with imaginary bones isn't going to cut the mustard. Your game's players need to see all your hard work in the form of rendered meshes, which is where skinned meshes come in.  閱讀全文
            posted @ 2008-04-23 18:42 lovedday 閱讀(463) | 評論 (0)編輯 收藏
                 摘要: After you have loaded the bone hierarchy, you can manipulate it. To modify the orientation of a bone, you first need to locate its respective frame structure by creating a function that recursively searches the frames for a specific bone name. Once it is found, a pointer to the frame is provided so you can directly access the frame's transformation matrix. The recursive search function might look something like this:  閱讀全文
            posted @ 2008-04-23 18:06 lovedday 閱讀(431) | 評論 (0)編輯 收藏
                 摘要: Not to beat a dead horse (why would I do a horrible thing like that?), but I want to quickly review how to load a frame hierarchy from an .X file.

            For your frame hierarchy you should use the D3DXFRAME structure (or the D3DXFRAME_EX structure). As I mentioned earlier in this chapter, the D3DXFRAME structure (or the derived D3DXFRAME_EX structure) contains two pointers that you use to create the frame hierarchy?pFrameSibling and pFrameFirstChild. Your job is to link each frame you load fr  閱讀全文
            posted @ 2008-04-23 17:36 lovedday 閱讀(323) | 評論 (0)編輯 收藏
                 摘要: Skeletal animation?two words that bring to mind thoughts of B?rate horror movies in which the dead have risen from the grave to stalk the living. However, those two words mean something entirely different to programmers. If you're like me, this topic gives you more tingles down your spine than any cheesy horror movie ever could.  閱讀全文
            posted @ 2008-04-23 16:52 lovedday 閱讀(681) | 評論 (1)編輯 收藏
            僅列出標(biāo)題
            共136頁: First 12 13 14 15 16 17 18 19 20 Last 

            公告

            導(dǎo)航

            統(tǒng)計(jì)

            常用鏈接

            隨筆分類(178)

            3D游戲編程相關(guān)鏈接

            搜索

            最新評論

            久久国产乱子伦精品免费强| 久久精品国产久精国产果冻传媒| 国内精品伊人久久久久| 久久国产精品国产自线拍免费| 一本色道久久88加勒比—综合| 亚洲国产成人久久综合区| 国产精品久久久久AV福利动漫| 观看 国产综合久久久久鬼色 欧美 亚洲 一区二区 | 久久99国产精一区二区三区| 四虎影视久久久免费| 99久久精品影院老鸭窝| 亚洲国产成人精品91久久久 | 99久久精品费精品国产一区二区| 久久亚洲2019中文字幕| 久久综合丁香激情久久| 嫩草伊人久久精品少妇AV| 一本久久综合亚洲鲁鲁五月天亚洲欧美一区二区 | 久久亚洲中文字幕精品有坂深雪 | 久久露脸国产精品| 精品午夜久久福利大片| 亚洲级αV无码毛片久久精品 | 国产午夜精品理论片久久影视 | 成人午夜精品无码区久久| 亚洲精品综合久久| 精品久久人人做人人爽综合| 国产91久久精品一区二区| 精品久久久久香蕉网| 亚洲精品乱码久久久久久自慰| 日韩AV毛片精品久久久| 久久se这里只有精品| 国产综合成人久久大片91| 狠狠综合久久综合中文88| 97超级碰碰碰碰久久久久| 国产福利电影一区二区三区久久老子无码午夜伦不 | 久久毛片一区二区| 欧美亚洲国产精品久久久久| 久久夜色精品国产亚洲| 无码日韩人妻精品久久蜜桃| 性做久久久久久久| 久久精品男人影院| 久久午夜综合久久|