CN108427501A - Control method for movement and device in virtual reality - Google Patents

Control method for movement and device in virtual reality Download PDF

Info

Publication number
CN108427501A
CN108427501A CN201810223571.XA CN201810223571A CN108427501A CN 108427501 A CN108427501 A CN 108427501A CN 201810223571 A CN201810223571 A CN 201810223571A CN 108427501 A CN108427501 A CN 108427501A
Authority
CN
China
Prior art keywords
virtual
space
role
position data
virtual role
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810223571.XA
Other languages
Chinese (zh)
Other versions
CN108427501B (en
Inventor
韩志轩
傅思齐
管强强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810223571.XA priority Critical patent/CN108427501B/en
Publication of CN108427501A publication Critical patent/CN108427501A/en
Application granted granted Critical
Publication of CN108427501B publication Critical patent/CN108427501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

This application discloses control method for movement and devices in a kind of virtual reality.Wherein, include comprising a virtual role, this method in the Virtual Space of virtual reality:Monitor movement of first equipment in real space;According to the first position data of mobile determining virtual role first plane in Virtual Space of the first equipment;According to terrain data of the virtual role in the first position data of the first plane and Virtual Space, determine that the second position data of virtual role, second position data include altitude information of the virtual role relative to the first plane;According to the movement of first position data and second position data control virtual role in Virtual Space.By the application, solves target object in the related technology and be easy to cause dizzy, the relatively low problem of user experience in moving process in Virtual Space.

Description

Control method for movement and device in virtual reality
Technical field
This application involves technical field of virtual reality, in particular to control method for movement in a kind of virtual reality and Device.
Background technology
VR (Virtual Reality, i.e. virtual reality, abbreviation VR) is by VPL companies of U.S. founder Lanier (Jaron Lanier) is proposed in early 1980s.Its specific intension is:Comprehensively utilize computer graphics system and each The interface equipments such as reality and control are planted, the technology for immersing feeling is provided in three-dimensional environment generating on computers, can interacting. Wherein, computer generate, the three-dimensional environment that can interact be known as virtual environment (i.e. Virtual Environment, abbreviation VE). Virtual reality technology is a kind of technology that can be created with the computer simulation system in the experiencing virtual world.It is given birth to using computer At a kind of simulated environment, make user using the interactive three-dimensional dynamic vision of Multi-source Information Fusion and the system emulation of entity behavior It is immersed in the environment.
Degree of freedom can be divided into translation freedoms and rotary freedom.Rigid body can translate in 3 degree of freedom:Forward/ Backward, up/down, left/right.It is known as translation freedoms, as shown in Figure 1.Rigid body can also revolve in 3 degree of freedom Turn:Pitching (Pitch), rolling (Roll) and hang down shake (Yaw).It is known as rotary freedom, as shown in Figure 2.In addition, three types Translation freedoms add the rotary freedom of three types to be exactly six degree of freedom, abbreviation 6Dof.Current VR most of on the market are set Standby offer is all the headset equipment of 3Dof and the portable equipment of 3Dof.Target object is virtual empty in existing VR game Between usually there are two types of transmission mode, translation and wink move.Current movement is all calculated using direct position come command displacement.So And the complete positioning of position and posture, the moving range of user can not be limited, user's crossing model and floating etc. can be caused, is produced Life is serious dizzy.The complete positioning of position and posture can make user depend entirely on real world in the height of virtual world Supporting surface (be typically ground) height.Cognition of the user in virtual world is not met in this way, and cognition and impression will be caused to differ It causes, causes dizzy.
Be easy to cause in moving process in Virtual Space for target object in the related technology it is dizzy, user experience compared with Low problem, currently no effective solution has been proposed.
Invention content
The main purpose of the application is to provide control method for movement and device in a kind of virtual reality, to solve related skill Target object is be easy to cause in Virtual Space in moving process dizzy in art, the relatively low problem of user experience.
To achieve the goals above, according to the one side of the application, mobile controlling party in a kind of virtual reality is provided Method.Include a virtual role in the Virtual Space of the virtual reality, control method for movement includes in virtual reality:Monitoring first Movement of the equipment in real space;According to the mobile determination virtual role of first equipment in the Virtual Space The first position data of first plane;The first position data in first plane and the void according to the virtual role Terrain data in quasi- space, determines the second position data of the virtual role, wherein the second position data include institute State altitude information of the virtual role relative to first plane;According to the first position data and the second position data Control movement of the virtual role in the Virtual Space.
Further, according to the mobile determination virtual role of first equipment first in the Virtual Space After the first position data of plane, the method further includes:Determining that movement of first equipment in real space is super In the case of going out the first pre-determined distance, the first prompt message is triggered, wherein first prompt message is described virtual for prompting Role's currently movement has exceeded the boundary of the Virtual Space;Determining the first equipment moving out in real space In the case of second pre-determined distance, the second prompt message is triggered, while controlling the virtual role and stopping in the Virtual Space It only moves, wherein second pre-determined distance is more than first pre-determined distance, and second prompt message is described for asking Virtual role resets in the Virtual Space.
Further, determine first equipment in real space the case where moving out the second pre-determined distance Under, the second prompt message is triggered, while controlling the virtual role and stopping in the Virtual Space after moving, the method Further include:Determine target location, wherein the target location is that the virtual role stops movement in the Virtual Space The rearmost position of preceding virtual role walkable region in the Virtual Space;By the virtual role in the virtual sky Between in position be reset to the target location, and adjust direction of the virtual role in the Virtual Space.
Further, the first position data according to the virtual role in first plane and the Virtual Space In terrain data, determine that the second position data of the virtual role include:According to the terrain data in the Virtual Space Determine all polygons of the Virtual Space mesorelief model;Navigation network is generated according to all polygons;According to the void Quasi- first position data and the navigation network of the role in first plane, determine the second position of the virtual role Data.
To achieve the goals above, according to the one side of the application, mobile control dress in a kind of virtual reality is provided It sets, wherein include a virtual role in the Virtual Space of the virtual reality, which is characterized in that including:Monitoring unit is used for Monitor movement of first equipment in real space;First determination unit, for the mobile determining institute according to first equipment State the first position data of virtual role first plane in the Virtual Space;Second determination unit, for according to the void Quasi- terrain data of the role in the first position data of first plane and the Virtual Space, determines the virtual angle The second position data of color, wherein the second position data include height of the virtual role relative to first plane Degrees of data;Control unit exists for controlling the virtual role according to the first position data and the second position data Movement in the Virtual Space.
Further, the first trigger element, for existing according to the mobile determination virtual role of first equipment In the Virtual Space after the first position data of the first plane, movement of first equipment in real space is being determined In the case of the first pre-determined distance, the first prompt message is triggered, wherein first prompt message is for prompting the void Quasi- role currently movement has exceeded the boundary of the Virtual Space;Second trigger element, for determining that first equipment exists In real space move out the second pre-determined distance in the case of, trigger the second prompt message, while controlling the virtual angle Color stop in the Virtual Space movement, wherein second pre-determined distance be more than first pre-determined distance, described second Prompt message is for asking the virtual role to be resetted in the Virtual Space.
Further, described device further includes:Second determination unit, for determining first equipment in real space In move out the second pre-determined distance in the case of, trigger the second prompt message, while controlling the virtual role described After stopping movement in Virtual Space, target location is determined, wherein the target location is the virtual role described virtual Stop the rearmost position of mobile foregoing description virtual role walkable region in the Virtual Space in space;Adjustment unit, For position of the virtual role in the Virtual Space to be reset to the target location, and adjust the virtual role Direction in the Virtual Space.
Further, described control unit includes:First determining module, for according to the ground figurate number in the Virtual Space According to all polygons of the determination Virtual Space mesorelief model;Generation module navigates for being generated according to all polygons Network;Second determining module, in the first position data of first plane and described being led according to the virtual role Navigate network, determines the second position data of the virtual role.
By the application, using following steps:Monitor movement of first equipment in real space;According to the first equipment The mobile first position data for determining virtual role first plane in Virtual Space;According to virtual role the of the first plane Terrain data in one position data and Virtual Space determines the second position data of virtual role, wherein second position number According to including altitude information of the virtual role relative to the first plane;It is virtual according to first position data and the control of second position data Movement of the role in Virtual Space solves target object in the related technology and is be easy to cause in moving process in Virtual Space It is dizzy, the relatively low problem of user experience.According to first position data and second position data control virtual role virtual empty Between in movement, virtual role can be with the height of the first equipment of overlaying influence as father's object, therefore can generate altitude effect, Enhance the feeling of immersion of user.It keeps cognition consistent with impression, and then has achieved the effect that the dizzy sense of reduction.
Description of the drawings
The attached drawing constituted part of this application is used for providing further understanding of the present application, the schematic reality of the application Example and its explanation are applied for explaining the application, does not constitute the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the schematic diagram that rigid body translates in 3 degree of freedom in the related technology;
Fig. 2 is the schematic diagram that rigid body rotates in 3 degree of freedom in the related technology;
Fig. 3 is the flow chart according to control method for movement in virtual reality provided by the embodiments of the present application;And
Fig. 4 is the schematic diagram according to mobile controller in virtual reality provided by the embodiments of the present application.
Specific implementation mode
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, technical solutions in the embodiments of the present application are clearly and completely described, it is clear that described embodiment is only The embodiment of the application part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people The every other embodiment that member is obtained without making creative work should all belong to the model of the application protection It encloses.
It should be noted that term " first " in the description and claims of this application and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.It should be appreciated that using in this way Data can be interchanged in the appropriate case, so as to embodiments herein described herein.In addition, term " comprising " and " tool Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing series of steps or unit Process, method, system, product or equipment those of are not necessarily limited to clearly to list step or unit, but may include without clear It is listing to Chu or for these processes, method, product or equipment intrinsic other steps or unit.
For ease of description, below to the invention relates to part noun or term illustrate:
VR-Virtual Reality, i.e. virtual reality, abbreviation VR.
3Dof-Three Degrees of Freedom rotate in i.e. 3 degree of freedom.
6Dof-Six Degrees of Freedom are translated in rotation and 3 degree of freedom in i.e. 3 degree of freedom.
According to an embodiment of the present application, control method for movement in a kind of virtual reality is provided.
Fig. 3 is the flow chart of control method for movement in the virtual reality according to the embodiment of the present application.Virtual reality it is virtual Include a virtual role in space, as shown in figure 3, this approach includes the following steps:
Step S101, movement of the first equipment of monitoring in real space.
Since player or user have worn VR equipment (corresponding the first above-mentioned equipment), VR equipment is driven when user moves It is mobile, to drive movement in Virtual Space namely VR equipment by sub- object (father's object as virtual role in Virtual Space Know from experience with the movement of sub- object and rotation), movement of first equipment in real space is monitored in real time.
Step S102, according to the first position of mobile determining virtual role first plane in Virtual Space of the first equipment Data.
It should be noted that the first above-mentioned plane can be ground level/horizontal plane, according to the mobile determination of the first equipment Displacement distance of the virtual role on ground level.If the first plane is perpendicular to the plane of ground level, according to the shifting of the first equipment The dynamic distance for determining virtual role the first plane of distance.
Optionally, in virtual reality provided by the embodiments of the present application in control method for movement, according to the first equipment In Virtual Space after the first position data of the first plane, this method further includes mobile determining virtual role:Determining One equipment in real space in the case of moving out the first pre-determined distance, trigger the first prompt message, wherein first carries Show information for prompting virtual role currently to move the boundary for having exceeded Virtual Space;Determining the first equipment in real space Move out the second pre-determined distance in the case of, trigger the second prompt message, while controlling virtual role in Virtual Space Stop movement, wherein the second pre-determined distance is more than the first pre-determined distance, and the second prompt message is for asking virtual role virtual It is resetted in space.
For example, the threshold value for setting out boundary's prompt is L1 (corresponding the first above-mentioned pre-determined distance), the threshold value of out-of-bounds limitation is L2 (corresponding the second above-mentioned pre-determined distance), then when the distance of navigation proxy G1 and the first equipment G2 are more than L1, prompt out-of-bounds are (right Answer the first above-mentioned prompt message), forbid its movement when more than L2, it is desirable that it is resetted (corresponding the second above-mentioned prompt message). Wherein, L2>L1, then pseudocode is as follows:IF Distance (G1, G2)>L1 prompts out-of-bounds;IF Distance (G1, G2)>L2 Forbidden moves, and require to reset.That is, (the first equipment that user wears controls the movement of Virtual Space under the pattern of following Pattern), user's head position and posture can be tracked based on 6Dof display devices in real time, so working as complete tracking without restriction When, it will produce out-of-bounds.And navigation proxy, which is arranged, can effectively detect out-of-bounds behavior while be prevented and being prompted.
Through the above scheme, the moving range that user is limited using optional prompt, prevents user from cannot not reach reachablely area Domain (crossing model, floating even force to cross outpost of the tax office obstacle etc.).Allow user to have anticipation in advance by prompt, prevent cognition and Experience inconsistent.
Optionally, in virtual reality provided by the embodiments of the present application in control method for movement, determining that the first equipment exists In real space move out the second pre-determined distance in the case of, trigger the second prompt message, while controlling virtual role and existing After stopping movement in Virtual Space, this method further includes:Determine target location, wherein target location is virtual role in void The rearmost position of virtual role walkable region in Virtual Space before stopping is mobile in quasi- space;By virtual role virtual Position in space is reset to target location, and adjusts direction of the virtual role in Virtual Space.
Under the pattern of following, since navigation proxy is always in navigation network, by virtual role answering in Virtual Space Position position is set as virtual role finally in the position of walkable region, it is no longer necessary to which complicated calculating and record greatly reduces meter Calculation amount.Posture (direction) when reset by virtual role in Virtual Space is zeroed (for example, by virtual role in Virtual Space Direction be adjusted to be exposed to the north).
Through the above scheme, the reset mechanism for increasing above limitation range helps user's resetting, makes user quick It returns to more than the position before limitation, reduces the feeling of fatigue in virtual world, promote user experience.
Step S103, according to ground figurate number of the virtual role in the first position data of the first plane and Virtual Space According to determining the second position data of virtual role, wherein second position data include height of the virtual role relative to the first plane Degrees of data.
For example, the first plane is ground level/horizontal plane, the altitude information relative to the first plane is relative to ground level Altitude information.If the first plane is perpendicular to the plane of ground level, the altitude information relative to the first plane be virtual role away from With a distance from the first plane.It should be noted that altitude information can be positive number, can also be negative, for example, for depression, Altitude information can be negative.
Optionally, in virtual reality provided by the embodiments of the present application in control method for movement, according to virtual role Terrain data in the first position data of one plane and Virtual Space determines that the second position data of virtual role include: All polygons of Virtual Space mesorelief model are determined according to the terrain data in Virtual Space;It is generated according to all polygons Navigation network;According to virtual role in the first position data and navigation network of the first plane, the second of virtual role is determined Position data.
For example, the scenes such as landform in Virtual Space are formed by model buildings, by the description and reconstruction of terrain data, It takes all faces that the top view of the model of all moving areas can be seen as moveable triangular facet, generates covering landform Navigation network, that is, navigation network is made of multiple polygons.The navigation of covering landform is generated according to several triangle sections Network, virtual role determine altitude information of the virtual role relative to the first plane in the first position data of the first plane.On The navigation network stated establishes global position control, avoids the position for individually calculating each object, greatly reduces subsequent bit It sets the computation complexity in calculating and calculates cost.
Step S104, according to the shifting of first position data and second position data control virtual role in Virtual Space It is dynamic.
According to virtual role in Virtual Space the first position data of the first plane and the height of opposite first plane Movement of the data control virtual role in the second position in Virtual Space, will produce height relief, and virtual role (the first equipment Father's object, the movement of father's object generates Overlay to sub- object) height follow navigation proxy, Dummy is as father's object Can be with the height of the first equipment of overlaying influence, therefore altitude effect can be generated, to enhance the feeling of immersion of user.Keep cognition It is consistent with impression, and then achieved the effect that the dizzy sense of reduction.
Control method for movement in virtual reality provided by the embodiments of the present application, by monitoring the first equipment in real space Movement;According to the first position data of mobile determining virtual role first plane in Virtual Space of the first equipment;According to Terrain data of the virtual role in the first position data of the first plane and Virtual Space, determines the second of virtual role Set data, wherein second position data include altitude information of the virtual role relative to the first plane;According to first position data With movement of the data control virtual role in the second position in Virtual Space, solve in the related technology target object virtual empty Between be easy to cause dizzy, the relatively low problem of user experience in middle moving process.According to first position data and second position number According to movement of the control virtual role in Virtual Space, virtual role can be with the height of the first equipment of overlaying influence as father's object Degree, therefore altitude effect can be generated, enhance the feeling of immersion of user.It keeps cognition consistent with impression, and then has reached reduction The effect of dizzy sense.
It should be noted that step shown in the flowchart of the accompanying drawings can be in such as a group of computer-executable instructions It is executed in computer system, although also, logical order is shown in flow charts, and it in some cases, can be with not The sequence being same as herein executes shown or described step.
The embodiment of the present application also provides mobile controllers in a kind of virtual reality, it should be noted that the application is real It applies mobile controller in the virtual reality of example and can be used for executing that the embodiment of the present application provided for moving in virtual reality Flowing control method.Mobile controller in virtual reality provided by the embodiments of the present application is introduced below.
Fig. 4 is the schematic diagram of mobile controller in the virtual reality according to the embodiment of the present application.Virtual reality it is virtual Include a virtual role in space, as shown in figure 4, the device includes:Monitoring unit 10, the first determination unit 20, second determine Unit 30 and control unit 40.
Specifically, monitoring unit 10, for monitoring movement of first equipment in real space.
First determination unit 20, for mobile determining virtual role first plane in Virtual Space according to the first equipment First position data.
Second determination unit 30 is used for according to virtual role in the first position data of the first plane and Virtual Space Terrain data, determine the second position data of virtual role, wherein second position data include virtual role relative to first The altitude information of plane.
Control unit 40, for controlling virtual role in Virtual Space according to first position data and second position data Movement.
Mobile controller in virtual reality provided by the embodiments of the present application, it is empty comprising one in the Virtual Space of virtual reality Quasi- role monitors movement of first equipment in real space by monitoring unit 10;First determination unit 20 is set according to first The first position data of standby mobile determining virtual role first plane in Virtual Space;Second determination unit 30 is according to virtual Terrain data of the role in the first position data of the first plane and Virtual Space determines the second position number of virtual role According to, wherein second position data include altitude information of the virtual role relative to the first plane;Control unit 40 is according to first Movement of the data with second position data control virtual role in Virtual Space is set, target object in the related technology is solved and exists Dizzy, the relatively low problem of user experience, according to first position data and second is be easy to cause in Virtual Space in moving process Position data controls movement of the virtual role in Virtual Space, and virtual role can be with the first equipment of overlaying influence as father's object Height, therefore altitude effect can be generated, enhance the feeling of immersion of user.It keeps cognition consistent with impression, and then reaches Reduce the effect of dizzy sense.
Optionally, in virtual reality provided by the embodiments of the present application in mobile controller, the first trigger element is used for According to the mobile determining virtual role of the first equipment in Virtual Space after the first position data of the first plane, in determination First equipment in real space in the case of moving out the first pre-determined distance, trigger the first prompt message, wherein first Prompt message is for prompting virtual role currently to move the boundary for having exceeded Virtual Space;Second trigger element, in determination First equipment in real space in the case of moving out the second pre-determined distance, trigger the second prompt message, control simultaneously Virtual role stops movement in Virtual Space, wherein the second pre-determined distance is more than the first pre-determined distance, and the second prompt message is used It is resetted in Virtual Space in request virtual role.
Optionally, in virtual reality provided by the embodiments of the present application in mobile controller, which further includes:Second Determination unit, for determine the first equipment in real space in the case of moving out the second pre-determined distance, triggering the Two prompt messages, while controlling virtual role and stopping in Virtual Space after moving, determine target location, wherein target position It is set to the rearmost position that virtual role stops virtual role walkable region in Virtual Space before movement in Virtual Space; Adjustment unit for position of the virtual role in Virtual Space to be reset to target location, and adjusts virtual role virtual Direction in space.
Optionally, in virtual reality provided by the embodiments of the present application in mobile controller, control unit includes:First Determining module, all polygons for determining Virtual Space mesorelief model according to the terrain data in Virtual Space;It generates Module, for generating navigation network according to all polygons;Second determining module is used for according to virtual role in the first plane First position data and navigation network determine the second position data of virtual role.
Mobile controller includes processor and memory in the virtual reality, and above-mentioned monitoring unit 10, first determines Unit 20, the second determination unit 30 and control unit 40 etc. are used as program unit storage in memory, are executed by processor Above procedure unit stored in memory realizes corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be arranged one Or more, it is moved in virtual reality by adjusting kernel parameter.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include at least one deposit Store up chip.
An embodiment of the present invention provides a kind of storage mediums, are stored thereon with program, real when which is executed by processor Control method for movement in the existing virtual reality.
An embodiment of the present invention provides a kind of processor, the processor is for running program, wherein described program is run Control method for movement in virtual reality described in Shi Zhihang.
An embodiment of the present invention provides a kind of equipment, equipment include processor, memory and storage on a memory and can The program run on a processor, processor realize following steps when executing program:The first equipment is monitored in real space It is mobile;According to the first position of the mobile determination virtual role first plane in the Virtual Space of first equipment Data;According to ground figurate number of the virtual role in the first position data of first plane and the Virtual Space According to determining the second position data of the virtual role, wherein the second position data include the virtual role relative to The altitude information of first plane;The virtual role is controlled according to the first position data and the second position data Movement in the Virtual Space.
According to the mobile determination virtual role of first equipment in the Virtual Space the first plane After one position data, the method further includes:Determine first equipment in real space to move out first pre- If in the case of distance, triggering the first prompt message, wherein first prompt message is for prompting the virtual role current The mobile boundary for having exceeded the Virtual Space;Determine first equipment in real space to move out second default In the case of distance, the second prompt message is triggered, while controlling the virtual role and stopping movement in the Virtual Space, In, second pre-determined distance is more than first pre-determined distance, and second prompt message is for asking the virtual role It is resetted in the Virtual Space.
Determine first equipment in real space in the case of moving out the second pre-determined distance, triggering second Prompt message, while controlling the virtual role and stopping in the Virtual Space after moving, the method further includes:It determines Target location, wherein the target location be the virtual role stops in the Virtual Space move the foregoing description it is virtual The rearmost position of role walkable region in the Virtual Space;By position of the virtual role in the Virtual Space It is reset to the target location, and adjusts direction of the virtual role in the Virtual Space.
According to landform of the virtual role in the first position data of first plane and the Virtual Space Data determine that the second position data of the virtual role include:According to the terrain data determination in the Virtual Space All polygons of Virtual Space mesorelief model;Navigation network is generated according to all polygons;Existed according to the virtual role The first position data and the navigation network of first plane, determine the second position data of the virtual role.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, the application can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The application is with reference to method, the flow of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
It these are only embodiments herein, be not intended to limit this application.To those skilled in the art, The application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent replacement, Improve etc., it should be included within the scope of claims hereof.

Claims (10)

1. control method for movement in a kind of virtual reality, wherein include a virtual role in the Virtual Space of the virtual reality, It is characterised in that it includes:
Monitor movement of first equipment in real space;
According to the first position of the mobile determination virtual role first plane in the Virtual Space of first equipment Data;
According to terrain data of the virtual role in the first position data of first plane and the Virtual Space, Determine the second position data of the virtual role, wherein the second position data include the virtual role relative to institute State the altitude information of the first plane;
The virtual role is controlled in the Virtual Space according to the first position data and the second position data It is mobile.
2. according to the method described in claim 1, it is characterized in that, described virtual in the mobile determination according to first equipment In the Virtual Space after the first position data of the first plane, the method further includes role:
Determine first equipment in real space in the case of moving out the first pre-determined distance, triggering first prompt Information, wherein first prompt message is used to prompt the virtual role currently mobile side for having exceeded the Virtual Space Boundary;
Determine first equipment in real space in the case of moving out the second pre-determined distance, triggering second prompt Information, while controlling the virtual role and stopping movement in the Virtual Space, wherein second pre-determined distance is more than institute The first pre-determined distance is stated, second prompt message is for asking the virtual role to be resetted in the Virtual Space.
3. according to the method described in claim 2, it is characterized in that, determining movement of first equipment in real space In the case of the second pre-determined distance, the second prompt message is triggered, while controlling the virtual role in the Virtual Space After middle stopping is mobile, the method further includes:
Determine target location, wherein the target location stops for the virtual role in the Virtual Space before movement The rearmost position of virtual role walkable region in the Virtual Space;
Position of the virtual role in the Virtual Space is reset to the target location, and adjusts the virtual role Direction in the Virtual Space.
4. according to the method described in claim 1, it is characterized in that, according to the virtual role the first of first plane Terrain data in position data and the Virtual Space determines that the second position data of the virtual role include:
All polygons of the Virtual Space mesorelief model are determined according to the terrain data in the Virtual Space;
Navigation network is generated according to all polygons;
The first position data in first plane and the navigation network according to the virtual role determine described virtual The second position data of role.
5. mobile controller in a kind of virtual reality, wherein include a virtual role in the Virtual Space of the virtual reality, It is characterised in that it includes:
Monitoring unit, for monitoring movement of first equipment in real space;
First determination unit, for according to the mobile determination virtual role of first equipment the in the Virtual Space The first position data of one plane;
Second determination unit, for according to the virtual role in the first position data of first plane and described virtual Terrain data in space determines the second position data of the virtual role, wherein the second position data include described Altitude information of the virtual role relative to first plane;
Control unit, for controlling the virtual role described according to the first position data and the second position data Movement in Virtual Space.
6. device according to claim 5, which is characterized in that described device further includes:
First trigger element, for according to the mobile determination virtual role of first equipment in the Virtual Space After the first position data of first plane, determine first equipment in real space move out first it is default away from From in the case of, the first prompt message is triggered, wherein first prompt message is for prompting the virtual role currently to move The boundary of the Virtual Space is exceeded;
Second trigger element, for determining the feelings that move out second pre-determined distance of first equipment in real space Under condition, the second prompt message is triggered, while controlling the virtual role and stopping movement in the Virtual Space, wherein is described Second pre-determined distance is more than first pre-determined distance, and second prompt message is for asking the virtual role in the void It is resetted in quasi- space.
7. device according to claim 6, which is characterized in that described device further includes:
Second determination unit, for determining the feelings that move out second pre-determined distance of first equipment in real space Under condition, the second prompt message is triggered, while controlling the virtual role and stopping in the Virtual Space after moving, determines mesh Cursor position, wherein the target location is that the virtual role stops the virtual angle of the mobile foregoing description in the Virtual Space The rearmost position of color walkable region in the Virtual Space;
Adjustment unit for position of the virtual role in the Virtual Space to be reset to the target location, and is adjusted Direction of the whole virtual role in the Virtual Space.
8. device according to claim 5, which is characterized in that described control unit includes:
First determining module, for determining the Virtual Space mesorelief model according to the terrain data in the Virtual Space All polygons;
Generation module, for generating navigation network according to all polygons;
Second determining module is used for the first position data according to the virtual role in first plane and the navigation Network determines the second position data of the virtual role.
9. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein described program right of execution Profit requires control method for movement in the virtual reality described in any one of 1 to 4.
10. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Profit requires control method for movement in the virtual reality described in any one of 1 to 4.
CN201810223571.XA 2018-03-19 2018-03-19 Method and device for controlling movement in virtual reality Active CN108427501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810223571.XA CN108427501B (en) 2018-03-19 2018-03-19 Method and device for controlling movement in virtual reality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810223571.XA CN108427501B (en) 2018-03-19 2018-03-19 Method and device for controlling movement in virtual reality

Publications (2)

Publication Number Publication Date
CN108427501A true CN108427501A (en) 2018-08-21
CN108427501B CN108427501B (en) 2022-03-22

Family

ID=63158923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810223571.XA Active CN108427501B (en) 2018-03-19 2018-03-19 Method and device for controlling movement in virtual reality

Country Status (1)

Country Link
CN (1) CN108427501B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109782910A (en) * 2018-12-29 2019-05-21 北京诺亦腾科技有限公司 A kind of VR scene interactivity method and device
CN112799502A (en) * 2019-11-14 2021-05-14 中国移动通信有限公司研究院 Walking redirection control method, equipment and storage medium in virtual reality space
CN112862935A (en) * 2021-03-16 2021-05-28 天津亚克互动科技有限公司 Game character motion processing method and device, storage medium and computer equipment
CN114849238A (en) * 2022-06-02 2022-08-05 北京新唐思创教育科技有限公司 Animation execution method, device, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077023A (en) * 2013-03-28 2014-10-01 索尼公司 Display control device, display control method, and recording medium
CN105759963A (en) * 2016-02-15 2016-07-13 众景视界(北京)科技有限公司 Method for positioning motion trail of human hand in virtual space based on relative position relation
CN106502395A (en) * 2016-10-18 2017-03-15 深圳市火花幻境虚拟现实技术有限公司 A kind of method and device for avoiding user's dizziness in virtual reality applications
CN106933355A (en) * 2017-01-24 2017-07-07 北京富龙飞科技有限公司 The quick method for obtaining moving object information in real time in augmented reality
CN106938142A (en) * 2016-12-06 2017-07-11 任天堂株式会社 Games system, game processing method, game device and recording medium
US20170262046A1 (en) * 2015-04-27 2017-09-14 Google Inc. Virtual/augmented reality transition system and method
US9779633B2 (en) * 2014-08-08 2017-10-03 Greg Van Curen Virtual reality system enabling compatibility of sense of immersion in virtual space and movement in real space, and battle training system using same
CN107430442A (en) * 2015-05-26 2017-12-01 谷歌公司 For entering and exiting the multi-dimensional graphic method of the application in immersion media and activity
CN107450747A (en) * 2017-07-25 2017-12-08 腾讯科技(深圳)有限公司 The displacement control method and device of virtual role
CN107479697A (en) * 2017-07-27 2017-12-15 北京云创启航智能科技有限公司 Vision guide repositions mobile method and device under virtual reality
CN107562212A (en) * 2017-10-20 2018-01-09 网易(杭州)网络有限公司 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077023A (en) * 2013-03-28 2014-10-01 索尼公司 Display control device, display control method, and recording medium
US9779633B2 (en) * 2014-08-08 2017-10-03 Greg Van Curen Virtual reality system enabling compatibility of sense of immersion in virtual space and movement in real space, and battle training system using same
US20170262046A1 (en) * 2015-04-27 2017-09-14 Google Inc. Virtual/augmented reality transition system and method
CN107430439A (en) * 2015-04-27 2017-12-01 谷歌公司 Virtually/augmented reality conversion system and method
CN107430442A (en) * 2015-05-26 2017-12-01 谷歌公司 For entering and exiting the multi-dimensional graphic method of the application in immersion media and activity
CN105759963A (en) * 2016-02-15 2016-07-13 众景视界(北京)科技有限公司 Method for positioning motion trail of human hand in virtual space based on relative position relation
CN106502395A (en) * 2016-10-18 2017-03-15 深圳市火花幻境虚拟现实技术有限公司 A kind of method and device for avoiding user's dizziness in virtual reality applications
CN106938142A (en) * 2016-12-06 2017-07-11 任天堂株式会社 Games system, game processing method, game device and recording medium
CN106933355A (en) * 2017-01-24 2017-07-07 北京富龙飞科技有限公司 The quick method for obtaining moving object information in real time in augmented reality
CN107450747A (en) * 2017-07-25 2017-12-08 腾讯科技(深圳)有限公司 The displacement control method and device of virtual role
CN107479697A (en) * 2017-07-27 2017-12-15 北京云创启航智能科技有限公司 Vision guide repositions mobile method and device under virtual reality
CN107562212A (en) * 2017-10-20 2018-01-09 网易(杭州)网络有限公司 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
万李芳,等.: "虚拟漫游中替身步行浏览模式的三维地形跟踪算法的研究与实现", 《系统仿真学报》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109782910A (en) * 2018-12-29 2019-05-21 北京诺亦腾科技有限公司 A kind of VR scene interactivity method and device
CN112799502A (en) * 2019-11-14 2021-05-14 中国移动通信有限公司研究院 Walking redirection control method, equipment and storage medium in virtual reality space
CN112862935A (en) * 2021-03-16 2021-05-28 天津亚克互动科技有限公司 Game character motion processing method and device, storage medium and computer equipment
CN114849238A (en) * 2022-06-02 2022-08-05 北京新唐思创教育科技有限公司 Animation execution method, device, equipment and medium

Also Published As

Publication number Publication date
CN108427501B (en) 2022-03-22

Similar Documents

Publication Publication Date Title
CN108427501A (en) Control method for movement and device in virtual reality
CN102221975B (en) Project navigation using motion capturing data
RU2762123C2 (en) Selective application of reprojection processing to layer subdomains to optimize power of late-stage reprojection
CN108434741A (en) Control method for movement in virtual reality and device
TWI693531B (en) Saccadic redirection for virtual reality locomotion
US20150235392A1 (en) Drawing data generation device and image drawing device
JP2014517945A (en) System and method for manipulation of objects
KR102629583B1 (en) Method and apparatus for processing three dimensional image
CN104854622A (en) Method for forming an optimized polygon based shell mesh
US11113861B2 (en) Imitating motion capture clips using a neural network
US20200402314A1 (en) Location-based platform for multiple 3d engines for delivering location-based 3d content to a user
KR20160077548A (en) Apparatus and method for generating sensory effect metadata
CN108245890A (en) The method and apparatus for controlling object of which movement in virtual scene
CN106780659A (en) A kind of two-dimension situation map generalization method and electronic equipment
US10506031B1 (en) Scalable network for processing virtual environments
KR102459848B1 (en) Modeling method and modeling apparatus of target object at high speed based on particles
EP3864494B1 (en) Locating spatialized sounds nodes for echolocation using unsupervised machine learning
CN112190930A (en) Control method and device for game role
US8326442B2 (en) Constrained navigation in a three-dimensional (3D) virtual arena
Lee et al. Multi-user reset controller for redirected walking using reinforcement learning
CN115317913A (en) Role movement control method and device, electronic equipment and readable storage medium
JP2019121238A (en) Program, image processing method, and image processing device
US11120619B2 (en) Information processing apparatus, non-transitory computer-readable storage medium storing information processing program, information processing system, and information processing method
US20230091836A1 (en) Targeting of an individual object among a plurality of objects in a multi-player online video game
Sobota et al. On building an object-oriented parallel virtual reality system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant