1 研究现状
2 碰撞检测与响应不匹配原因分析
3 基于运动锁的解决方法
4 实验验证
表1 不同仿真环境的仿真节点位置偏差记录 |
无延迟 | 延迟50 ms | 延迟100 ms | 延迟150 ms | |
---|---|---|---|---|
不使用本文算法 | 0.162 m | 0.923 m | 1.681 m | 2.436 m |
使用本文算法 | 0 m | 0.135 m | 0.217 m | 0.283 m |
Command Control and Simulation >
Research on Consistency of Collision Detection and Response in Distributed Simulation Environment
Received date: 2021-05-17
Revised date: 2021-08-12
Online published: 2022-05-09
Copyright
The cycle difference and data transmission delay between simulation nodes will cause the mismatch of collision detection and collision response, lead to the penetration phenomenon between entities in the virtual scene, and bring unreal virtual experience. Therefore, the consistency of collision detection and response in distributed simulation environment is studied. A state updating method of simulation object based on motion lock is proposed, which separates entity dynamic simulation and collision detection. The simulation object is divided into two parts: simulation entity and detection entity. The detection entity receives the dynamic simulation results. When collision is detected, the state of the simulation entity is locked and corrected by loop feedback, the state of the simulation entity is unlocked and the state of the simulation entity coincides with the state of the detection entity until the detection entity in the visual simulation unit is no longer collided. It can effectively avoid the crossing problem caused by asynchronous detection and response.
Key words: distributed simulation; collision detection; motion lock
XIE Yun-kai , MENG Xiang-hui , ZHANG Yan-yan , LIU Qing-feng , WANG Jia-rong , LIANG Shi-long . Research on Consistency of Collision Detection and Response in Distributed Simulation Environment[J]. Command Control and Simulation, 2021 , 43(6) : 84 -87 . DOI: 10.3969/j.issn.1673-3819.2021.06.015
表1 不同仿真环境的仿真节点位置偏差记录 |
无延迟 | 延迟50 ms | 延迟100 ms | 延迟150 ms | |
---|---|---|---|---|
不使用本文算法 | 0.162 m | 0.923 m | 1.681 m | 2.436 m |
使用本文算法 | 0 m | 0.135 m | 0.217 m | 0.283 m |
[1] |
冯善达, 刘怡昕. 虚拟战场环境中典型碰撞问题研究[J]. 系统仿真学报, 2006, 18(6):1582-1584,1592.
|
[2] |
史旭升, 乔立红, 朱作为. 基于改进OBB包围盒的碰撞检测算法[J]. 湖南大学学报(自然科学版), 2014, 41(5):26-31.
|
[3] |
赵伟, 曲慧雁. 基于云计算Map-Reduce模型的快速碰撞检测算法[J]. 吉林大学学报(工学版), 2016, 46(2):578-584.
|
[4] |
|
[5] |
孙浩鹏, 李杨. 面向虚拟现实的水轮机与流体碰撞算法[J]. 吉林大学学报(理学版), 2013, 51(6):1123-1127.
|
[6] |
朱元峰, 孟军. 一种基于混合包围盒结构的实时碰撞检测的有效方法[J]. 系统仿真学报, 2008, 20(19):5099-5104.
|
[7] |
潘海鸿, 戴骏, 陈琳, 等. 多机器人并行动态包围体层次树碰撞检测算法[J]. 计算机辅助设计与图形学学报, 2014, 26(11):1948-1956.
|
[8] |
杜鹏, 唐敏, 童若锋. 多核加速的并行碰撞检测[J]. 计算机辅助设计与图形学学报, 2011, 23(5):833-838.
|
[9] |
唐敏,
|
[10] |
|
[11] |
|
[12] |
|
[13] |
谢世富, 马立元, 刘鹏远, 等. 虚拟环境下运动线缆碰撞检测算法研究与实现[J]. 系统仿真学报, 2013, 25(8):1865-1870.
|
[14] |
刘智斌, 李占利, 曹宝香. 虚拟环境中织物的碰撞检测及响应[J]. 系统仿真学报, 2007, 19(7):1497-1499,1578.
|
[15] |
范林军, 凌云翔, 王涛, 等. 探索分布仿真应用中广义时空域层级一致性[J]. 软件学报, 2013, 24(2):317-330.
|
[16] |
|
[17] |
|
[18] |
朱洪敏, 武殿梁, 范秀敏. 分布式虚拟装配环境中碰撞检测方法研究[J]. 系统仿真学报, 2009, 21(22):7154-7159.
|
/
〈 |
|
〉 |