融合DNN与AABB—圆形包围盒自碰撞检测
Self-collision detection algorithm based on fused DNN and AABB-circular bounding box
- 2020年25卷第8期 页码:1674-1683
收稿:2019-10-25,
修回:2020-1-8,
录用:2020-1-15,
纸质出版:2020-08-16
DOI: 10.11834/jig.190548
移动端阅览

浏览全部资源
扫码关注微信
收稿:2019-10-25,
修回:2020-1-8,
录用:2020-1-15,
纸质出版:2020-08-16
移动端阅览
目的
2
为了解决自碰撞检测剔除率低和检测速度慢的问题,提出一种AABB(aixe align bounding box)—圆形包围盒树结构和具有二分类功能的深度神经网络(deep neural network,DNN)加速包围盒相交检测的方法。
方法
2
对变形体构建AABB—圆形包围盒树,即对内部节点构建AABB包围盒,对叶子节点构建圆形包围盒。根据AABB—圆形包围盒生成包围盒测试树(bounding volume test tree,BVTT),采用深度神经网络优化BVTT的包围盒相交测试和法向锥测试,输出碰撞三角形对。
结果
2
在确定最优隐含层数和每层最优节点数保证深度神经网络达到最佳准确率的情况下,实验结果表明,在没有自碰撞的情况下,本文方法与AABB-OBB方法、经典包围盒方法耗时相同,但在自碰撞足够多的模拟场景中,融合深度神经网络的AABB-圆形包围盒方法比AABB-OBB(oriented bounding box)方法和经典的包围盒方法速度更快,整体耗时缩短了21%~37%。同时,对5种方法的更新率、检测效率和图元相交测试时间进行实验对比,发现本文方法比AABB-OBB方法和经典的方法具有更好的贴合性和更快的相交测试速度。
结论
2
本文方法相对于AABB-OBB方法、经典包围盒方法的测试速度更快,不仅提高了自碰撞检测高层剔除率,同时降低了模拟整体耗时,更适用于实时变形体自碰撞检测领域。
Objective
2
The deformation body simulation technology has been continuously developed in recent years and has been widely investigated in virtual simulation. It has been widely used in animation
design
and games. In the computer virtual environment
rapid and accurate self-collision detection can immensely enhance the realistic sense of deformation body simulation. A cloth is a representative deformable body composed of a large number of geometric elements
which is characterized by thin and soft
and easy to deform
squeeze
and wrinkle. Therefore
fabric self-collision should be detected and penetration should be prevented to ensure the reality of fabric simulation. Data analysis shows that self-collision detection takes 60% 80% of the time in the simulated scene of a deformed body. Self-collision detection of cloth frequently consumes considerable time resources. For the deformation model without thickness
such as cloth
whether the fabric itself has a collision is difficult to determine through traditional collision detection in real time. Therefore
self-collision detection is a cutting-edge problem in cloth simulation. The self-collision detection effect of a deformed body
such as cloth
largely determines the authenticity of virtual simulation. Real-time is a difficult point in self-collision detection. Self-collision detection consumes considerable time because the cloth model consists of many primitives. Most existing self-collision detection algorithms focus on improving the test speed. The traditional self-collision detection algorithm uses bounding box test
which is extremely large and complex. It cannot meet the accuracy and real-time requirements at the same time. In other words
the pursuit of accuracy will prolong the time consumed by calculation
and the pursuit of real-time will reduce the detection accuracy. The above conditions will make the simulation effect insufficiently real. A previous work combined the normal cone test with traditional collision detection method
reduced the computation of intersection detection
and improved the detection speed to improve the speed of self-collision detection without affecting the detection accuracy. The calculation of the intersection test of the primitives is reduced by constructing a hybrid hierarchy composed of various bounding boxes to improve the fit of the bounding box. However
the improved algorithm cannot meet the real-time and accuracy requirements. This paper proposes a method combining the aixe align bounding box (AABB)-circular hybrid hierarchy of deep neural networks to solve the above problems.
Method
2
This paper proposes an AABB-circular hybrid hierarchical bounding box that integrates deep neural networks. The working principle is described as follows. First
an AABB-circular hybrid hierarchical bounding box tree is built for the clothing model. The AABB hierarchical boundary box tree is constructed for the model
and the three vertices of the triangle are used to calculate the circular boundary frame of the leaf nodes. Second
a bounding volume test tree (BVTT) is generated in accordance with the AABB-circular hierarchical bounding box. Third
the corresponding normal cone is calculated for the nodes in the constructed BVTT tree. Fourth
a bounding box test is performed first
followed by a normal cone test
and multiple pairs of potential collision primitives are outputted. Finally
multiple pairs of collision triangles are outputted by performing a primitive intersection test on the potential collision primitive.
Result
2
Experimental results shows that the proposed method achieves a balance between accuracy and time consumption on the premise of finding the optimal number of hidden layers in the deep neural network and the optimal number of nodes in each layer. The AABB-oriented bounding box(OBB) algorithm takes 19% to 33% less time than the classic self-collision detection algorithm. We compared the proposed method with the AABB-OBB method and three classical methods in terms of time consumption of updating
detecting
and primitive testing to verify the advantages of the proposed method in computation time. Experimental results show that the proposed method consumes a small amount of update time
optimizes the speed of primitive crossover testing
and reduces the overall time consumption. We compared the proposed method with the AABB-OBB method and three classic methods in the primitive intersection test to verify its superiority in terms of fit. The proposed method has the least number of pattern intersection tests and the best fit.
Conclusion
2
An AABB-circular hybrid hierarchical self-collision detection method based on deep neural network is proposed. The AABB and the round form a hybrid layer bounding box to perform self-collision detection on the cloth. The intersection of the circular bounding box is detected using a deep neural network. Compared with the classic AABB-OBB bounding box and the classic three bounding boxes
the accuracy and timeliness of the AABB-circular hybrid hierarchical bounding box with fusion deep neural network are verified from multiple indicators.
Chen L, Ye J T, Jiang L G, Ma C C, Cheng Z L and Zhang X P. 2018. Synthesizing cloth wrinkles by CNN-based geometry image superresolution. Computer Animation and Virtual Worlds, 29:3-4[DOI:10.1002/cav.1810]
Liu C. 2018. Research and Implementation of Collision Detection Algorithm in Virtual Environment. Nanjing:Nanjing University of Aeronautics and Astronautics
刘超. 2018.虚拟环境中碰撞检测算法的研究和实现.南京:南京航空航天大学
Liu Y C, Wang H X and Yang P. 2017. A three-layer hybrid bounding volume hierarchy for collision detection//Proceedings of the 7th International Conference on Computer Engineering and Networks. Shanghai: SISSA Medialab: 73-81[ DOI: 10.22323/1.299.0053 http://dx.doi.org/10.22323/1.299.0053 ]
Mammadli R, Wolf F and Jannesari A. 2019. The art of getting deep neural networks in shape. ACM Transactions on Architecture and Code Optimization, 15(4):#62[DOI:10.1145/3291053]
Oh Y J, Lee T M and Lee I K. 2018. Hierarchical cloth simulation using deep neural networks//Proceedings of Computer Graphics International 2018. Bintan Island Indonesia: ACM: 139-146[ DOI: 10.1145/3208159.3208162 http://dx.doi.org/10.1145/3208159.3208162 ]
Provot X. 1997. Collision and self-collision handling in cloth model dedicated to design garments//Proceedings of Eurographics Workshop in Budapest Computer Animation and Simulation'97. Hungary: Springer: 177-189[ DOI: 10.1007/978-3-7091-6874-5_13 http://dx.doi.org/10.1007/978-3-7091-6874-5_13 ]
Schmidhuber J. 2015. Deep learning in neural networks:an overview. Neural Networks, 61:85-117[DOI:10.1016/j.neunet.2014.09.003]
Schvartzman S C, Pérez A G and Otaduy M A. 2010. Star-contours for efficient hierarchical self-collision detection//Proceedings of SIGGRAPH'10: ACM SIGGRAPH. Los Angeles: ACM: #80[ DOI: 10.1145/1833349.1778817 http://dx.doi.org/10.1145/1833349.1778817 ]
Shi M, Yang L, Mao T L, Deng Y W and Wang S Q. 2017. Study on the correlation between human motion and garment deformation in cloth animation. Journal of Computer-Aided Design and Computer Graphics, 29(10):1941-1951
石敏, 杨柳, 毛天露, 邓一文, 王素琴. 2017.服装动画中人体运动与服装变形的相关性学习.计算机辅助设计与图形学学报, 29(10):1941-1951[DOI:10.3969/j.issn.1003-9775.2017.10.021]
Sun J R and Lu X M. 2018. Optimized collision detection algorithm based on hybrid bounding box and intersection of triangles. Compu-ter Engineering and Applications, 54(19):198-203
孙敬荣, 卢新明. 2018.基于混合包围盒与三角形相交的碰撞检测优化算法.计算机工程与应用, 54(19):198-203[DOI:10.3778/j.issn.1002-8331.1803-0262]
Volino P and Thalmann N M. 1995. Collision and self-collision detection: efficient and robust solutions for highly deformable Surfaces//Proceedings of the Eurographics Workshop in Maastricht Computer Animation and Simulation'95. The Netherlands: Springer: 55-65[ DOI: 10.1007/978-3-7091-9435-5_5 http://dx.doi.org/10.1007/978-3-7091-9435-5_5 ]
Wang C, Zhang Z L, Long Y and Wang S D. 2018. Improved hybrid bounding box collision detection algorithm. Journal of System Simulation, 30(11):4236-4243
王超, 张志利, 龙勇, 王韶迪. 2018.改进的混合包围盒碰撞检测算法研究.系统仿真学报, 30(11):4236-4243[DOI:10.16182/j.issn1004731x.joss.201811023]
Wang T T, Liu Z H, Tang M, Tong R F and Manocha D. 2017. Efficient and reliable self-collision culling using unprojected normal cones. Computer Graphics Forum, 36(8):487-498[DOI:10.1111/cgf.13095]
Wang T T, Tang M, Wang Z D and Tong R F. 2018. Accurate self-collision detection using enhanced dual-cone method. Computers and Graphics, 73:70-79[DOI:10.1016/j.cag.2018.04.001]
Wong S K and Cheng Y C. 2014. Continuous self-collision detection for deformable surfaces interacting with solid models. Computer Graphics Forum, 33(6):143-153[DOI:10.1111/cgf.12284]
Wong S K and Cheng Y C. 2016. GPU-based radial view-based culling for continuous self-collision detection of deformable surfaces. The Visual Computer, 32(1):67-81[DOI:10.1007/s00371-014-1056-9]
相关文章
相关作者
相关机构
京公网安备11010802024621