TECHNICAL FIELD

The present application relates to the field of VR, and more particularly to a method and device for pointing at an object in a VR scene, and a VR apparatus.

BACKGROUND

At present, there are companies providing control equipment for users to control target objects in VR, and gamepads in VR equipment are widely applied to VR. For example, a Rift helmet has a gamepad for a game player to use well. In a process of interaction between a user and an equipment, pointing at an object is the most basic and most direct operation. However, in a non-game environment or a scene where there is no game player, a gamepad may not directly point at an object, for example, selecting a title or picture in the virtual scene, so that it is difficult to operate the gamepad, and user experiences are reduced.

Since a gamepad may not point at an object, a gamepad with a remote object pointing function is developed, but such a remote object pointing function may achieve a purpose of pointing at an object only by step-by-step movement of an operating key, and requires relatively longer time for pointing at the object, which may cause higher complexity in object pointing. The existing companies do not develop any gamepad for VR equipment because they think that a gamepad without an object pointing function may not provide an immersive experience for a user in a VR scene.

For the problem about operation efficiency of object pointing in a VR scene, there is yet no effective solution disclosed.

SUMMARY

In one embodiment of the present application provides a method and device for pointing at an object in a VR scene, and a VR apparatus, so as to at least solve the technical problem of low operation efficiency of pointing at an object in the VR scene.

According to one embodiment of the present application, a method for pointing at an object in a VR scene is provided. The method includes sensing, by a computing device, a movement of a gamepad from a first position to a second position in a reality scene through an Inertial Measurement Unit (IMU) orientation sensor. The IMU orientation sensor is mounted in the gamepad, and the gamepad is configured to control an object in a VR scene. The method also includes generating, by the computing device, a first position vector based on the movement; acquiring, by the computing device, a first absolute position coordinate of the second position in the reality scene according to a position coordinate of a starting point in the reality scene and the first position vector; converting, by the computing device, the first absolute position coordinate into a first virtual position coordinate in the VR scene; and pointing, by the computing device, at a target object located at the first virtual position coordinate in the VR scene.

According to another embodiment of the present application, a VR apparatus is also provided, which may include: a gamepad, configured to control an object in a VR scene; and an Inertial Measurement Unit (IMU) orientation sensor, mounted in the gamepad, and configured to sense a movement of the gamepad from a first position to a second position in a reality scene. The VR apparatus may also include a processor, connected with the IMU orientation sensor, and configured to generate a first position vector based on the movement sensed by the IMU orientation sensor, acquire a first absolute position coordinate of the second position in the reality scene according to a position coordinate of a starting point in the reality scene and the first position vector; convert the first absolute position coordinate into a first virtual position coordinate in the VR scene; and point at a target object located at the first virtual position coordinate in the VR scene. The VR apparatus may also include a display unit configured to display the VR scene.

According to another embodiment of the present application, a non-transitory computer-readable storage medium storing computer program instructions is provided. The computer program instructions are executable by at least one processor to perform: sensing a movement of a gamepad from a first position to a second position in a reality scene through an Inertial Measurement Unit (IMU) orientation sensor. The IMU orientation sensor is mounted in the gamepad, and the gamepad is configured to control an object in a VR scene. The computer program instructions also cause the at least one processor to perform: generating a first position vector based on the movement; acquiring a first absolute position coordinate of the second position in the reality scene according to a position coordinate of a starting point in the reality scene and the first position vector; converting the first absolute position coordinate into a first virtual position coordinate in the VR scene; and pointing at a target object located at the first virtual position coordinate in the VR scene.

In yet another embodiment of the present application, an IMU orientation sensor is mounted in a gamepad, so as to obtain an absolute position coordinate of the position which the gamepad move to, and then the absolute position coordinate in the reality scene is converted into a virtual position coordinate in the VR scene, and the target object corresponding to the virtual position coordinate in the VR scene is pointed. Through above embodiment, a tedious process of pointing at the target object by operation over an operating key is avoided, and therefore, the technical effect of improving operation efficiency of pointing at an object in the VR scene is achieved, and the technical problem of low operation efficiency of pointing at an object in the VR scene is solved.

