Space positioning and moving method based on virtual world

Through the projection and tracking technology of virtual terminal equipment, the problem of coordinate errors in virtual reality is solved, the accurate positioning and movement of the virtual handle is achieved, and the accuracy and immersion of the virtual reality experience are improved.

CN118672402APending Publication Date: 2024-09-20XIAMEN FOR-WIN TECH CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410835439.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In the existing technology, errors easily occur between real world coordinates and virtual world coordinates, resulting in a reduced virtual reality experience.

Method used

Using a method based on virtual terminal equipment, including projectors, head-mounted VR devices, tracking equipment, processing equipment, virtual character models and virtual control equipment, by projecting virtual scenes, obtaining positioning information of virtual reality handles, and providing real-time feedback of virtual world coordinates, And combined with real-world coordinates, mixed reality images are generated to achieve accurate positioning and movement of virtual handles in virtual scenes.

Benefits of technology

It eliminates the need for green screen and coordinate calibration, enriches training content, improves the accuracy and immersion of virtual reality experience, and enhances operational accuracy in the virtual world.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
Patent Text Reader

Abstract

The invention relates to the technical field of virtual reality, and discloses a space positioning and moving method based on a virtual world, and the method comprises a virtual terminal device which comprises a projector, a head-mounted VR device, a tracking device, a processing device, a virtual character model, and a virtual control device. The projector is used for displaying a virtual image; the head-mounted VR device is used for displaying a virtual scene and obtaining virtual world coordinates of an entity object in a virtual world through first simultaneous localization and map construction. The real object image can be obtained without using a green screen, a camera with built-in real world coordinates does not need to coincide with a controller with built-in virtual world coordinates for coordinate calibration, more expandable virtual elements are added, the training content is greatly enriched, the positioning information of the virtual reality handle in the real space is obtained in real time, and the training efficiency is improved. The positioning information is used for representing the position relation between the virtual reality handle and the body of the user in the real space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual reality technology, in particular to a method for positioning and moving based on a virtual world space. Background Art

[0002] Virtual reality and augmented reality are high-tech technologies that have emerged in recent years. Their principle is to use computer simulation to create a three-dimensional virtual world, providing users with simulations of vision, hearing, touch and other senses, allowing users to observe things in the three-dimensional space in a timely and unlimited manner as if they were actually there. The interactive control field is one of the important application directions of virtual reality and augmented reality technologies, and has also played a huge role in driving demand for the rapid development of virtual reality and augmented reality technologies.

[0003] After searching, the Chinese patent with publication number: CN105759963A discloses a method for locating the motion trajectory of a human hand in a virtual scene based on a relative position relationship, wherein the method includes: dividing objects in the real space into fixed markers and movable markers, and sampling images containing objects; determining the position of the wearable smart device in the real space relative to the fixed markers, and the motion trajectory of the human hand relative to the wearable smart device by processing the images; mapping the objects and the human hand to the virtual scene to obtain the virtual motion trajectory of the human hand in the virtual scene. The present invention can accurately locate the motion trajectory of the human hand in the virtual scene, thereby ensuring that the user can accurately operate the physical virtual object in the virtual world.

[0004] but:

[0005] In the prior art, errors are easily generated between real-world coordinates and virtual-world coordinates, which leads to a problem of reduced user experience. Summary of the invention

[0006] 1. Technical issues to be resolved

[0007] In view of the deficiencies of the prior art, the present invention provides a method for positioning and moving in a virtual world space.

[0008] (II) Technical solution

[0009] To achieve the above-mentioned object, the present invention provides the following technical solutions: Based on the virtual world space positioning and movement method, including a virtual terminal device, the virtual terminal device includes: a projector, a head-mounted VR device, a tracking device, a processing device, a virtual character model, and a virtual control device;

[0010] The projector is used to display virtual images;

[0011] The head-mounted VR device is used to display a virtual scene, and obtain virtual world coordinates of a physical object in the virtual world through first simultaneous positioning and map construction;

[0012] The tracking device is used to capture the physical object from the two-dimensional image, and obtain the real world coordinates of the physical object in the real world through a second simultaneous positioning and mapping process;

[0013] The processing device is used to overlap the virtual world coordinates and the real world coordinates, and merge the virtual scene with the physical object to generate a mixed reality image;

[0014] The virtual character model corresponds to the user's body in the real space;

[0015] The virtual control device corresponds to the virtual reality handle in the real space;

[0016] The spatial positioning method of the virtual terminal device comprises the following steps:

[0017] Step 1: Virtual scene construction

[0018] Construct a scene in a real indoor space, set the structure with real props, create a virtual scene through computer modeling, and then project the virtual scene into the room through a projector. The projection content includes changes to the appearance of the room, changes to the external features of the props, and changes to the interactive landmarks of mobile augmented reality, to build an immersive environment for interaction through mobile augmented reality devices;

[0019] Step 2: Virtual Reality Interaction

[0020] When the user wears a head-mounted VR device, the virtual control device can obtain the positioning information of the virtual reality handle in the real space in real time to form a virtual handle identification;

[0021] Step 3: Real-time mobile positioning

[0022] According to the positioning information, the virtual world coordinates are fed back in real time through the processing device. If it is determined in the virtual scene based on the positioning information that the virtual handle identifier moves to a trigger area set on the virtual character model, an operation instruction corresponding to the trigger area is triggered in the virtual scene.

[0023] Preferably, the positioning information is used to characterize the positional relationship between the virtual reality handle and the user's body in real space.

[0024] If it is determined in the virtual scene according to the positioning information that the virtual handle identifier moves to a trigger area set on the virtual character model, then triggering an operation instruction corresponding to the trigger area in the virtual scene, including: determining a virtual handle identifier in the virtual scene according to the positioning information, wherein the virtual handle identifier is a projection of the virtual reality handle in the virtual scene; determining a virtual trigger point corresponding to the trigger area in the virtual scene according to a preset corresponding relationship, wherein the virtual trigger point is set on the virtual character model, and the virtual character model is used to simulate the outline of the user's body in real time in the virtual scene; if the virtual handle identifier moves to the virtual trigger point, then triggering an operation instruction corresponding to the trigger area in the virtual scene; if the virtual handle identifier moves to the virtual trigger point, then triggering an operation instruction corresponding to the trigger area in the virtual scene, including: acquiring preset trigger trajectory information, wherein the trigger trajectory information is used to characterize a motion trajectory that can trigger the operation instruction in the process of the virtual handle identifier moving to the virtual trigger point in the virtual scene; if the motion trajectory of the virtual handle identifier moving to the virtual trigger point matches the trigger trajectory information, then triggering the operation instruction corresponding to the trigger area in the virtual scene.

[0025] Preferably, the motion trajectory corresponding to the trigger trajectory information forms a preset angle with the plane where the virtual trigger point is located, and whether the virtual reality handle is in a triggered activation state is judged according to the virtual handle identifier; if the motion trajectory of the virtual handle identifier moving to the virtual trigger point matches the trigger trajectory information, then the operation instruction corresponding to the virtual trigger point is triggered in the virtual scene, including: if the virtual reality handle is in an activated state, and the motion trajectory of the virtual handle identifier moving to the virtual trigger point in the virtual scene matches the trigger trajectory information, then the operation instruction corresponding to the virtual trigger point is triggered in the virtual scene.

[0026] Preferably, the virtual scene is constructed based on the XNAUnity3D game engine control and is established in a real training scene.

[0027] Preferably, the tracking device and the processing device, when working together, also include: acquiring the user's motion data and voice data, analyzing the motion data or the voice data to obtain the interaction instructions currently initiated by the user in the virtual scene; based on the interaction instructions, determining the response motion information or response voice information of the virtual character model in the virtual scene; and based on the response motion information or the response voice information, downloading the motion data packet or voice data packet matching the virtual character model from the mobile terminal currently connected to the head-mounted VR device.

[0028] Preferably, the tracking device and the processing device, when working together, also include: performing eye tracking and voice tracking and recognition on the user to obtain eye line feature information and voice feature information of the user in the virtual scene; based on the eye line feature information or the voice feature information, adjusting the action state or voice state of the virtual character model in the virtual scene after loading the action data packet or the voice data packet.

[0029] Preferably, the processing device also includes: performing gaze direction tracking and voice tracking and recognition on the user while viewing the virtual scene, obtaining the gaze direction information and voice speed information of the user in the virtual scene, and determining the best viewing area for the user in the virtual scene based on the gaze direction information; and then, based on the best viewing area, adjusting the movement amplitude of the virtual character model in the virtual scene after the action data packet is loaded, so that the virtual character model always interacts with the user within the best viewing area.

[0030] Preferably, the real indoor space is a closed indoor place, providing a variety of physical training environments, including mechanical devices and equipment in the room, and an automated control system; the mechanical devices are controlled by infrared and gravity sensing triggers.

[0031] Preferably, the projection is displayed as a plane or a curved surface.

[0032] (III) Beneficial effects

[0033] Compared with the prior art, the present invention provides a method for positioning and moving in a virtual world space, which has the following beneficial effects:

[0034] This method of positioning and moving in virtual world space can obtain images of physical objects without using a green screen, and there is no need to overlap the camera with built-in real-world coordinates and the controller with built-in virtual world coordinates for coordinate calibration. It also adds more expandable virtual elements, greatly enriching the training content. The positioning information of the virtual reality handle in the real space is obtained in real time, and the positioning information is used to characterize the positional relationship between the virtual reality handle and the user's body in the real space. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0036] Figure 1 It is a schematic diagram of the structure of the present invention. DETAILED DESCRIPTION

[0037] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0038] like Figure 1 As shown, the present invention provides a method for positioning and moving based on a virtual world space, including a virtual terminal device, the virtual terminal device including: a projector, a head-mounted VR device, a tracking device, a processing device, a virtual character model, and a virtual control device;

[0039] The projector is used to display virtual images;

[0040] The head-mounted VR device is used to display the virtual scene, and obtain the virtual world coordinates of the physical object in the virtual world through first simultaneous positioning and map construction;

[0041] The tracking device is used to capture the physical object from the two-dimensional image, and obtain the real world coordinates of the physical object in the real world through a second simultaneous positioning and mapping map;

[0042] The processing device is used to overlap the virtual world coordinates and the real world coordinates, and merge the virtual scene with the physical object to generate a mixed reality image;

[0043] The virtual character model corresponds to the user's body in real space;

[0044] The virtual control device corresponds to the virtual reality handle in the real space;

[0045] The spatial positioning method of the virtual terminal device comprises the following steps:

[0046] Step 1: Virtual scene construction

[0047] Construct a scene in a real indoor space, set the structure with real props, create a virtual scene through computer modeling, and then project the virtual scene into the room through a projector. The projection content includes changes to the appearance of the room, changes to the external features of the props, and changes to the interactive landmarks of mobile augmented reality, to build an immersive environment for interaction through mobile augmented reality devices;

[0048] Step 2: Virtual Reality Interaction

[0049] When the user wears a head-mounted VR device, the virtual control device can obtain the positioning information of the virtual reality handle in the real space in real time to form a virtual handle identification;

[0050] Step 3: Real-time mobile positioning

[0051] According to the positioning information, the virtual world coordinates are fed back in real time through the processing device. If the virtual handle identifier is determined to move to a trigger area set on the virtual character model in the virtual scene according to the positioning information, the operation instruction corresponding to the trigger area is triggered in the virtual scene.

[0052] In the embodiment of the present invention, the positioning information is used to characterize the positional relationship between the virtual reality handle and the user's body in the real space.

[0053] If it is determined in the virtual scene according to the positioning information that the virtual handle identifier moves to a trigger area set on the virtual character model, then an operation instruction corresponding to the trigger area is triggered in the virtual scene, including: determining the virtual handle identifier in the virtual scene according to the positioning information, the virtual handle identifier is a projection of the virtual reality handle in the virtual scene; determining a virtual trigger point corresponding to the trigger area in the virtual scene according to a preset corresponding relationship, wherein the virtual trigger point is set on the virtual character model, and the virtual character model is used to simulate the contour of the user's body in real time in the virtual scene; if the virtual handle identifier moves to the virtual trigger point, then the operation instruction corresponding to the trigger area is triggered in the virtual scene, if the virtual handle identifier moves to the virtual trigger point, then the operation instruction corresponding to the trigger area is triggered in the virtual scene, including: obtaining preset trigger trajectory information, the trigger trajectory information is used to characterize the motion trajectory that can trigger the operation instruction in the process of the virtual handle identifier moving to the virtual trigger point in the virtual scene; if the motion trajectory of the virtual handle identifier moving to the virtual trigger point matches the trigger trajectory information, then the operation instruction corresponding to the trigger area is triggered in the virtual scene.

[0054] In an embodiment of the present invention, the motion trajectory corresponding to the trigger trajectory information forms a preset angle with the plane where the virtual trigger point is located, and whether the virtual reality handle is in a triggered activation state is determined according to the virtual handle identifier; if the motion trajectory of the virtual handle identifier moving to the virtual trigger point matches the trigger trajectory information, then the operation instruction corresponding to the virtual trigger point is triggered in the virtual scene, including: if the virtual reality handle is in an activated state, and the motion trajectory of the virtual handle identifier moving to the virtual trigger point in the virtual scene matches the trigger trajectory information, then the operation instruction corresponding to the virtual trigger point is triggered in the virtual scene.

[0055] In the embodiment of the present invention, the virtual scene is built based on the XNAUnity3D game engine control and is established in a real training scene.

[0056] In an embodiment of the present invention, the tracking device and the processing device cooperate to further include: acquiring the user's motion data and voice data, analyzing the motion data or voice data, and obtaining the interactive instructions currently initiated by the user in the virtual scene; based on the interactive instructions, determining the response motion information or response voice information of the virtual character model in the virtual scene; and based on the response motion information or response voice information, downloading the motion data packet or voice data packet matching the virtual character model from the mobile terminal currently connected to the head-mounted VR device.

[0057] In an embodiment of the present invention, the tracking device and the processing device cooperate to also include: performing eye tracking and voice tracking and recognition on the user to obtain the eye feature information and voice feature information of the user in the virtual scene; based on the eye feature information or the voice feature information, adjusting the action state or voice state of the virtual character model in the virtual scene after loading the action data packet or the voice data packet.

[0058] In an embodiment of the present invention, the processing device also includes: performing gaze direction tracking and voice tracking and recognition on the user when viewing a virtual scene, obtaining the gaze direction information and voice speed information of the user in the virtual scene, and determining the best viewing area for the user in the virtual scene based on the gaze direction information; and then, based on the best viewing area, adjusting the movement amplitude of the virtual character model in the virtual scene after the action data package is loaded, so that the virtual character model always interacts with the user in the best viewing area.

[0059] In the embodiment of the present invention, the real indoor space is a closed indoor place, which provides a variety of physical training environments, including mechanical devices and equipment in the room, and an automatic control system; the mechanical devices are controlled by infrared and gravity sensing triggers.

[0060] In the embodiment of the present invention, the projection is displayed as a plane or a curved surface.

Claims

1. A method for positioning and moving in a virtual world space, including a virtual terminal device, characterized in that: The virtual terminal device includes: a projector, a head-mounted VR device, a tracking device, a processing device, a virtual character model, and a virtual control device; The projector is used to display virtual images; The head-mounted VR device is used to display a virtual scene, and obtain virtual world coordinates of a physical object in the virtual world through first simultaneous positioning and map construction; The tracking device is used to capture the physical object from the two-dimensional image, and obtain the real world coordinates of the physical object in the real world through a second simultaneous positioning and mapping process; The processing device is used to overlap the virtual world coordinates and the real world coordinates, and merge the virtual scene with the physical object to generate a mixed reality image; The virtual character model corresponds to the user's body in the real space; The virtual control device corresponds to the virtual reality handle in the real space; The spatial positioning method of the virtual terminal device comprises the following steps: Step 1: Virtual scene construction Construct a scene in a real indoor space, set the structure with real props, create a virtual scene through computer modeling, and then project the virtual scene into the room through a projector. The projection content includes changes to the appearance of the room, changes to the external features of the props, and changes to the interactive landmarks of mobile augmented reality, to build an immersive environment for interaction through mobile augmented reality devices; Step 2: Virtual Reality Interaction When the user wears a head-mounted VR device, the virtual control device can obtain the positioning information of the virtual reality handle in the real space in real time to form a virtual handle identification; Step 3: Real-time mobile positioning According to the positioning information, the virtual world coordinates are fed back in real time through the processing device. If it is determined in the virtual scene based on the positioning information that the virtual handle identifier moves to a trigger area set on the virtual character model, an operation instruction corresponding to the trigger area is triggered in the virtual scene.

2. The method for positioning and moving based on virtual world space according to claim 1, characterized in that: The positioning information is used to characterize the positional relationship between the virtual reality handle and the user's body in real space.

3. The method for positioning and moving based on virtual world space according to claim 1, characterized in that: The virtual scene construction is based on the XNAUnity3D game engine control and is established in a real training scene.

4. The method for positioning and moving based on virtual world space according to claim 1, characterized in that: When the tracking device and the processing device work together, it also includes: acquiring the user's motion data and voice data, analyzing the motion data or the voice data to obtain the interaction instructions currently initiated by the user in the virtual scene; based on the interaction instructions, determining the response motion information or response voice information of the virtual character model in the virtual scene; and based on the response motion information or the response voice information, downloading the motion data packet or voice data packet matching the virtual character model from the mobile terminal currently connected to the head-mounted VR device.

5. The method for positioning and moving based on virtual world space according to claim 4, characterized in that: When the tracking device and the processing device work together, it also includes: performing eye tracking and voice tracking identification on the user to obtain eye feature information and voice feature information of the user in the virtual scene; based on the eye feature information or the voice feature information, adjusting the action state or voice state of the virtual character model in the virtual scene after loading the action data packet or the voice data packet.

6. The method for positioning and moving based on virtual world space according to claim 1, characterized in that: The processing device also includes: performing gaze direction tracking and voice tracking identification on the user while viewing the virtual scene, obtaining the gaze direction information and voice speed information of the user in the virtual scene, and determining the best viewing area for the user in the virtual scene based on the gaze direction information; and adjusting the movement amplitude of the virtual character model in the virtual scene after the action data package is loaded based on the best viewing area, so that the virtual character model always interacts with the user in the best viewing area.

7. The method for positioning and moving based on virtual world space according to claim 1, characterized in that: The real indoor space is a closed indoor place that provides a variety of physical training environments, including room mechanical devices and equipment, and an automated control system; mechanical devices are controlled through infrared and gravity sensing triggers.

8. The method for positioning and moving based on virtual world space according to claim 1, characterized in that: Projections are displayed as flat or curved surfaces.

Citation Information

Patent Citations

  • Method for positioning motion trail of human hand in virtual space based on relative position relation

    CN105759963A