摘要
针对目前三维云模拟绘制效率低、计算资源消耗大、绘制效果差等问题,提出基于八叉树邻域分析的光线跟踪算法,并用于WRF模式云数据的三维模拟。使用八叉树结构优化传统光线跟踪算法的数据存储结构,通过存储节点编码和划分层次改进邻域分析算法,通过简化光线的折射公式优化Whitted光照模型,借助OpenGL和Vapor工具实现云数据的三维可视化。实验结果表明,该方法降低了绘制时间,提高了渲染效率,更好体现了云的真实物理特征。
To solve the problems such as low efficiency of 3D cloud simulation rendering,high consumption of computing resources and poor rendering effect,a ray tracing algorithm based on octree neighbor finding was proposed and applied to the 3D cloud simulation of WRF data.Octree structure was used to optimize the data storage structure of ray tracing algorithm,the neighbor finding algorithm was improved through storage node coding and hierarchical division.Whitted lighting model was optimized by simplifying the ray refraction formula.3D visualization of cloud data was achieved with OpenGL and Vapor tools.Experimental results show that the proposed method reduces the rendering time,improves the rendering efficiency,and better reflects the real physical characteristics of the cloud.
作者
郑义
谢永华
姬瑜
朱超凡
ZHENG Yi;XIE Yong-hua;JI Yu;ZHU Chao-fan(School of Computer and Software,Nanjing University of Information Science and Technology,Nanjing 210044,China;Jiangsu Engineering Center of Network Monitoring,Nanjing University of Information Science and Technology,Nanjing 210044,China)
出处
《计算机工程与设计》
北大核心
2020年第5期1489-1493,共5页
Computer Engineering and Design
基金
国家自然科学基金项目(41675155)。
关键词
八叉树
邻域分析
光线跟踪
三维模拟
WRF数据
octree
neighbor finding
ray tracing
three-dimensional simulation
WRF data