检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.116.36.23