吉林大学学报(工学版) ›› 2016, Vol. 46 ›› Issue (2): 578-584.doi: 10.13229/j.cnki.jdxbgxb201602036

• Orginal Article • Previous Articles     Next Articles

Fast collision detection algorithm based on Cloud Map-Reduce model

ZHAO Wei1, QU Hui-yan2, 3   

  1. 1.School of Electronics and Information Technology, Zhejiang University of Media and Communications, Hangzhou 310018,China;
    2.College of Computer Science & Technology, Jilin University, Changchun 130012, China;
    3.School of Information Technology, Jilin Agricultural University, Changchun 130118,China
  • Received:2014-07-16 Online:2016-02-20 Published:2016-02-20

Abstract: To meet the real-time and accuracy requirements of collision detection in Human-computer Interface (HCI) system, a fast collision detection algorithm is developed based on cloud computing model. First, a new construction method of balanced OBB bounding box tree by split plane is proposed. Second, the concept of marked traversing tree is introduced, and it is marked in depth or breadth traversal using stack on OBB to reduce the number of intersections in collision detection. Third, the task tree is divided using Map-reduce Model (MRM), and it is executed in parallel for the sub-tasks after division by the cloud model, thus to reduce the detection time. Finally, each sub-task result is identified and logical operation on the identified sub-task is carried out; the operation result is used to determine whether collision has taken place or not. Comparative experimental results show that, compared with the classic I-COLLIDE, MPI and Pipelining algorithms, the proposed algorithm has obvious advantages in terms of efficiency and accuracy that can meet the requirements of real-time and accuracy of HCI in complex virtual space.

Key words: artificial intelligent, collision detection, human-computer interaction, cloud computing, parallel technology, Map - Reduce

CLC Number: 

  • TP301.6
[1] 范昭炜,万华根,高曙明. 基于流的实时碰撞检测算法[J]. 软件学报, 2004,15(10):1505-1514.
Fan Zhao-wei,Wan Hua-gen,Gao Shu-ming.Streaming real time collision detection using programmable graphics hardware[J].Journal of Software, 2004,15(10): 1505-1514.
[2] 郑轶,宁汝新,刘检华,等. 虚拟装配环境下快速碰撞检测方法的研究[J]. 系统仿真学报,2005,17(9): 2167-2170.
Zheng Yi,Ning Ru-xin,Liu Jian-hua,et al.Research on fast collision detection method in virtual assembly environment[J]. Journal of System Simulation, 2005,17(9): 2167-2170.
[3] Lawbr Orion Sky, Kal'e Laxmikant V. A voxel-based paralel collision detection algorithm[C]//Proc of the 2002 International Conference on Supercomputing Conf, New York: USA: ACM, 2002:285-293.
[4] 薛广涛,李超,尤晋元. 基于凸多面体剖分的并行碰撞检测算法[J]. 上海交通大学学报, 2004,38(8):1385-1388.
Xue Guang-tao,Li Chao,You Jin-yuan.Algorithm of parallel collision detection based on dividing a convex polyhedron to tetrahedrons[J]. Journal of Shanghai Jiaotong University, 2004,38(8):1385-1388.
[5] 刘晓平,曹力. 基于MPI的并行八叉树碰撞检测[J]. 计算机辅助设计与图形学学报, 2007,19(2):184-187,192.
Liu Xiao-ping,Cao Li.Parallel Octree collision detection based on MPI[J].Journal of Computer-aided Design & Computer Graphics, 2007,19(2):184-187,192.
[6] 赵伟,何艳爽. 一种快速的基于并行的碰撞检测算法[J].吉林大学学报:工学版, 2008, 38(1):152-157.
Zhao Wei,He Yan-shuang. Rapid algorithm for parallel collision detection[J]. Journal of Jilin University(Engineering and Technology Edition),2008, 38(1):152-157.
[7] 赵伟 ,蔡兴盛.基于解空间划分的PSO改进算法[J].吉林大学学报:理学版,2012,50(4):725-732.
Zhao Wei, Cai Xing-sheng. PSO Improved algorithmg based on the solution space division[J].Journal of Jilin University(Science Edition),2012,50(4):725-732.
[8] Tang M, Curtis S, Yoon S E, et al. ICCD: interactive continuous collision detection between deformable models using connectivity-based culling[J].IEEE Transactions on Visualization and Computer Graphics, 2009,15 (4):544-557.
[9] Tang M, Manocha D, Tong R F. MCCD: Multi-core collision detection between deformable models using front-based decomposition[J]. Graphical Models, 2010, 72:7-23.
[10] Xu Qiang, Lu Xiao-feng, Ma Deng-wu. A survey of triangle and triangle intersection test[J]. Computer Simulation, 2006, 23(8):76-78,145.
[11] 泥宗涛, 余英林. 基于分层包围盒的连续碰撞检测加速算法[J]. 计算机工程与应用,2000,36(10):24-26.
Ni Zong-tao,Yu Ying-lin.Speeding up constant collision detection using layered bounding box[J].Computer Engineering and Applications,2000,36(10):24-26.
[1] QU Hui-yan, ZHAO Wei, QIN Ai-hong. A fast collision detection algorithm based on optimization operator [J]. 吉林大学学报(工学版), 2017, 47(5): 1598-1603.
[2] HE Wen, LI De-yi, AN Li-feng, ZHANG Tian-lei, GUO Mu, CHEN Gui-sheng. Regular route mining algorithm based on GPS trajectories [J]. 吉林大学学报(工学版), 2014, 44(6): 1764-1770.
[3] LI Qi, MA Jian-feng, XIONG Jin-bo,ZHANG Tao,LIU Xi-meng. Attribute-based encryption based access control scheme withconstant-size ciphertext in cloud computing [J]. 吉林大学学报(工学版), 2014, 44(3): 788-794.
[4] LIU Guo-qi, LIU Hui, GAO Yu, LIU Ying, ZHU Zhi-liang. Resource dynamic pricing strategy based on utility in cloud computing [J]. 吉林大学学报(工学版), 2013, 43(06): 1631-1637.
[5] YANG Qing-fang, MEI Duo, HAN Zhen-bo, ZHANG Biao. Ant colony optimization for the shortest path of urban road network based on cloud computing [J]. 吉林大学学报(工学版), 2013, 43(05): 1210-1214.
[6] MENG Chao, SUN Zhi-xin, LIU San-min. Multiple execution paths for virus based on cloud computing [J]. 吉林大学学报(工学版), 2013, 43(03): 718-726.
[7] WANG Dan, HAN Hui-rui, TIAN Song, ZANG Xue-bai, SONG Bing-qiang. Object recognition and location based on tree part-based model [J]. 吉林大学学报(工学版), 2012, 42(增刊1): 346-349.
[8] NIE Xiong-ding, HAN De-zhi, BI Kun. Cloud computing data security [J]. 吉林大学学报(工学版), 2012, 42(增刊1): 332-336.
[9] GUO Ping, DAN Guang-xiang. Mixed encryption algorithm in cloud computing [J]. 吉林大学学报(工学版), 2012, 42(增刊1): 327-331.
[10] CHEN Long, LI Jun-zhong. Verifiable method for remote data integrity supporting different granular operation [J]. 吉林大学学报(工学版), 2012, 42(增刊1): 295-299.
[11] ZHAO Wei,LI Wen-hui. Fast collision detection algorithm for space image reconstructio [J]. 吉林大学学报(工学版), 2009, 39(06): 1631-1634.
[12] PAN Hong-jun, SUN Ji-gui . Formalized model of multiagent software system based on OOAPN model
[J]. 吉林大学学报(工学版), 2008, 38(05): 1120-1124.
[13] Wei;Li Wen-hui;Xia Yun-fei. Research on convex polyhedron collision detection algorithm based on nonlinear programming

Zhao

[J]. 吉林大学学报(工学版), 2008, 38(03): 676-0679.
[14] Liu Jie,Sun Ji-gui,Li Hong-jian,Pan Zuo-feng,Wang Chang-bin . Setup of BP ANNbased crash sensing algorithm [J]. 吉林大学学报(工学版), 2008, 38(02): 414-0418.
[15] Zhou Chun-guang,Qu Peng-cheng,Wang Xi,Wang Jian-yu,Wang Zhe . DSNE:a new dynamic social network analysis algorithm [J]. 吉林大学学报(工学版), 2008, 38(02): 408-0413.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
[1] LIU Song-shan, WANG Qing-nian, WANG Wei-hua, LIN Xin. Influence of inertial mass on damping and amplitude-frequency characteristic of regenerative suspension[J]. 吉林大学学报(工学版), 2013, 43(03): 557 -563 .
[2] CHU Liang, WANG Yan-bo, QI Fu-wei, ZHANG Yong-sheng. Control method of inlet valves for brake pressure fine regulation[J]. 吉林大学学报(工学版), 2013, 43(03): 564 -570 .
[3] LI Jing, WANG Zi-han, YU Chun-xian, HAN Zuo-yue, SUN Bo-hua. Design of control system to follow vehicle state with HIL test beach[J]. 吉林大学学报(工学版), 2013, 43(03): 577 -583 .
[4] HU Xing-jun, LI Teng-fei, WANG Jing-yu, YANG Bo, GUO Peng, LIAO Lei. Numerical simulation of the influence of rear-end panels on the wake flow field of a heavy-duty truck[J]. 吉林大学学报(工学版), 2013, 43(03): 595 -601 .
[5] WANG Tong-jian, CHEN Jin-shi, ZHAO Feng, ZHAO Qing-bo, LIU Xin-hui, YUAN Hua-shan. Mechanical-hydraulic co-simulation and experiment of full hydraulic steering systems[J]. 吉林大学学报(工学版), 2013, 43(03): 607 -612 .
[6] ZHANG Chun-qin, JIANG Gui-yan, WU Zheng-yan. Factors influencing motor vehicle travel departure time choice behavior[J]. 吉林大学学报(工学版), 2013, 43(03): 626 -632 .
[7] MA Wan-jing, XIE Han-zhou. Integrated control of main-signal and pre-signal on approach of intersection with double stop line[J]. 吉林大学学报(工学版), 2013, 43(03): 633 -639 .
[8] YU De-xin, TONG Qian, YANG Zhao-sheng, GAO Peng. Forecast model of emergency traffic evacuation time under major disaster[J]. 吉林大学学报(工学版), 2013, 43(03): 654 -658 .
[9] XIAO Yun, LEI Jun-qing, ZHANG Kun, LI Zhong-san. Fatigue stiffness degradation of prestressed concrete beam under multilevel amplitude cycle loading[J]. 吉林大学学报(工学版), 2013, 43(03): 665 -670 .
[10] XIAO Rui, DENG Zong-cai, LAN Ming-zhang, SHEN Chen-liang. Experiment research on proportions of reactive powder concrete without silica fume[J]. 吉林大学学报(工学版), 2013, 43(03): 671 -676 .