| With the rapid development of virtual reality technology in recent years,virtual reality technology has been widely used in the medical field,sports field and game field.However,there are huge shortfalls in cross-country skiing in the field of sports.The main reason is that cross-country skiing started late,and due to the closed environment and dull training content of athletes,it is difficult to improve the enthusiasm.Based on the problems existing in ski training and entertainment,this paper puts forward a new design and implementation method of ski simulation system scene combining with the design requirements of the current ski simulation system.In this paper,the composition of the virtual reality system and the functional requirements analysis of the ski simulation system were completed from the overall perspective and combined with virtual reality technology.By comparing Kinect V1 equipment and Kinect V2 equipment,Kinect V2 equipment was used to collect color images,depth images and bone images of human body according to development requirements.Then I introduced the operation interface of Unity3 D and choose C# as the development scripting language.I completed the import of the ski character model in the virtual scene,the drawing of the terrain,the emphasis on the texture mapping,and the control of the sky box,light,tree model and motion camera.After that,Kinect Studio in Kinect SDK was used to complete the video recording of the basic skiing posture,and Visual Gesture Builder was used to complete the sample calibration of the posture.The posture threshold is set to change the movement of the avatar in different directions and the acceleration and deceleration process.The data connection between Unity3 D and Kinect V2 sensor was studied,the UI initial interface was developed,and human-computer interaction was realized.The virtual skiing scene developed can be used for general skiing training and entertainment.Finally,the position information and speed information of virtual characters were imported into Simulink simulation system through UDP protocol,and the collision box system in collision detection was studied.The overall experiment of virtual skiing system was carried out,and it was found that the system occupied less memory,the picture was clear and smooth,and all experiencers had a good immersion.For beginners,the skiing skills can be improved after using the virtual skiing scene system,which is considered to have a certain practicability. |