利用GPU进行实时大规模3D地形渲染的方法研究  被引量:2

Application of GPU for large real-time 3D terrain rendering method

在线阅读下载全文

作  者:韩永红[1] 刘文清[1] 叶斌[1] 

机构地区:[1]成都信息工程学院,成都610225

出  处:《计算机工程与应用》2011年第5期57-59,113,共4页Computer Engineering and Applications

基  金:成都信息工程学院自然科学与技术发展基金(No.CRF200920;No.CSRF200803)

摘  要:提出了通过GPU渲染地形的一种简易方法,首要的任务就是将高度场的查询及批LOD处理也从CPU移至GPU。顶点位置可结合层级索引模板由顶点着色器计算给出,然后,对地形顶点采用适当的图元进行索引,调用一次API就可绘制所有的三角形。最后,添加额外的"裙摆顶点"来填补由批LOD算法造成的裂缝。该算法不必每帧都更新顶点缓冲,从而大大减少了系统内存和CPU的开销。This paper will present an easy-to-implement algorithm for rendering terrain on GPU.By moving the height field lookup and aggregated LOD handle from the CPU to the GPU,the vertex positions can be calculated in the vertex shader which are combined with hierarchical index template.Then,only one API calls for all triangles by using a suitable primitive to index terrain vertices.Finally,the extra vertices are simply added at the end of the buffer to fill the cracks which may occur.Those"skirt vertices"can be able to represent all indices as some triangle_lists.Thus,it is no longer necessary to perform per frame vertex buffer updates.The presented algorithm reduces the system memory and CPU requirements.

关 键 词:顶点着色器 批层次细节 层级索引模板 顶点裙摆 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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