基于WebGL的动态地形实时绘制  被引量:6

Real-time Rendering of Dynamic Terrain Based on WebGL

在线阅读下载全文

作  者:郑顾平[1] 白若林 

机构地区:[1]华北电力大学控制与计算机工程学院,河北保定071003

出  处:《软件导刊》2017年第12期202-204,209,共4页Software Guide

摘  要:在3D场景绘制中,需要安装插件才能够实现绘制效果,WebGL作为无须考虑插件的绘图标准将3D场景带入浏览器。针对动态地形绘制中由插件造成的实用性与灵活性问题,采用WebGL标准进行动态地形绘制。使用JavaScript文件格式实现几何剪切图算法的绘制过程,改进there.js库中的固有类实现物体之间的碰撞检测问题,再通过顶点着色器与片元着色器在GPU中完成地形绘制。实验结果证明,在WebGL上能够实现实时性与真实感并存的动态地形效果。3 Dscene rendering need to install the plug-in to be able to achieve the rendering effect.WebGL is a drawing standard that does not have to worry about plug-in and brings 3 Dinto the browser.WebGL standard is used to map the dynamic terrain aimed at the problem of practicability and flexibility in dynamic terrain rendering.Through the study of Geometry Clipmaps,it is implemented using JavaScript file format.Improved the existing class in there.js to achieve the collision detection between objects,and then through the vertex shader and chip shader to complete the terrain rendering.The experiments show WebGL is able to achieve dynamic terrain with real-time and realism coexist.

关 键 词:WEBGL 地形绘制 GEOMETRY Climaps 

分 类 号:TP317.4[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象