| Training positive social cognition through the development history of the Communist Party of China is a feasible approach.The history of the CPC represents valuable experience accumulated through long-term practice and spiritual wealth jointly created by the Party and the people.This history must be cherished and upheld for a long time,and constantly enriched and developed through practice in the new era.To learn about the Party’s history,people can visit their local Party history museum.Virtual reality technology provides the possibility of experiencing the Party history museum without leaving home.However,most of the existing VR systems such as history Museum and other museums use gamepad or mouse-and-keyboard to carry out virtual roaming,which is difficult for users to get a more real sense of presence and experience during virtual roaming.At present,it is a hot research topic in the field of VR to acquire the sense of presence and experience by walking through virtual scenes in the way of real walking.However,for large-scale virtual scenes,the real walking space cannot be provided as large as the virtual scenes’ space.The paper conducted a needs analysis,summary design and detailed design.In the demand section,it analyzes the demand of the roaming system of the multi-person Party history museum about the CPC,further describes the functional demand and non-functional demands of the roaming system of the multi-party history museum of the Communist Party of China.In the summary design which depended on the demand section,the paper elaborates on the main hardware architecture design and logical architecture design of the multi-party history museum roaming system.In the detailed design,different parts of the system are described,and the design ideas and processes of each function module of the system are clarified.Afterwards,based on both the demand section and summary design part,this paper is based on the system detailed design system for programming implementation.The development of this system mainly uses Unity 3D development engine and Pytorch deep learning framework,and the main development languages are C#and Python.The system chose devices:virtual device HTC VIVE headset and Kinect v2 camera.And HTC VIVE integrated eye movement interaction device and microphone device for position tracking,eye movement interaction,Gesture interaction and voice interaction.In the key technology part of the system,the redirected walking technology and the multiperson tracking technology are introduced.Firstly,the multi-person tracking technology based on shadow tracking and deep learning is described and compared with other shadow tracking technologies.Considered from different perspectives of human body’s distance from the light source,the system establishes a figure data set containing 30,000 pictures,and uses the data set annotation software for annotation to form a shadow data set.Then,the design of the Scripted Redirection Walking technology is described,and the experiment is compared with other redirection technology.In this paper,a scripted redirection walk controller algorithm is implemented,which combines the scene of the history museum of the Communist Party of China to allow users to carry out roaming in real walk way,so as to enable users to use the real walk way to roam the virtual scene in the limited physical space and understand the history of the Communist Party of China at the same time.The functional modules mainly include a multi-user experience module and a multi-user tracking module.The multi-user experience module realizes the scene modeling of the Party History Museum about the CPC,and allows users to experience it in a limited space using real walking.At the same time,the explanation of the CPC Party history events can be divided into two categories:First,virtual narrators are set in the scene.The system uses eye movement interaction and gesture recognition to judge the historical events that users want to understand according to their eye movement behavior and gesture,and explains the corresponding events to users through virtual narrators’ conversations.Another kind of video playback screen is set,when the user walks near the screen,it automatically plays the historical event explanation video on the screen to realize the explanation.The multi-user tracking module realizes the tracking of multiple users by single Kinect v2 camera at the same time,and uses the way of shadow tracking to solve the occlusion problem between multiple users.At the same time,the position between each user is detected,and collision warning is issued when users are too close.The multiple modules cooperate to achieve the goal of real walking and roaming in a small space.Compared with the traditional walkthrough mode,the real walkthrough in real walking way enhances the sense of roaming experience,and the single tracking camera tracking method reduces the walkthrough cost.Compared with the traditional Party history Museum about the CPC,people can experience the Party History Museum at home and understand the historical process of the Communist Party of China. |