• <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)自強而不息

                 摘要: Games are packed with movement. Characters running here, bullets flying there?basically there's a slew of objects moving about your game world. The smooth motion of these objects is a very important aspect that can't be overlooked. Have you ever thought about the use of movement and animation based on time? Using time?based motion is hot, and to keep up with the rest of the world you must fully understand how it can help your game project. In fact, you need to understand not only using time?base  閱讀全文
            posted @ 2008-04-15 15:50 lovedday 閱讀(355) | 評論 (0)編輯 收藏
                 摘要: The D3DXFRAME object helps form a hierarchy of reference frames. These reference frames are used to connect a series of meshes together, with each frame having its own transformation to apply to the mesh connected to it. In this way of using frames to point to meshes, you can minimize the number of meshes used because you can reference meshes instead of having to reload them.   閱讀全文
            posted @ 2008-04-15 13:28 lovedday 閱讀(561) | 評論 (0)編輯 收藏
                 摘要: The remaining two draw_meshes functions duplicate the exact features of the first two, except that all meshes in the linked list of mesh objects are rendered.  閱讀全文
            posted @ 2008-04-15 13:26 lovedday 閱讀(270) | 評論 (0)編輯 收藏
                 摘要: As for the second draw_mesh function, it skips using the DrawSubset function and uses its own function to render subsets of polygon faces, using the vertex shader and vertex declaration you specify. This second function is extremely useful if you are using vertex shaders to render your meshes.  閱讀全文
            posted @ 2008-04-15 13:06 lovedday 閱讀(459) | 評論 (0)編輯 收藏
                 摘要: Now that you have your meshes loaded and you've updated those skinned meshes that needed updating, it is time to throw some pixels at the display and show off those meshes! In total, I have created four mesh?rendering functions to help you in your projects.  閱讀全文
            posted @ 2008-04-15 11:16 lovedday 閱讀(318) | 評論 (0)編輯 收藏
                 摘要: A skinned mesh works like this: Each vertex is attached to an imaginary bone (which is specified by a frame object). As these frames move, so do the vertices attached to them. To update the coordinates of the vertices as the bones move, you need to call a special function that takes the source vertex data, transforms it according to the bones' transformations, and stores the results in a second mesh object. This special function is called ID3DXSkinInfo::UpdateSkinnedMesh.  閱讀全文
            posted @ 2008-04-15 10:22 lovedday 閱讀(312) | 評論 (0)編輯 收藏
                 摘要: The second load_mesh function is much like the first, except that instead of loading an entire .X file into one D3DXMESHCONTAINER_EX object, you are able to load a single mesh object (using the D3DXLoadSkinMeshFromXof function) as pointed to by a ID3DXFileData object (used while parsing an .X file).   閱讀全文
            posted @ 2008-04-14 17:11 lovedday 閱讀(301) | 評論 (0)編輯 收藏
                 摘要: The first of the mesh?related helper functions is load_mesh. Actually there are three versions of the load_mesh function. The first version is used to load a mesh from an .X file using the D3DXLoadMeshFromX function. That means all meshes contained within the .X file are compressed into a single mesh object, which is subsequently stored in a D3DXMESHCONTAINER_EX object.  閱讀全文
            posted @ 2008-04-14 15:52 lovedday 閱讀(353) | 評論 (0)編輯 收藏
                 摘要: Moving on in the list of helper functions, you'll find load_vertex_shader. You'll use this function to help you load your vertex shaders, as well as prepare your vertex shader declarations.

            The actual code to the load_vertex_shader function is short, so instead of breaking it up to explain it, I'll give it to you all at once.  閱讀全文
            posted @ 2008-04-14 13:39 lovedday 閱讀(1380) | 評論 (0)編輯 收藏
                 摘要: Next in line for the helper functions is init_d3d, which you use to initialize Direct3D and create a 3D device and display window. I tried to keep the code as simple as possible, performing the typical initialization code you would use in any Direct3D application.  閱讀全文
            posted @ 2008-04-14 12:33 lovedday 閱讀(348) | 評論 (0)編輯 收藏
            僅列出標(biāo)題
            共136頁: First 15 16 17 18 19 20 21 22 23 Last 

            公告

            導(dǎo)航

            統(tǒng)計

            常用鏈接

            隨筆分類(178)

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

            搜索

            最新評論

            国产精品免费福利久久| 精品久久久无码人妻中文字幕豆芽 | 国产成人精品白浆久久69| 精品无码久久久久国产| 久久精品国产精品亜洲毛片| 婷婷久久五月天| 久久精品中文无码资源站| 国产一区二区三精品久久久无广告 | 久久精品国产亚洲7777| 亚洲精品tv久久久久久久久| 色噜噜狠狠先锋影音久久| 国内精品久久久久影院老司 | 久久天天躁狠狠躁夜夜躁2014| 国产成年无码久久久久毛片| 很黄很污的网站久久mimi色| 欧美噜噜久久久XXX| 久久久久综合国产欧美一区二区| 亚洲国产美女精品久久久久∴ | 51久久夜色精品国产| 亚洲精品无码专区久久久| 久久丝袜精品中文字幕| 91精品国产91久久久久久青草 | 亚洲国产精久久久久久久| 亚洲精品美女久久777777| 无码人妻久久一区二区三区蜜桃 | 欧美粉嫩小泬久久久久久久| 久久久久久国产精品免费无码| 香蕉久久AⅤ一区二区三区| 色综合久久综合网观看| 精品熟女少妇av免费久久| 久久一日本道色综合久久| 精品久久久无码人妻中文字幕| 思思久久99热只有频精品66| 久久久久亚洲精品男人的天堂| 国产高清国内精品福利99久久| 久久se精品一区精品二区| 99久久免费国产精精品| 久久66热人妻偷产精品9| 久久久噜噜噜久久熟女AA片| 麻豆成人久久精品二区三区免费 | 欧美综合天天夜夜久久|