摘要
尽管JAVA3D在虚拟制造中得到广泛的应用,但是在基于JAVA3D的虚拟切削系统中,由于JA-VA3D原有的碰撞检测算法不完善,存在误判和误差较大的缺点。针对这些不足,提出了基于多视角的动态八叉树碰撞检测算法,分别从正前方、正上方、正左方和45°等轴测4个视角同时检测物体的碰撞情况,每个视角中采用动态八叉树算法对物体进行检测,只有当4个视角同时检测到碰撞时才认为发生碰撞。算法成功地避免了误判,减小原来的误差,实现了对JAVA3D碰撞检测算法的改进。
Although JAVA3D is used extensively in virtual manufacturing,there is still too much error in collision detection because of the unperfect detection algorithm in virtual cutting system base on UAVA3D. This paper provides the algorithm of dynamic octree collision detection based on multi - visual angle. This algorithm detects the collision of objects at the same time through four visual angles of front,top,left and 45°axonometry and the algorithm of dynamic octree is used to detect the collision in each visual angle. The system will report the collision only when the four visual angles detect the collision at the same time. This algorithm avoids the mistakes and decreases the errors, implanting the improvement of JAVA3D collision detection algorithm.
出处
《电脑开发与应用》
2006年第4期47-49,共3页
Computer Development & Applications