摘要
在海底地形的三维可视化表达中,三维颜色渐变渲染方法能够直观、方便地表达海底地形的起伏变化。本文分析比较了颜色模型与光照模型,提出基于HSL颜色模型的海底地形多色渐变渲染与配色方法,基于OpenGL进行了真实感光照模型的设置,并分析了影响光照效果的相关因素,最终实现了以海底数字高程模型为数据基础并叠加颜色及光照渲染真实感三维海底场景的建立。文中基于MFC平台进行了程序实现,并与常见海底地形成图软件的渲染效果进行了比较,对比结果证明本文所提出的渲染方法地形显示准确,渲染效果美观。
The three-dimensional submarine topographical rendering map can present the undulation of submarine topography in a visual and convenient way.This paper first made a comparison between the color model and the illumination model,and then proposed a method of multi-color gradient rendering and color scheme based on HSL color model.The influence factors of illumination effect was analyzed and a realistic three-dimensional submarine topographical rendering map with sea-bottom DEM as its data basis and the superposition of color and illumination was set up.The validity of the proposed method was tested by program implementation based on MFC platform and the rendering map displayed by the proposed method was compared with the rendering maps displayed by some common mapping software.The comparison shows that with more accurate display of rendering topography,the proposed method has a better rendering effect.
出处
《山东科技大学学报(自然科学版)》
CAS
北大核心
2018年第2期99-106,共8页
Journal of Shandong University of Science and Technology(Natural Science)
基金
国家自然科学基金项目(41376108)
"全球变化与海气相互作用"专项