计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2010年
14期
173-175
,共3页
王冬%张豫南%李瀚飞%田鹏
王鼕%張豫南%李瀚飛%田鵬
왕동%장예남%리한비%전붕
动态地形%图形处理器%顶点纹理拾取%帧缓冲区对象
動態地形%圖形處理器%頂點紋理拾取%幀緩遲區對象
동태지형%도형처리기%정점문리습취%정완충구대상
dynamic terrain%Graphic Processing Unit(GPU)%vertex texture fetch%framebuffer object
针对动态地形中车辙实时可视化的要求,利用OpenGL帧缓冲区对象(framebuffer object)和顶点纹理拾取(vertex texture fetch)功能,提出了一种基于GPU的动态地形可视化算法.首先利用高程图(heightmap)直接产生初始的地形深度纹理,然后通过配置渲染状态生成车辆深度纹理.接着生成表示地表顶点下陷位移的地形深度偏移纹理,最后利用顶点纹理拾取实现了连续更新的车辙效果.给出了完整的动态地形可视化算法,最后通过实验证明该方法是可行的、有效的.
針對動態地形中車轍實時可視化的要求,利用OpenGL幀緩遲區對象(framebuffer object)和頂點紋理拾取(vertex texture fetch)功能,提齣瞭一種基于GPU的動態地形可視化算法.首先利用高程圖(heightmap)直接產生初始的地形深度紋理,然後通過配置渲染狀態生成車輛深度紋理.接著生成錶示地錶頂點下陷位移的地形深度偏移紋理,最後利用頂點紋理拾取實現瞭連續更新的車轍效果.給齣瞭完整的動態地形可視化算法,最後通過實驗證明該方法是可行的、有效的.
침대동태지형중차철실시가시화적요구,이용OpenGL정완충구대상(framebuffer object)화정점문리습취(vertex texture fetch)공능,제출료일충기우GPU적동태지형가시화산법.수선이용고정도(heightmap)직접산생초시적지형심도문리,연후통과배치선염상태생성차량심도문리.접착생성표시지표정점하함위이적지형심도편이문리,최후이용정점문리습취실현료련속경신적차철효과.급출료완정적동태지형가시화산법,최후통과실험증명해방법시가행적、유효적.
To meet the special requirement of the mrs visualization in dynamic terrain simulation,one GPU based solution is proposed in this paper,using OpenGL framebuffer object and vertex texture fetch.Firstly the height map to the initial terrain depth texture is translated directly,and then the vehicle depth texture is generated through a special render pass,and the depth offset map representing the complete set of displacement offsets for vertices is generated in success,and the continuous rots are realized through vertex texture fetch operation in the end.At last,the experiments prove that the method is feasible and valid.