基于体纹理技术的瀑布与地形碰撞检测  被引量:1

Detection of collision of waterfall with terrain based on solid texture technique

在线阅读下载全文

作  者:蹇旭[1] 

机构地区:[1]阿坝师范高等专科学校计算机科学系,四川汶川623002

出  处:《兰州理工大学学报》2014年第3期116-119,共4页Journal of Lanzhou University of Technology

基  金:四川省教育厅应用基础研究重点项目(12ZB001)

摘  要:采用体纹理技术进行瀑布与地形的碰撞检测.同采用层次包围盒的瀑布的碰撞检测不同,该方法将地形图元的平面方程通过实例化技术绘制到体纹理,再通过瀑布粒子运动位置对体纹理进行采样,由粒子与平面的距离判断瀑布粒子是否与地面发生碰撞,并根据反射规律决定瀑布粒子碰撞后的运动,从而绘制出瀑布下落后沿着地表面随着地势流动的效果.实验表明,该方法能够满足实时性绘制要求.Collision detection of waterfall with terrain was proposed based on solid texture technique. Different from waterfall collision detection with hierarchical bounding box, in this method the plane equation of terrain primitive elements were mapped into solid texture with hardware instancing, and then the solid texture was sampled according to the moving position of the waterfall particle. According to the distance of the particle from the plane, it was determined whether the collision of water fall particle with the terrain ground occurred. If collision occurred, the particle motion would be determined according to reflection law, so that the motion of waterfall along the surface of the terrain would be plotted. It was shown by experiment that this method could satisfy the requirement of real-time plotting.

关 键 词:体纹理 层次包围盒 碰撞检测 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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