At present,the integration of human-computer interaction and virtual reality technology has become one of the most important research directions of humancomputer interaction and virtual reality technology.With the continuous evolution of cardiopulmonary resuscitation training system and system,user training tends to be more and more autonomous,but there are still deficiencies.The poor training effect and the fear of rescue in complex scenes have become the urgent problems to be solved in the current cardiopulmonary resuscitation training system.In order to solve this problem,a new cardiopulmonary resuscitation training system based on virtual reality and human-computer interaction technology was born.The system uses virtual reality technology to solve the simulation of complex scenes and the switching of multiple scenes,and uses human-computer interaction technology to improve the training quality.The research on this new cardiopulmonary resuscitation training system and system has become an important topic.Based on the above problems,the main research contents of this paper are as follows:(1)Through in-depth study of the detailed process of collision detection based on bounding box,it is found that the algorithm has some shortcomings,such as poor storage structure of bounding box tree nodes,resulting in memory waste and multiple redundant tests in intersection test stage.Therefore,three optimization schemes are proposed to solve these shortcomings.The first scheme is to reduce the number of nodes by optimizing the structure of hierarchical bounding box tree,which has some limitations.The second scheme uses the storage structure of B+ tree to store the node information of hierarchical bounding box tree,so as to reduce the number of disk and memory IO under the same conditions.This scheme can improve the efficiency of the algorithm to a certain extent.The third scheme is to adjust the steps according to the intersection test of different triangular patches to reduce the number of redundant intersection tests.This scheme can greatly improve the efficiency of the algorithm.(2)In order to explore the whole process and implementation of data interaction between cardiopulmonary resuscitation simulator and virtual reality scene,a set of solutions is designed.In terms of hardware communication,the scheme selects Bluetooth communication mode,designs data transmission format and corresponding instruction library,designs blueprint classes such as connection,data transmission and data filtering in terms of software,and completes the design of real-time data feedback and data panel display.(3)In order to integrate virtual reality and human-computer interaction technology with cardiopulmonary resuscitation training,a cardiopulmonary resuscitation training system based on virtual reality human-computer interaction is realized.On the basis of the system,carry out collision detection experiments for different optimization schemes,explore the time required for single collision detection between fixed face number model and different face number model,and between fixed face number model and multiple fixed face number models.Finally,according to the analysis of the experimental results,it is concluded that the storage structure optimization and intersection test optimization of bounding box tree nodes can better improve the efficiency of collision detection algorithm. |