| In recent years,with the rapid development of Internet technology and the popularity of online shopping has penetrated into all aspects of society,and to influence and change people’s consumption habits in nature.Online shopping has the advantages of convenient and quick,but the lack of selection of goods at major shopping venue gives the body and mind brought a pleasant experience.Existing online shopping system,the user purchases the main mode of facing the twodimensional image displayed on the display to browse,select and purchase.In fact,this is a single,boring way and often unable to meet the user’s expectations of three-dimensional,reality,immersive shopping experience.This paper will applies augmented reality technology to online shopping.Using this technique to create a user-generated interactive behavior and immersive virtual supermarket scene,allowing users to get in the real,interactive,immersive virtual supermarket,expect to meet the user’s shopping experience.This paper specific design and implement a virtual shopping experience system based on Cardboard.The use of cheap Cardboard devices allows users to get immersed in the virtual supermarket shopping experience.By building three-dimensional space,and using immersive display technology will be displayed on the Cardboard in the mobile phone screen.Using the depth perception of the camera and the depth of space coordinate conversion algorithm,making the user wearing a Cardboard device in a specific space,walking as if in a virtual supermarket.And the use of collision detection means,so that users by waving to touch the virtual goods to reach the view,the purchase of the demand,to achieve the real shopping experience.The specific research contents are as follows:1.Using 3DS Max modeling tool to create the supermarket model.Through the Unity game engine to build three-dimensional space,and mixed Cardboard development,the scene will be displayed in the form of VR.2.The use of Kinect somatosensory camera to get the user’s location of the space coordinates and depth data.Through the corresponding interface makes the Unity development environment can call Kinect data.3.Coordinate by coordinate conversion algorithm realize the depth of the camera for the realistic benchmark coordinate system,the unity building space to display the virtual space coordinate system,and users to see the picture of the vision coordinates conversion,making the user in real space arbitrary when walking in the virtual space and corresponding to the mobile,which makes the shopping process realistic.4.Through the collision detection to determine whether the user in the virtual supermarket to touch the goods.If a collision occurs,realize the function of viewing and buying. |