摘要
首先采用索引顶点数组对小行星进行几何建模,利用OpenGL透视投影函数模拟真实相机的相关参数,在此基础上,实现了小行星的点状模拟,同时利用Cg着色语言在图形处理器(GPU)上编程实现图像的几何畸变,背景噪声添加,运动模糊等效果。实验结果表明,用该方法能够产生实时性好,真实感较强的小行星模拟图像。
Firstly,this article makes use of index vertex array to create geometric model of the asteroid, use OpenGL functions to simulation the parameters of real camera. After that, model the point model of the asteroid, realize the geometric distortion, background noise, blur effect of the image by programming on GPU using Cg shader language. The result of experiment shows that this method can create real-time, high-reality images.
出处
《系统仿真学报》
CAS
CSCD
北大核心
2009年第S1期110-112,116,共4页
Journal of System Simulation
基金
国家863计划资助(2008AA12A214)