摘要
针对因建模的三维数据量巨大导致传统Open GL固定管线对三维地形渲染难以满足实时性需求这一问题,提出利用GPU可编程图形管线来进行渲染,实现区域的可视化实时显示。建模过程中首先使用基于分形理论的随机中点位移法产生地形高程数据,然后利用三角面元连接地形高程散点生成三维曲面,最后通过GLSL着色语言对GPU进行编程实现对地形的渲染。该方法建模过程与Open GL固定管线渲染效率进行对比,结果表明:利用GPU可编程图形管线对400万的三维地形网格数据进行渲染仅用时82.92 ms,效率远高于Open GL固定管线的渲染,能够满足实时渲染的需要。
Simulation modeling in micro-seismic monitoring areas is crucial for evaluating micro-seismic events. Because of the huge amount of 3D data for modeling, the traditional Open GL fixed pipeline can not be applied to render 3D terrains in real time. A GPU programmable graphics pipeline capable of displaying visual areas in real time was proposed in this paper accordingly.First, the random midpoint displacement method was applied on the basis of fractal theory to produce terrain elevation data. Second, a 3D surface was formed by connecting triangle face-units with the scattered terrain elevation points. Next, the terrain was rendered by the GPU with a GLSL shading language. Compared with the rendering efficiency of the traditional Open GL fixed pipeline, the new method is more efficient, for it takes only 82.92 ms to render 4-million terrain meshes.
出处
《中国测试》
CAS
北大核心
2015年第8期83-87,共5页
China Measurement & Test
基金
国家重大科研仪器设备研制专项(41227802)
四川省科技支撑计划项目(2014GZ0184)
西南科技大学科研基金项目(13zx7135
15yyhk14)