• <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>

            COOOOOOOOL

            從固有的原則出發,向著目標誠直前進.所以這樣的行為便名為正當的行為,表示其為尋著正路而行的.

              C++博客 :: 首頁 :: 聯系 :: 聚合  :: 管理
              26 Posts :: 0 Stories :: 21 Comments :: 0 Trackbacks

            公告

            QQ:774262464 email:cooooooool.2010@gmail.com

            常用鏈接

            留言簿(3)

            我參與的團隊

            搜索

            •  

            積分與排名

            • 積分 - 72481
            • 排名 - 322

            最新評論

            閱讀排行榜

            評論排行榜

            Focus On 3D Terrain Programming是本好書。隨便翻了一些國內外相關論文,都可以找到本書的影子。

            (我這有完整的書和源代碼,不知道怎么上傳,需要的留個信。)

            Chap1 Notes
            ■Willem H. de Boer's geomipmapping algorithm
            ■Stefan Roettger's quadtree algorithm
            ■Mark Duchaineau's ROAM algorithm

            Chap2 Notes
            Problems:
            ■ What heightmaps are, how to create them, and how to load them
            ■ How to render terrain using a brute force algorithm
            ■ How to generate fractal terrain using two algorithms: fault formation and midpoint displacement(the plasma fractal or the diamond-square algorithm)

            1.A heightmap is a grayscale image in which each pixel represents a height value.(ex. the height ranges from 0–255, the number of shades of gray in a grayscale image. Dark colors represent a lower elevation, and lighter colors represent a higher elevation.)

             
            Figure 2.1 A grid of vertices with non-defined height value

               
            Figure 2.2 The 128 × 128 heightmap(used to create Figure 2.3).

            2.The Brute Forceof the Matter(硬渲染)

            Rendering terrain using a brute force algorithm is incredibly simple,and it provides the highest amount of detail possible. But, slow is a drawblack.


            Figure 2.3 Brute force terrain image created by using the heightmap in Figure 2.2.

            3.(1)Fault Formation
            One method of fractal terrain generation is called fault formation. Fault formation is the process of generating “faults” in terrain; for the Fractal Terrain Generation most part, it produces fairly smooth terrain.


            Figure 2.4 The first step in the fault-formation algorithm.


            Figure 2.5 A map generated with completely random height values.



            Figure 2.6 Heightmaps that were generated using the
            fault-formation algorithm and the erosion filter. The top
            image has a filter value of 0.0f, the middle image has a filter
            value of 0.2f, and the bottom image has a filter value of 0.4f.

            Note:Midpoint Displacement Fault formation works great for a nice little scene composed of some small hills, but something more chaotic than that, such as a mountain range.

            (2)Midpoint Displacement(
            又名:the plasma fractal or the diamond-square algorithm)

            Note:Midpoint Displacement works great for a chaotic scene. But, the algorithm can only generate square heightmaps, and the dimensions have to be a power of two.This is unlike the fault formation algorithm, in which you can specify any dimension that you want.


            posted on 2009-12-12 15:28 COOOOOOOOL 閱讀(1165) 評論(4)  編輯 收藏 引用

            Feedback

            # re: Focus On 3D Terrain Programming(chap1-2學習筆記) 2010-03-12 16:07 yao
            現在還有嗎?我的項目需要用到相關的東西!郵箱403788193@qq.com
            謝謝!!  回復  更多評論
              

            # re: Focus On 3D Terrain Programming(chap1-2學習筆記) 2010-08-23 09:21 kamel
            請問可以發我一下書和源碼么? 謝謝
            kamelzcs@gmai.com  回復  更多評論
              

            # re: Focus On 3D Terrain Programming(chap1-2學習筆記) 2012-09-07 09:37 王月
            wangyue19870110@gmail.com  回復  更多評論
              

            # re: Focus On 3D Terrain Programming(chap1-2學習筆記) 2013-04-28 14:20 wb
            請問能給我一份書和源代碼么? nimo299@126.com, 萬分感謝!!!!  回復  更多評論
              

            一本色综合网久久| 青青草原综合久久大伊人| 亚洲国产成人久久综合一| 久久精品免费网站网| 国产精品久久久香蕉| 国产精品久久久久久久久鸭| 久久99精品国产麻豆不卡| 人妻丰满AV无码久久不卡| 精品国产热久久久福利| 性做久久久久久久| 久久精品综合一区二区三区| 久久久一本精品99久久精品66 | 久久久一本精品99久久精品66| 99久久精品免费观看国产| 久久久久波多野结衣高潮| 伊人久久免费视频| 97精品国产91久久久久久| 18禁黄久久久AAA片| 久久国产精品一区| 一本久久久久久久| 99久久综合狠狠综合久久止| 亚洲午夜久久久久妓女影院| 香蕉久久久久久狠狠色| 久久精品国产99久久久香蕉| 久久免费精品一区二区| 91视频国产91久久久| 久久亚洲AV成人无码电影| 久久久久人妻一区二区三区| 免费一级做a爰片久久毛片潮 | 久久亚洲精品人成综合网| 一97日本道伊人久久综合影院| 97久久精品人人澡人人爽| 91视频国产91久久久| 狠色狠色狠狠色综合久久| 72种姿势欧美久久久久大黄蕉| 影音先锋女人AV鲁色资源网久久| 伊人伊成久久人综合网777| 久久久受www免费人成| 亚洲人成电影网站久久| 午夜精品久久久久久| 伊人久久无码中文字幕|