首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于OpenGL的规则格网地形法线计算优化研究
引用本文:韩李涛,孔巧丽,戴洪磊,牟乃夏.基于OpenGL的规则格网地形法线计算优化研究[J].测绘科学,2012,37(5):17-19.
作者姓名:韩李涛  孔巧丽  戴洪磊  牟乃夏
作者单位:1. 山东科技大学测绘科学与工程学院,山东青岛266510;海岛(礁)测绘技术国家测绘局重点实验室,山东青岛266510
2. 山东科技大学测绘科学与工程学院,山东青岛,266510
基金项目:国家自然科学基金(40876051);山东省“泰山学者”建设工程专项;海岛(礁)测绘技术国家测绘局重点实验室开放基金(2009B15,2010B17)
摘    要:本文探讨了OpenGL的光照计算原理以及法线在光照计算中的作用,针对规则格网地形的几何结构特征提出了直接计算、方程法以及迭代法计算地形平均法线的3种方法,并分析了各自的优缺点。实验证明,迭代法由于用加法代替乘法计算,同时又避免了不必要的重复法线计算,计算效率具有明显优势。

关 键 词:规则格网  地形可视化  光照计算  法线计算

Optimization of normal calculation of regular grid terrain based on OpenGL
HAN Li-tao , KONG Qiao-li , DAI Hong-lei , MOU Nai-xia.Optimization of normal calculation of regular grid terrain based on OpenGL[J].Science of Surveying and Mapping,2012,37(5):17-19.
Authors:HAN Li-tao  KONG Qiao-li  DAI Hong-lei  MOU Nai-xia
Institution:①(①Geomatics College,Shandong University of Science and Technology,Shandong Qingdao 266510,China;②Key Laboratory of Surveying and Mapping Technology on Island and Reed,SBSM,Shandong Qingdao 266510,China)
Abstract:Illumination calculation is the key to draw realistic terrain,and normal calculation and illumination calculation of geometry elements are also closely linked.This paper discussed the principle of illumination calculation of OpenGL and the role of normal calculation in illumination calculation,proposed direct calculation method,equation method and iterative method used to calculate the average normal of terrain,and analyzed their advantages and disadvantages.Experiments showed that the iterative method has obvious advantages on computational efficiency for it uses addition instead of multiplication,meanwhile avoids unnecessary duplication of normal computing.
Keywords:regular grid  terrain visualization  illumination calculation  normal calculation
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号