CN107562212A - Virtual reality scenario anti-fluttering method, device, storage medium and wear display device - Google Patents

Virtual reality scenario anti-fluttering method, device, storage medium and wear display device Download PDF

Info

Publication number
CN107562212A
CN107562212A CN201710989624.4A CN201710989624A CN107562212A CN 107562212 A CN107562212 A CN 107562212A CN 201710989624 A CN201710989624 A CN 201710989624A CN 107562212 A CN107562212 A CN 107562212A
Authority
CN
China
Prior art keywords
virtual
anchor point
detection cycle
virtual reality
reality scenario
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.)
Pending
Application number
CN201710989624.4A
Other languages
Chinese (zh)
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 CN201710989624.4A priority Critical patent/CN107562212A/en
Publication of CN107562212A publication Critical patent/CN107562212A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The present invention discloses a kind of virtual reality scenario anti-fluttering method, and methods described includes:According to default detection cycle obtain virtual reality scenario in virtual anchor point in detection cycle in response to wear display device motion caused by theoretical displacement;Judge whether the absolute value of theoretical displacement of the virtual anchor point in the detection cycle is less than the first pre-determined distance;When judging to be not less than the first pre-determined distance, position of the virtual anchor point in virtual reality scenario is updated according to theoretical displacement;When judging to be less than the first pre-determined distance, keep position of the virtual anchor point in virtual reality scenario constant;The display content for wearing display device is carried out rendering renewal according to the position of virtual reality scenario and current virtual anchor point in virtual reality scenario.The present invention also provides a kind of virtual reality scenario anti-shake apparatus, storage medium and wears display device simultaneously.Using the embodiment of the present invention, virtual reality scenario can be prevented because being shaken wearing the shake of display device.

Description

Virtual reality scenario anti-fluttering method, device, storage medium and wear display device
Technical field
The present invention relates to technical field of virtual reality, more particularly to a kind of virtual reality scenario anti-fluttering method, device, storage Medium and wear display device.
Background technology
Being related to HMD in VR (virtual reality, virtual reality) applications, (Head Mount Display wear aobvious Show equipment) in the scene that uses, change HMD display content often through displacements of the HMD in real scene and rotation, with Immediately corresponding virtual reality scenario is rendered to player according to some actions of player.HMD is equivalent to player and Virtual Space One interactive carrier:Player goes ahead, drive HMD move forward, HMD immediately to player present virtual reality scenario in player to Before walk seen content;Player drives HMD to turn left, and HMD is then presented player in virtual reality scenario to player and turned left institute The content seen.
But the long-time for wearing display device bring fatigue and sense of discomfort using meeting to player so that HMD is easily trembled Dynamic situation, the scene that HMD is shown follow shake to be rendered again, and the time one is grown, and will cause player in virtual reality scenario In feel dizziness and nausea or ophthalmic uncomfortable.Prior art is to reduce prolonging for scene rendering by improving refresh rate that HMD shows When, to mitigate scene shake spinning sensation to caused by human body, but there is the shortcomings that hardware resource consumption is fast in this method, and chase after simply Ask refresh rate to cause the reduction of scene rendering precision, certain infringement is brought to the feeling of immersion of virtual reality scenario.
The content of the invention
In order to solve the problems, such as that prior art is present, a kind of virtual reality scenario anti-fluttering method of proposition of the embodiment of the present invention, Device, storage medium and display device is worn, the virtual reality scenario as caused by being shaken head mounted display can be suppressed and shaken Phenomenon, lift player experience.
The embodiment of the present invention provides a kind of virtual reality scenario anti-fluttering method, and methods described includes:
The virtual anchor point in virtual reality scenario is obtained according to default detection cycle to respond in the detection cycle In wear display device motion caused by theoretical displacement;
Judge whether the absolute value of the virtual theoretical displacement of the anchor point in the detection cycle is less than first and presets Distance;
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is not less than described first During pre-determined distance, according to theoretical displacement renewal of the virtual anchor point in the detection cycle virtual anchor point in institute State the position in virtual reality scenario;
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is pre- less than described first If apart from when, keep the virtual position of the anchor point in the virtual reality scenario constant;
According to the virtual reality scenario and presently described virtual position pair of the anchor point in the virtual reality scenario The display content for wearing display device carries out rendering renewal.
It is virtual in the acquisition virtual reality scenario according to default detection cycle in a kind of optional embodiment Anchor point in the detection cycle in response to wear display device motion caused by theoretical displacement, including:
Rotational angle of the display device in the detection cycle is worn according to obtaining default detection cycle;
According to the rotational angle for wearing display device in the detection cycle, the virtual anchor point is calculated in institute State the theoretical displacement in detection cycle.
It is described to wear display device in institute according to obtaining default detection cycle in a kind of optional embodiment The rotational angle in detection cycle is stated, including:
Display device is worn according to obtaining default detection cycle in the detection cycle around default center point to turn Dynamic angle, as the rotational angle for wearing display device in the detection cycle.
In a kind of optional embodiment, rotation of the display device in the detection cycle is worn described in the basis Angle, the virtual theoretical displacement of the anchor point in the detection cycle is calculated, including:
According to the rotational angle for wearing display device in the detection cycle, calculate the virtual anchor point with The default center point is the centre of sphere and using the second pre-determined distance as the displacement on the sphere of radius, is existed as the virtual anchor point Theoretical displacement in the detection cycle.
It is described when the judgement virtual theory of the anchor point in the detection cycle in a kind of optional embodiment When the absolute value of displacement is not less than first pre-determined distance, according to the virtual theory of the anchor point in the detection cycle The displacement renewal virtual position of the anchor point in the virtual reality scenario, including:
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is not less than described first During pre-determined distance, according to virtual anchor point described in the virtual theoretical Bit andits control of the anchor point in the detection cycle in institute State and moved on sphere, to update the virtual position of the anchor point in the virtual reality scenario.
In a kind of optional embodiment, the virtual anchor point includes the cursor in the virtual reality scenario.
In a kind of optional embodiment, methods described also includes:
The first distance setting instruction is obtained, first pre-determined distance is set according to the described first distance setting instruction.
In a kind of optional embodiment, methods described also includes:
Second distance setting instruction is obtained, setting instruction according to the second distance sets second pre-determined distance.
Correspondingly, the embodiment of the present invention also provides a kind of virtual reality scenario anti-shake apparatus, and described device includes:
Second acquisition module, for obtaining the virtual anchor point in virtual reality scenario according to default detection cycle in institute State in detection cycle in response to wearing theoretical displacement caused by display device motion;
Second judge module, for judging the absolute value of the virtual theoretical displacement of the anchor point in the detection cycle Whether the first pre-determined distance is less than;
3rd determination module, judge the absolute of the virtual theoretical displacement of the anchor point in the detection cycle for working as When value is not less than first pre-determined distance, institute is updated according to theoretical displacement of the virtual anchor point in the detection cycle State position of the virtual anchor point in the virtual reality scenario;
4th determination module, judge the absolute of the virtual theoretical displacement of the anchor point in the detection cycle for working as When value is less than first pre-determined distance, keep the virtual position of the anchor point in the virtual reality scenario constant;
Update module is rendered, for virtually showing described according to the virtual reality scenario and presently described virtual anchor point Position in real field scape carries out rendering renewal to the display content for wearing display device.
Correspondingly, the embodiment of the present invention also provides a kind of storage medium, and the storage medium includes the computer journey of storage Sequence, wherein, equipment where controlling the storage medium when the computer program is run is performed such as above-mentioned any embodiment institute The virtual reality scenario anti-fluttering method stated.
Correspondingly, the embodiment of the present invention also provides one kind and wears display device, it is described wear display device include processor, Memory and it is stored in the memory and is configured as by the computer program of the computing device, the processor The virtual reality scenario anti-fluttering method as described in above-mentioned any embodiment is realized when performing the computer program.
The embodiment of the present invention provides a kind of virtual reality scenario anti-fluttering method, device, storage medium and wears display device, Wherein, the virtual anchor point that methods described can be obtained according to default detection cycle in virtual reality scenario is all in the detection In response to wearing theoretical displacement caused by display device motion in phase, so as to be virtual by the conversion of motion for wearing display device Theoretical displacement of the anchor point in the detection cycle;By judging the virtual theory of the anchor point in the detection cycle Whether the absolute value of displacement is less than the first pre-determined distance to update the virtual position of the anchor point in the virtual reality scenario Put, and the display content for wearing display device carried out rendering renewal according to the position of presently described virtual anchor point, The display content for avoiding wearing display device to described carry out it is unnecessary render renewal, so as to realize to wearing display device Shake is judged and buffered, and prevents virtual reality scenario from being shaken with the shake for wearing display device;Relative to traditional Virtual reality scenario anti-fluttering method, using the virtual reality scenario anti-fluttering method of the embodiment of the present invention, without being shown by improving HMD The refresh rate shown reduces the delay of scene rendering, not only saves hardware resource, and can ensure virtual reality scenario Definition, feeling of immersion of the lifting player in virtual reality scenario, more preferable operating experience is brought to player.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of one embodiment of virtual reality scenario anti-fluttering method provided by the invention;
Fig. 2 is the structural representation of one embodiment of virtual reality scenario anti-shake apparatus provided by the invention;
Fig. 3 is the structural representation of one embodiment provided by the invention for wearing display device.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, it is the schematic flow sheet of one embodiment of virtual reality scenario anti-fluttering method provided by the invention, The virtual reality scenario anti-fluttering method specifically includes following steps:
S101, the virtual anchor point in default detection cycle acquisition virtual reality scenario is in the detection cycle In response to wearing theoretical displacement caused by display device motion;
S102, judges whether the absolute value of the virtual theoretical displacement of the anchor point in the detection cycle is less than first Pre-determined distance;
S103, when the absolute value of the judgement virtual theoretical displacement of the anchor point in the detection cycle is not less than described During the first pre-determined distance, the virtual anchor point is updated according to theoretical displacement of the virtual anchor point in the detection cycle Position in the virtual reality scenario;
S104, when the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is less than described the During one pre-determined distance, keep the virtual position of the anchor point in the virtual reality scenario constant;
S105, according to the virtual reality scenario and presently described virtual position of the anchor point in the virtual reality scenario Put and the display content for wearing display device is carried out rendering renewal.
It should be noted that according to the virtual reality scenario and presently described virtual anchor point in the virtual reality field Position in scape carries out rendering renewal to the display content for wearing display device, i.e., is shown by the display device of wearing In the virtual reality scenario with the content of presently described virtual position correspondence of the anchor point in the virtual reality scenario.
In a kind of optional embodiment, the display device of wearing is provided with virtual video camera;It is described according to the void Intend reality scene and presently described virtual position of the anchor point in the virtual reality scenario to the display device of wearing Display content carries out rendering renewal, is specially:According to the virtual position acquisition of the anchor point in virtual reality scenario Position of the virtual video camera in the virtual reality scenario;According to the virtual reality scenario and the virtual video camera in institute State content of the virtual reality scenario in the camera watch region of virtual video camera described in the position acquisition in virtual reality scenario;According to Content of the virtual reality scenario in the camera watch region of the virtual video camera is in the display for wearing display device Appearance carries out rendering renewal.
The virtual anchor point in virtual reality scenario is obtained according to default detection cycle to respond in the detection cycle In wearing theoretical displacement caused by display device motion, so as to be that virtual anchor point exists by the conversion of motion for wearing display device Theoretical displacement in the detection cycle;By judging the exhausted of the virtual theoretical displacement of the anchor point in the detection cycle Whether it is less than the first pre-determined distance to value to update the virtual position of the anchor point in the virtual reality scenario, Yi Jigen The display content for wearing display device is carried out rendering renewal according to the position of presently described virtual anchor point, avoided to described Wear display device display content carry out it is unnecessary render renewal, the shake for wearing display device is sentenced so as to realize Fixed and buffering, prevents virtual reality scenario from being shaken with the shake for wearing display device;Relative to traditional virtual reality field Scape anti-fluttering method, using the virtual reality scenario anti-fluttering method of the embodiment of the present invention, without the refresh rate shown by improving HMD To reduce the delay of scene rendering, hardware resource is not only saved, and the definition of virtual reality scenario can be ensured, is lifted Feeling of immersion of the player in virtual reality scenario, more preferable operating experience is brought to player.
The another embodiment for the virtual reality scenario anti-fluttering method that the present invention also provides, methods described specifically include following step Suddenly:
Virtual anchor point in default detection cycle acquisition virtual reality scenario is in each detection cycle In response to wearing theoretical displacement caused by display device motion;
Judge whether the absolute value of the virtual theoretical displacement of the anchor point in current detection cycle is pre- less than first If distance;
When judging the absolute value of the virtual theoretical displacement of the anchor point in current detection cycle not less than described the During one pre-determined distance, the virtual anchor point is updated according to theoretical displacement of the virtual anchor point in current detection cycle Position in the virtual reality scenario;
When the absolute value for judging the virtual theoretical displacement of the anchor point in current detection cycle is less than described first During pre-determined distance, keep the virtual position of the anchor point in the virtual reality scenario constant;
Changed in response to the virtual position of the anchor point in the virtual reality scenario, according to described virtual existing Real field scape and presently described virtual position of the anchor point in the virtual reality scenario are to the display for wearing display device Content carries out rendering renewal.
It is virtual in the acquisition virtual reality scenario according to default detection cycle in a kind of optional embodiment Anchor point in the detection cycle in response to wear display device motion caused by theoretical displacement, be specially:In response to institute State and wear display device setting in motion, the virtual anchor point in default detection cycle acquisition virtual reality scenario is each In response to wearing theoretical displacement caused by display device motion in the detection cycle;In a kind of optional embodiment, Methods described also includes:Display device stop motion is worn in response to described, stops being obtained virtually according to default detection cycle Virtual anchor point in reality scene is theoretical caused by display device motion in response to wearing in each detection cycle Displacement.
Virtual anchor point i.e. in default detection cycle acquisition virtual reality scenario is in each detection cycle It is interior in response to wearing theoretical displacement caused by display device motion, so as to which the conversion of motion of display device will be worn to be virtual fixed Theoretical displacement of the site in each detection cycle;By judging the virtual reason of the anchor point in a detection cycle The virtual anchor point is updated in the virtual reality scenario by whether the absolute value of displacement is less than the first pre-determined distance Position, and changed in response to the virtual position of the anchor point in the virtual reality scenario, according to presently described The position of virtual anchor point carries out rendering renewal to the display content for wearing display device, avoids wearing display to described and setting Standby display content carry out it is unnecessary render renewal, the shake for wearing display device is judged and buffered so as to realize, Prevent virtual reality scenario from being shaken with the shake for wearing display device;Relative to traditional virtual reality scenario stabilization side Method, using the virtual reality scenario anti-fluttering method of the embodiment of the present invention, without reducing field by improving refresh rate that HMD shows The delay that scape renders, hardware resource is not only saved, and the definition of virtual reality scenario can be ensured, player is in void for lifting Intend the feeling of immersion in reality scene, more preferable operating experience is brought to player.
It is virtual in the acquisition virtual reality scenario according to default detection cycle in a kind of optional embodiment Anchor point in each detection cycle in response to wear display device motion caused by theoretical displacement, including:
Rotational angle of the display device in the detection cycle is worn according to obtaining default detection cycle;
According to the rotational angle for wearing display device in the detection cycle, the virtual anchor point is calculated in institute State the theoretical displacement in detection cycle.
The virtual anchor point is calculated by wearing rotational angle of the display device in a detection cycle Theoretical displacement in a detection cycle, targetedly simplified according to the shake for wearing display device for calculating The motion physical quantity of display device is worn, to improve the treatment effeciency of virtual reality scenario anti-fluttering method.
It is described to wear display device in institute according to obtaining default detection cycle in a kind of optional embodiment The rotational angle in detection cycle is stated, including:
Display device is worn according to obtaining default detection cycle in the detection cycle around default center point to turn Dynamic angle, as the rotational angle for wearing display device in the detection cycle.
It should be noted that the display device of wearing is around the direction that default center point rotates in the detection cycle Any direction.
The angle rotated by wearing display device described in acquisition around default center point, display is worn to described to realize Equipment in any direction on shake enter row buffering, improve the accuracy of virtual reality scenario anti-fluttering method.
In a kind of optional embodiment, rotation of the display device in the detection cycle is worn described in the basis Angle, the virtual theoretical displacement of the anchor point in the detection cycle is calculated, including:
According to the rotational angle for wearing display device in the detection cycle, calculate the virtual anchor point with The default center point is the centre of sphere and using the second pre-determined distance as the displacement on the sphere of radius, is existed as the virtual anchor point Theoretical displacement in the detection cycle.
I.e. by it is described wear display device calculate around the rotational angle and spherical radius of default center point it is described virtual fixed Displacement of the site on sphere, simplify the calculating of the theoretical displacement of virtual anchor point, to improve virtual reality scenario anti-fluttering method Treatment effeciency.
It is described when the judgement virtual theory of the anchor point in the detection cycle in a kind of optional embodiment When the absolute value of displacement is not less than first pre-determined distance, according to the virtual theory of the anchor point in the detection cycle The displacement renewal virtual position of the anchor point in the virtual reality scenario, including:
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is not less than described first During pre-determined distance, according to virtual anchor point described in the virtual theoretical Bit andits control of the anchor point in the detection cycle in institute State and moved on sphere, to update the virtual position of the anchor point in the virtual reality scenario.
Moved by the virtual anchor point according to the theoretical Bit andits control on the sphere, with respect to it For the method for the displacement that his move mode calculates virtual anchor point, it reduces calculating money without calculating displacement in addition The consumption in source;In addition, for the method using other move modes movement virtual anchor point, by described in control Virtual anchor point is moved on the sphere to update the virtual position of the anchor point in the virtual reality scenario, is easy to By less amount of calculation by the virtual position of the anchor point in the virtual reality scenario and the virtual reality scenario It is mapped, improves the treatment effeciency of virtual reality scenario anti-fluttering method.
In a kind of optional embodiment, the virtual anchor point includes the cursor in the virtual reality scenario.
I.e. by regarding the cursor in the virtual reality scenario as virtual anchor point, it is easy to based on virtual anchor point in void Intend the position in reality scene and the relation of virtual reality scenario, further design is done to cursor, so that player passes through the void The cursor intended in reality scene interacts with virtual reality scenario.
In a kind of optional embodiment, methods described also includes:
The first distance setting instruction is obtained, first pre-determined distance is set according to the described first distance setting instruction.
It should be noted that the initial value of first pre-determined distance is set by system factory setting or by first distance Fixed instruction setting;The initial value of first pre-determined distance can be also modified and set by the described first distance setting instruction It is fixed.
I.e. because the first pre-determined distance of setting is bigger, then virtual reality scenario stabilization effect is more preferable, but virtual reality field Scape follow wear display device motion render renewal sensitivity it is lower, therefore, by first distance setting instruction to institute State the first pre-determined distance to be set, be easy to different players to set the first different pre-determined distances according to itself operating habit, it is full Requirement of the sufficient player to operation smooth degree and feeling of immersion.
In a kind of optional embodiment, first pre-determined distance is by system factory setting.
In a kind of optional embodiment, methods described also includes:
Second distance setting instruction is obtained, setting instruction according to the second distance sets second pre-determined distance.
It should be noted that the initial value of second pre-determined distance is set by system factory setting or by the second distance Fixed instruction setting;The initial value of second pre-determined distance can be also modified and set by second distance setting instruction It is fixed;Second pre-determined distance is smaller, then the theoretical displacement is smaller, the change of the display content for wearing display device It is smaller.
Instruction is set by the second distance and sets second pre-determined distance, is easy to according to virtual reality scenario Design requirement is adjusted setting to second pre-determined distance.
In a kind of optional embodiment, second pre-determined distance is by system factory setting.
Referring to Fig. 2, it is the structural representation of one embodiment of virtual reality scenario anti-shake apparatus provided by the invention; The virtual reality scenario anti-shake apparatus includes:
First acquisition module 201, for obtaining the virtual anchor point in virtual reality scenario according to default detection cycle In response to wearing theoretical displacement caused by display device motion in each detection cycle;
First judge module 202, for judging the exhausted of the virtual theoretical displacement of the anchor point in the detection cycle Whether the first pre-determined distance is less than to value;
First determination module 203, for when the judgement virtual theoretical displacement of the anchor point in the detection cycle When absolute value is not less than first pre-determined distance, according to the theoretical displacement of the virtual anchor point in the detection cycle more The new virtual position of the anchor point in the virtual reality scenario;
Second determination module 204, for when the judgement virtual theoretical displacement of the anchor point in the detection cycle When absolute value is less than first pre-determined distance, the virtual position of the anchor point in the virtual reality scenario is kept not Become;
Update module 205 is rendered, for being sent out in response to position of the virtual anchor point in the virtual reality scenario Changing, according to the virtual reality scenario and presently described virtual position of the anchor point in the virtual reality scenario to institute State and wear the display content of display device and carry out rendering renewal.
It should be noted that according to the virtual reality scenario and presently described virtual anchor point in the virtual reality field Position in scape carries out rendering renewal to the display content for wearing display device, i.e., is shown by the display device of wearing In the virtual reality scenario with the content of presently described virtual position correspondence of the anchor point in the virtual reality scenario.
In a kind of optional embodiment, the display device of wearing is provided with virtual video camera;It is described to render renewal mould Block includes:Second acquisition unit, for virtual according to the virtual position acquisition of the anchor point in virtual reality scenario Position of the video camera in the virtual reality scenario;3rd acquiring unit, for according to the virtual reality scenario and described Virtual reality scenario is in the imaging region of virtual video camera described in position acquisition of the virtual video camera in the virtual reality scenario Content in domain;Render updating block, for according to the virtual reality scenario in the camera watch region of the virtual video camera Content the display content for wearing display device is carried out rendering renewal.
Virtual anchor point i.e. in default detection cycle acquisition virtual reality scenario is in each detection cycle It is interior in response to wearing theoretical displacement caused by display device motion, so as to which the conversion of motion of display device will be worn to be virtual fixed Theoretical displacement of the site in each detection cycle;By judging the virtual reason of the anchor point in a detection cycle The virtual anchor point is updated in the virtual reality scenario by whether the absolute value of displacement is less than the first pre-determined distance Position, and changed in response to the virtual position of the anchor point in the virtual reality scenario, according to presently described The position of virtual anchor point carries out rendering renewal to the display content for wearing display device, avoids wearing display to described and setting Standby display content carry out it is unnecessary render renewal, the shake for wearing display device is judged and buffered so as to realize, Prevent virtual reality scenario from being shaken with the shake for wearing display device;Relative to traditional virtual reality scenario stabilization side Method, using the virtual reality scenario anti-fluttering method of the embodiment of the present invention, without reducing field by improving refresh rate that HMD shows The delay that scape renders, hardware resource is not only saved, and the definition of virtual reality scenario can be ensured, player is in void for lifting Intend the feeling of immersion in reality scene, more preferable operating experience is brought to player.
The another embodiment for the virtual reality scenario anti-shake apparatus that the present invention also provides, described device include:
First acquisition module, for obtaining the virtual anchor point in virtual reality scenario according to default detection cycle every In response to wearing theoretical displacement caused by display device motion in the individual detection cycle;
First judge module, for judging the absolute of the virtual theoretical displacement of the anchor point in current detection cycle Whether value is less than the first pre-determined distance;
First determination module, judge the exhausted of the virtual theoretical displacement of the anchor point in current detection cycle for working as When being not less than first pre-determined distance to value, according to the theoretical displacement of the virtual anchor point in current detection cycle more The new virtual position of the anchor point in the virtual reality scenario;
Second determination module, judge the exhausted of the virtual theoretical displacement of the anchor point in current detection cycle for working as When being less than first pre-determined distance to value, keep the virtual position of the anchor point in the virtual reality scenario constant;
Update module is rendered, for becoming in response to the virtual position of the anchor point in the virtual reality scenario Change, according to the virtual reality scenario and presently described virtual position of the anchor point in the virtual reality scenario to the head The display content for wearing display device carries out rendering renewal.
In a kind of optional embodiment, first acquisition module includes:First acquisition unit, in response to institute State and wear display device setting in motion, the virtual anchor point in default detection cycle acquisition virtual reality scenario is each In response to wearing theoretical displacement caused by display device motion in the detection cycle;In a kind of optional embodiment, Described device also includes:Stop acquisition module, for wearing display device stop motion in response to described, stop according to default Virtual anchor point in detection cycle acquisition virtual reality scenario is in each detection cycle in response to wearing display device Theoretical displacement caused by motion.
Virtual anchor point i.e. in default detection cycle acquisition virtual reality scenario is in each detection cycle It is interior in response to wearing theoretical displacement caused by display device motion, so as to which the conversion of motion of display device will be worn to be virtual fixed Theoretical displacement of the site in each detection cycle;By judging the virtual reason of the anchor point in a detection cycle The virtual anchor point is updated in the virtual reality scenario by whether the absolute value of displacement is less than the first pre-determined distance Position, and changed in response to the virtual position of the anchor point in the virtual reality scenario, according to presently described The position of virtual anchor point carries out rendering renewal to the display content for wearing display device, avoids wearing display to described and setting Standby display content carry out it is unnecessary render renewal, the shake for wearing display device is judged and buffered so as to realize, Prevent virtual reality scenario from being shaken with the shake for wearing display device;Relative to traditional virtual reality scenario stabilization side Method, using the virtual reality scenario anti-fluttering method of the embodiment of the present invention, without reducing field by improving refresh rate that HMD shows The delay that scape renders, hardware resource is not only saved, and the definition of virtual reality scenario can be ensured, player is in void for lifting Intend the feeling of immersion in reality scene, more preferable operating experience is brought to player.
In a kind of optional embodiment, first acquisition module includes:
Rotational angle acquiring unit, for wearing display device in the detection according to the acquisition of default detection cycle Rotational angle in cycle;
First computing unit, for wearing rotational angle of the display device in the detection cycle according to, calculate The virtual theoretical displacement of the anchor point in the detection cycle.
In a kind of optional embodiment, the rotational angle acquiring unit includes:
Center rotating subelement, for wearing display device according to the acquisition of default detection cycle in the detection week The angle rotated in phase around default center point, as the rotational angle for wearing display device in the detection cycle.
In a kind of optional embodiment, first computing unit includes:
Displacement computation subunit, for wearing rotational angle of the display device in the detection cycle according to, count It is taking the default center point as displacement on the centre of sphere and sphere using the second pre-determined distance as radius to calculate the virtual anchor point, As the virtual theoretical displacement of the anchor point in the detection cycle.
In a kind of optional embodiment, first determination module includes:
First mobile unit, judge the absolute of the virtual theoretical displacement of the anchor point in the detection cycle for working as When value is not less than first pre-determined distance, according to the virtual theoretical Bit andits control institute of the anchor point in the detection cycle State virtual anchor point to move on the sphere, to update the virtual position of the anchor point in the virtual reality scenario.
In a kind of optional embodiment, the virtual anchor point includes the cursor in the virtual reality scenario.
In a kind of optional embodiment, described device also includes:
First instruction acquiring unit, for obtaining the first distance setting instruction, instruction is set according to the described first distance and set Fixed first pre-determined distance.
In a kind of optional embodiment, described device also includes:
Second instruction acquiring unit, for obtaining second distance setting instruction, instruction is set according to the second distance and set Fixed second pre-determined distance.
The embodiment of the present invention additionally provides one kind and wears display device, is provided by the invention to wear display and set referring to Fig. 3 The structural representation of standby one embodiment, the display device of wearing include:
Including processor 501, memory 502 and it is stored in the memory and is configured as being held by the processor Capable computer program 503, the processor 501 realize step as shown in Figure 1 when performing the computer program 503 S101-S105。
Exemplary, the computer program can be divided into one or more modules, one or more of moulds Block is stored in the memory, and by the computing device, to complete the present invention.One or more of modules can be with It is the series of computation machine programmed instruction section that can complete specific function, the instruction segment is used to describe the computer program in institute State the implementation procedure in the control system of permagnetic synchronous motor.For example, the computer program can be divided into as described above in fact Apply the first acquisition module 201, the first judge module 202, the first determination module 203, the second determination module 204 and the wash with watercolours described in example Contaminate update module 205.
It will be understood by those skilled in the art that the schematic diagram is only the example for wearing display device, do not form pair The restriction of display device is worn, can include than illustrating more or less parts, either combine some parts or different Part, such as the display device of wearing can also include input-output equipment, network access equipment, bus etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization Wear the various functions of display device.The memory can mainly include storing program area and storage data field, wherein, store journey Sequence area can storage program area, application program (such as sound-playing function, image player function needed at least one function Deng) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.This Outside, memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, insert Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Based on such understanding, the present invention realizes all or part of flow in above-described embodiment method, can also passed through Computer program instructs the hardware of correlation to complete, and described computer program can be stored in a storage medium, described Equipment performs the virtual reality field as described in above-mentioned any embodiment computer program controls the storage medium when running where Scape anti-fluttering method.Wherein, the storage medium is computer-readable recording medium, and the computer program includes computer program Code, the computer program code can be source code form, object identification code form, executable file or some intermediate forms Deng.The storage medium can include:Any entity or device, recording medium, the U of the computer program code can be carried Disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..Need Bright, it is appropriate that the content that the storage medium includes can be carried out according to legislation in jurisdiction and the requirement of patent practice Increase and decrease, such as in some jurisdictions, electric carrier signal is not included according to legislation and patent practice, computer-readable medium And telecommunication signal.
It should be noted that device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Need to select some or all of module therein to realize the purpose of this embodiment scheme.In addition, device provided by the invention In embodiment accompanying drawing, the annexation between module represents there is communication connection between them, specifically can be implemented as one or A plurality of communication bus or signal wire.Those of ordinary skill in the art are without creative efforts, you can to understand And implement.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (11)

1. a kind of virtual reality scenario anti-fluttering method, it is characterised in that methods described includes:
Virtual anchor point in default detection cycle acquisition virtual reality scenario is in the detection cycle in response to head Wear theoretical displacement caused by display device motion;
Judge whether the absolute value of the virtual theoretical displacement of the anchor point in the detection cycle is less than the first pre-determined distance;
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is default not less than described first Apart from when, according to theoretical displacement renewal of the virtual anchor point in the detection cycle virtual anchor point in the void Intend the position in reality scene;
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle be less than described first it is default away from From when, keep the virtual position of the anchor point in the virtual reality scenario constant;
According to the virtual reality scenario and presently described virtual position of the anchor point in the virtual reality scenario to described The display content for wearing display device carries out rendering renewal.
2. virtual reality scenario anti-fluttering method as claimed in claim 1, it is characterised in that
Virtual anchor point in the acquisition virtual reality scenario according to default detection cycle responds in the detection cycle In wear display device motion caused by theoretical displacement, including:
Rotational angle of the display device in the detection cycle is worn according to obtaining default detection cycle;
According to the rotational angle for wearing display device in the detection cycle, the virtual anchor point is calculated in the inspection The theoretical displacement surveyed in the cycle.
3. virtual reality scenario anti-fluttering method as claimed in claim 2, it is characterised in that
It is described to wear rotational angle of the display device in the detection cycle according to obtaining default detection cycle, wrap Include:
Wear what display device rotated in the detection cycle around default center point according to obtaining default detection cycle Angle, as the rotational angle for wearing display device in the detection cycle.
4. virtual reality scenario anti-fluttering method as claimed in claim 3, it is characterised in that
Rotational angle of the display device in the detection cycle is worn described in the basis, calculates the virtual anchor point in institute The theoretical displacement in detection cycle is stated, including:
According to the rotational angle for wearing display device in the detection cycle, the virtual anchor point is calculated with described Default center point is the centre of sphere and using the second pre-determined distance as the displacement on the sphere of radius, as the virtual anchor point described Theoretical displacement in detection cycle.
5. virtual reality scenario anti-fluttering method as claimed in claim 4, it is characterised in that described when the judgement virtual positioning When the absolute value of theoretical displacement of the point in the detection cycle is not less than first pre-determined distance, according to the virtual positioning Theoretical displacement renewal of the point in the detection cycle virtual position of the anchor point in the virtual reality scenario, bag Include:
When the absolute value for judging the virtual theoretical displacement of the anchor point in the detection cycle is default not less than described first Apart from when, according to virtual anchor point described in the virtual theoretical Bit andits control of the anchor point in the detection cycle in the ball Moved on face, to update the virtual position of the anchor point in the virtual reality scenario.
6. virtual reality scenario anti-fluttering method as claimed in claim 5, it is characterised in that the virtual anchor point includes described Cursor in virtual reality scenario.
7. virtual reality scenario anti-fluttering method as claimed in claim 1, it is characterised in that methods described also includes:
The first distance setting instruction is obtained, first pre-determined distance is set according to the described first distance setting instruction.
8. virtual reality scenario anti-fluttering method as claimed in claim 4, it is characterised in that methods described also includes:
Second distance setting instruction is obtained, setting instruction according to the second distance sets second pre-determined distance.
9. a kind of virtual reality scenario anti-shake apparatus, it is characterised in that described device includes:
Second acquisition module, it is virtual in virtual reality scenario in virtual reality scenario for being obtained according to default detection cycle Anchor point is in the detection cycle in response to wearing theoretical displacement caused by display device motion;
Second judge module, for judge the virtual theoretical displacement of the anchor point in the detection cycle absolute value whether Less than the first pre-determined distance;
3rd determination module, the absolute value of the virtual theoretical displacement of the anchor point in the detection cycle is judged for working as not During less than first pre-determined distance, the void is updated according to theoretical displacement of the virtual anchor point in the detection cycle Draft position of the site in the virtual reality scenario;
4th determination module, judge that the absolute value of the virtual theoretical displacement of the anchor point in the detection cycle is small for working as When first pre-determined distance, keep the virtual position of the anchor point in the virtual reality scenario constant;
Render update module, for according to the virtual reality scenario and presently described virtual anchor point in the virtual reality field Position in scape carries out rendering renewal to the display content for wearing display device.
A kind of 10. storage medium, it is characterised in that the storage medium includes the computer program of storage, wherein, in the meter Equipment performs the virtual reality field as described in claim any one of 1-8 calculation machine program controls the storage medium when running where Scape anti-fluttering method.
11. one kind wears display device, it is characterised in that the display device of wearing includes processor, memory and storage In the memory and it is configured as by the computer program of the computing device, computer described in the computing device The virtual reality scenario anti-fluttering method as any one of claim 1 to 8 is realized during program.
CN201710989624.4A 2017-10-20 2017-10-20 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device Pending CN107562212A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710989624.4A CN107562212A (en) 2017-10-20 2017-10-20 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710989624.4A CN107562212A (en) 2017-10-20 2017-10-20 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Publications (1)

Publication Number Publication Date
CN107562212A true CN107562212A (en) 2018-01-09

Family

ID=60985800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710989624.4A Pending CN107562212A (en) 2017-10-20 2017-10-20 Virtual reality scenario anti-fluttering method, device, storage medium and wear display device

Country Status (1)

Country Link
CN (1) CN107562212A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427501A (en) * 2018-03-19 2018-08-21 网易(杭州)网络有限公司 Control method for movement and device in virtual reality
CN109300184A (en) * 2018-09-29 2019-02-01 五八有限公司 AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing
CN109741463A (en) * 2019-01-02 2019-05-10 京东方科技集团股份有限公司 Rendering method, device and the equipment of virtual reality scenario
CN110096134A (en) * 2018-01-31 2019-08-06 百度在线网络技术(北京)有限公司 A kind of VR handle ray shake antidote, device, terminal and medium
CN111632372A (en) * 2020-06-03 2020-09-08 深圳市瑞立视多媒体科技有限公司 Virtual object control method, device, equipment and storage medium
CN112015274A (en) * 2020-08-26 2020-12-01 深圳市创凯智能股份有限公司 Immersive virtual reality system display method and system and readable storage medium
CN113934294A (en) * 2021-09-16 2022-01-14 珠海虎江科技有限公司 Virtual reality display device, conversation window display method thereof, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105116544A (en) * 2015-05-25 2015-12-02 谢培树 Electronic glasses operated by head
CN105807798A (en) * 2014-12-31 2016-07-27 上海乐相科技有限公司 Method and device for controlling jittering phenomenon of head-mounted intelligent glasses
CN106293065A (en) * 2016-07-26 2017-01-04 上海与德通讯技术有限公司 The control method of application program and control system
CN106597664A (en) * 2016-11-24 2017-04-26 北京小鸟看看科技有限公司 VR helmet and method for improving display effect of VR helmet
WO2017173583A1 (en) * 2016-04-05 2017-10-12 华为技术有限公司 Terminal display anti-shake method and apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105807798A (en) * 2014-12-31 2016-07-27 上海乐相科技有限公司 Method and device for controlling jittering phenomenon of head-mounted intelligent glasses
CN105116544A (en) * 2015-05-25 2015-12-02 谢培树 Electronic glasses operated by head
WO2017173583A1 (en) * 2016-04-05 2017-10-12 华为技术有限公司 Terminal display anti-shake method and apparatus
CN106293065A (en) * 2016-07-26 2017-01-04 上海与德通讯技术有限公司 The control method of application program and control system
CN106597664A (en) * 2016-11-24 2017-04-26 北京小鸟看看科技有限公司 VR helmet and method for improving display effect of VR helmet

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110096134A (en) * 2018-01-31 2019-08-06 百度在线网络技术(北京)有限公司 A kind of VR handle ray shake antidote, device, terminal and medium
CN110096134B (en) * 2018-01-31 2022-08-30 百度在线网络技术(北京)有限公司 VR handle ray jitter correction method, device, terminal and medium
CN108427501A (en) * 2018-03-19 2018-08-21 网易(杭州)网络有限公司 Control method for movement and device in virtual reality
CN109300184A (en) * 2018-09-29 2019-02-01 五八有限公司 AR Dynamic Display method, apparatus, computer equipment and readable storage medium storing program for executing
CN109741463A (en) * 2019-01-02 2019-05-10 京东方科技集团股份有限公司 Rendering method, device and the equipment of virtual reality scenario
US11263803B2 (en) 2019-01-02 2022-03-01 Beijing Boe Optoelectronics Technology Co., Ltd. Virtual reality scene rendering method, apparatus and device
CN111632372A (en) * 2020-06-03 2020-09-08 深圳市瑞立视多媒体科技有限公司 Virtual object control method, device, equipment and storage medium
CN112015274A (en) * 2020-08-26 2020-12-01 深圳市创凯智能股份有限公司 Immersive virtual reality system display method and system and readable storage medium
CN112015274B (en) * 2020-08-26 2024-04-26 深圳市创凯智能股份有限公司 Immersive virtual reality system display method, immersive virtual reality system display system and readable storage medium
CN113934294A (en) * 2021-09-16 2022-01-14 珠海虎江科技有限公司 Virtual reality display device, conversation window display method thereof, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN107562212A (en) Virtual reality scenario anti-fluttering method, device, storage medium and wear display device
JP7095030B2 (en) Adjusting video rendering speed and processing 3D images of virtual reality content
US11836289B2 (en) Use of eye tracking to adjust region-of-interest (ROI) for compressing images for transmission
US20200334790A1 (en) Image resolution processing method, system, and apparatus, storage medium, and device
CN107562211A (en) Cursor anti-fluttering method, device, storage medium and wear display device
JP2020523687A (en) Shadow optimization and mesh skin adaptation in foveal rendering system
EP3414645A1 (en) Limited field of view in virtual reality
CN103632389A (en) System and method to achieve better eyelines in cg characters
US20230079171A1 (en) Image content transmitting method and device using edge computing service
CN109696959B (en) Picture display method, equipment and storage medium
CN106814936A (en) The processing method and mobile terminal of a kind of windows exchange animation
CN114288647B (en) Artificial intelligence game engine based on AI Designer, game rendering method and device
JP2007301014A (en) Program, information storage medium, and image generating system
JP7462017B2 (en) Audio processing program, information processing system, information processing device, and audio processing method
WO2022004483A1 (en) Information processing device, information processing method, and program
CN101578634A (en) Image processor, image processing method, program, and information storage medium
CN101952857B (en) Image processing device, and image processing device control method
US11826644B2 (en) Bifurcation of gameplay between mobile and non-mobile play with intelligent game state saving, and startups
US20230387729A1 (en) Power management and distribution
US11706383B1 (en) Presenting video streams on a head-mountable device
CN117891330A (en) Screen display control method and device of intelligent glasses, computer equipment and medium
CN115866402A (en) Camera angle adjusting method, head-mounted device and computer-readable storage medium
CN116139482A (en) Virtual lens control method, device, equipment and storage medium
CN113934294A (en) Virtual reality display device, conversation window display method thereof, and computer-readable storage medium
CN115186026A (en) Map display method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180109