摘要
在虚拟场景中经常会用到虚拟现实技术设置某精灵的移动范围和区域,物体与物体之间碰撞检测的算法成为技术关键,常用的基于图形图像的算法虽然很有效应用范围广,但是无事件处理能力,并且执行效率低和占用大量的系统资源.本文介绍一种利用二维数组高效的碰撞检测算法,满足执行效率高但精度要求不高的碰撞检测.
Virtual reality technology is often used in virtual scene to set the movement range of a certain role, where collision detection algorithm between objects has been a crucial technology. Common algorithm based on graphics and image is effective and widely used but is incapable of event handling, unefficient and occupies too many system resources. Therefore, an efficient algorithm for two-dimensional array collision detection is introduced to meet the needs of high efficiency and less precise collision detection.
出处
《计算机系统应用》
2013年第9期139-143,共5页
Computer Systems & Applications
关键词
碰撞检测
虚拟现实技术
二维空间
事件处理
collision detection
virtual reality technology
two-dimensional space
event handling