检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中北大学电子与计算机科学技术学院,太原030051 [2]太原工业学院,太原030008
出 处:《电脑开发与应用》2010年第9期33-35,38,共4页Computer Development & Applications
摘 要:分形地形的生成是三维自然景物的模拟的重要组成之一。研究了基于灰度值算法与分形插值算法的三维分形地形的生成。利用灰度值算法或Diamond-Square算法生成高度数据,同时作平滑处理,然后对高度数据着色并利用OpenGL纹理映射技术实现三维分形地形的生成并显示。这种方法可按照地形需求改变地形崎岖程度和地貌,在实验上基本上达到了真实感的效果。The generation of fractal terrain is one of important components in the simulation of three-dimensional natural scenery.The paper has researched the generation of fractal terrain based on gray algorithm and fractal interpolation algorithm.For realizing the generation and display of three-dimensional fractal terrain,firstly,we generated the altitude data by using the Diamond-Square algorithm or Gray algorithm,and then made it smoothing,finally colored the altitude data and used the OpenGL texture mapping technology.This way can change terrain ruggedness level and landform according to terrain requirements,and achieved the effect of realistic basically in the experiments.
关 键 词:OPENGL 灰度值算法 DIAMOND-SQUARE算法 纹理映射 三维分形地形的生成
分 类 号:TP391[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.249