CN108905202A - Control virtual reality scenario rotating method and device, storage medium, electronic device - Google Patents
Control virtual reality scenario rotating method and device, storage medium, electronic device Download PDFInfo
- Publication number
- CN108905202A CN108905202A CN201810643679.4A CN201810643679A CN108905202A CN 108905202 A CN108905202 A CN 108905202A CN 201810643679 A CN201810643679 A CN 201810643679A CN 108905202 A CN108905202 A CN 108905202A
- Authority
- CN
- China
- Prior art keywords
- virtual reality
- reality scenario
- head
- line
- visibility
- 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
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
- A63F2300/8082—Virtual reality
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a kind of control virtual reality scenario rotating method and device, storage medium, electronic devices.Wherein, this method includes:Obtain default range of visibility and the line of sight direction after the head of target object rotates;The control mode of virtual reality scenario is determined according to the comparison result in line of sight direction and default range of visibility;It is rotated according to determining control mode control virtual reality scenario.The angle that the present invention solves player's head rotation in virtual reality scenario in the related technology is exactly the angle that scene is rotated and the technical problem for causing user experience poor.
Description
Technical field
The present invention relates to field of virtual reality, in particular to a kind of control virtual reality scenario rotating method and dress
It sets, storage medium, electronic device.
Background technique
In the related technology in virtual reality (such as VR/AR game), the rotation bring visible change on the head of player is complete
Full simulation reality, i.e. head rotation how many angle, it is seen that scene how many angle be just rotated.Thus, since player will be with
Aobvious equipment weightily rotates sight, thus the head of player can tire out very much.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of control virtual reality scenario rotating method and device, storage medium, electronics dresses
It sets, is exactly the angle that scene is rotated at least to solve the angle of player's head rotation in virtual reality scenario in the related technology
And the technical problem for causing user experience poor.
According to an aspect of an embodiment of the present invention, a kind of method of control virtual reality scenario rotation is provided, including:
Obtain default range of visibility and the line of sight direction after the head of target object rotates;According to line of sight direction
The control mode of virtual reality scenario is determined with the comparison result of default range of visibility;It is virtual according to determining control mode control
Reality scene is rotated.
Optionally, the control of virtual reality scenario is determined according to the comparison result in line of sight direction and default range of visibility
Mode includes at least one of:Comparison result be line of sight direction without departing from default range of visibility in the case where, control
Mode is that the velocity of rotation of virtual reality scenario is identical as the head rotation speed of target object;It is line of sight in comparison result
In the case that direction exceeds default range of visibility, control mode is that the velocity of rotation of virtual reality scenario is greater than the head of target object
Portion's velocity of rotation.
Optionally, the velocity of rotation of virtual reality scenario be greater than target object head rotation speed include it is following at least it
One:In the case where the head of target object stops operating, virtual reality scenario is continued to rotate;Continue on the head of target object
In the case where rotation, the velocity of rotation of virtual reality scenario is the multiple of the head rotation speed of target object.
Optionally, in the case where comparison result is that line of sight direction exceeds default range of visibility, method further includes:Hair
Prompt information out, wherein prompt information is for prompting line of sight direction to exceed default range of visibility.
Optionally, after issuing prompt information, method further includes:Detect line of sight direction;Detecting target view
In the case that line direction does not change in the given time, determine that the head of target object stops operating.
According to an aspect of an embodiment of the present invention, a kind of device of control virtual reality scenario rotation is provided, including:
Module is obtained, for obtaining default range of visibility and the line of sight direction after the head of target object rotates;Really
Cover half block, for determining the controlling party of virtual reality scenario according to the comparison result in line of sight direction and default range of visibility
Formula;Control module, for being rotated according to determining control mode control virtual reality scenario.
Optionally it is determined that module is also used at least one of:It is line of sight direction without departing from default in comparison result
In the case where range of visibility, the head rotation speed for the velocity of rotation and target object that control mode is virtual reality scenario is determined
It is identical;In the case where comparison result is that line of sight direction exceeds default range of visibility, determine that control mode is virtual reality
The velocity of rotation of scene is greater than the head rotation speed of target object.
Optionally, the velocity of rotation of virtual reality scenario be greater than target object head rotation speed include it is following at least it
One:In the case where the head of target object stops operating, virtual reality scenario is continued to rotate;Continue on the head of target object
In the case where rotation, the velocity of rotation of virtual reality scenario is the multiple of the head rotation speed of target object.
According to an aspect of an embodiment of the present invention, a kind of storage medium is provided, meter is stored in the storage medium
Calculation machine program, wherein the computer program is arranged to execute method described in any of the above-described when operation.
According to an aspect of an embodiment of the present invention, a kind of electronic device, including memory and processor are provided, it is described
Computer program is stored in memory, the processor is arranged to run the computer program to execute any of the above-described
Described in method.
In embodiments of the present invention, using one default range of visibility of setting, after the head rotation based on target object
Line of sight direction and default range of visibility determine the control mode of virtual reality scenario, are controlled according to determining control mode
The mode that virtual reality scenario is rotated, it can realize the relationship hair between line of sight direction and default range of visibility
In the case where changing, the rotation of virtual reality scenario is controlled using the control mode of different virtual reality scenarios, without
Virtual reality scenario is controlled in such a way that the angle of player's head rotation is exactly this fixation of angle that scene is rotated again
Rotation, increase control scene rotation flexibility, thus realize improve user Experience Degree technical effect, in turn
The angle for solving player's head rotation in virtual reality scenario in the related technology is exactly angle that scene is rotated and causes
The poor technical problem of user experience.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware configuration of the mobile terminal of the method for control virtual reality scenario rotation of the embodiment of the present invention
Block diagram;
Fig. 2 is the flow diagram of the method for control virtual reality scenario rotation according to an embodiment of the present invention;
Fig. 3 is the schematic diagram one for the control virtual reality scenario rotation that alternative embodiment provides according to the present invention;
Fig. 4 is the schematic diagram two for the control virtual reality scenario rotation that alternative embodiment provides according to the present invention;
Fig. 5 is the schematic diagram three for the control virtual reality scenario rotation that alternative embodiment provides according to the present invention;
Fig. 6 is the structural schematic diagram of the device of the control virtual reality scenario rotation provided according to embodiments of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
Embodiment of the method provided by the embodiment of the present application 1 can be in mobile terminal, terminal or similar fortune
It calculates and is executed in device.For running on mobile terminals, Fig. 1 is that a kind of control virtual reality scenario of the embodiment of the present invention turns
The hardware block diagram of the mobile terminal of dynamic method.As shown in Figure 1, mobile terminal 10 may include one or more (in Fig. 1
Only showing one) (processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA to processor 102
Deng processing unit) and memory 104 for storing data, optionally, above-mentioned mobile terminal can also include for communicating
The transmission device 106 and input-output equipment 108 of function.It will appreciated by the skilled person that structure shown in FIG. 1
Only illustrate, the structure of above-mentioned mobile terminal is not caused to limit.For example, mobile terminal 10 may also include than institute in Fig. 1
Show more perhaps less component or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing computer program, for example, the software program and module of application software, such as this hair
The corresponding computer program of method of control scene rotation in bright embodiment, processor 102 are stored in memory by operation
Computer program in 104 realizes above-mentioned method thereby executing various function application and data processing.Memory 104
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory 104 can further comprise relative to processor 102
Remotely located memory, these remote memories can pass through network connection to mobile terminal 10.The example packet of above-mentioned network
Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation
Device (Network Interface Controller, referred to as NIC), can be connected by base station with other network equipments to
It can be communicated with internet.In an example, transmitting device 106 can for radio frequency (RadioFrequency, referred to as
RF) module is used to wirelessly be communicated with internet.
According to embodiments of the present invention, the embodiment of the method for a kind of method of control virtual reality scenario rotation is provided, is needed
It is noted that step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions
Middle execution, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein
Sequence executes shown or described step.
Fig. 2 is the flow diagram of the method for control virtual reality scenario rotation according to an embodiment of the present invention, such as Fig. 2 institute
Show, this method comprises the following steps:
Step S202 obtains default range of visibility and the line of sight side after the head of target object rotates
To;
Step S204 determines the control of virtual reality scenario according to the comparison result in line of sight direction and default range of visibility
Mode processed;
Step S206 is rotated according to determining control mode control virtual reality scenario.
Through the above steps, the target using one default range of visibility of setting, after the head rotation based on target object
Direction of visual lines and default range of visibility determine the control mode of virtual reality scenario, are controlled according to determining control mode virtual
The mode that reality scene is rotated, it can realize that the relationship between line of sight direction and default range of visibility becomes
In the case where change, the rotation of virtual reality scenario is controlled using the control mode of different virtual reality scenarios, and is no longer adopted
Angle with player's head rotation is exactly the mode for this fixation of angle that scene is rotated to control turning for virtual reality scenario
It is dynamic, the flexibility of the rotation of control scene is increased, to realize the technical effect for improving the Experience Degree of user, and then is solved
The angle of player's head rotation is exactly angle that scene is rotated and leads to user in virtual reality scenario in the related technology
The poor technical problem of Experience Degree.
It should be noted that the angle between line of sight direction and initial direction of visual lines is the head rotation of target object
Angle, but it is not limited to this.It should be noted that above-mentioned initial direction of visual lines is located in above-mentioned default range of visibility.
It should be noted that a critical direction of visual lines can be set, above-mentioned default range of visibility can be critical by this
Direction of visual lines and above-mentioned initial direction of visual lines determine that but it is not limited to this.
It should be noted that determining virtual reality scenario according to the comparison result of line of sight direction and default range of visibility
Control mode may include at least one of:It is feelings of the line of sight direction without departing from default range of visibility in comparison result
Under condition, control mode is that the velocity of rotation of virtual reality scenario is identical as the head rotation speed of target object;In comparison result
In the case where exceeding default range of visibility for line of sight direction, control mode is that the velocity of rotation of virtual reality scenario is greater than mesh
Mark the head rotation speed of object.
By passing through the head turn to be greater than target object in the case where line of sight direction exceeds default range of visibility
The speed of speed is moved to control the rotation of virtual reality scenario, i.e. head rotation of the control virtual reality scenario than target object
Fastly, so that its head does not have to three-sixth turn again when target object is wanted to see 360 degree of scene, and then target can be mitigated
The header operations of object, preferably improve user experience.
It should be noted that the head rotation speed that the velocity of rotation of virtual reality scenario is greater than target object includes following
At least one:In the case where the head of target object stops operating, virtual reality scenario is continued to rotate;In the head of target object
In the case that portion continues to rotate, the velocity of rotation of virtual reality scenario is the multiple of the head rotation speed of target object.
In order to reduce the spinning sensation of target object or increase the body-sensing degree of user, in one embodiment of the invention,
In the case where comparison result is that line of sight direction exceeds default range of visibility, the above method can also include:Issue prompt
Information, wherein prompt information is for prompting line of sight direction to exceed default range of visibility.Pass through prompt ownership goal view
Line direction has exceeded default range of visibility, and then may be implemented to be determined by user and need to continue to rotate head to watch scene,
The burden of user is alleviated, the experience sense of user is preferably increased.
It should be noted that after issuing prompt information, the above method can also include:Detect line of sight direction;
In the case where detecting that line of sight direction does not change in the given time, determine that the head of target object stops turning
It is dynamic.
It should be noted that in some cases user need compare concern scene in some part scene, thus
In one embodiment of the present of invention, the above method can also include:Receive specified signal, wherein the specified signal is target
Object executes signal caused by required movement;The specified signal, which is used to indicate, stops virtual reality scenario in specified location
Rotation.For example, user's (target object) can be grasped by push-button controller etc. when virtual reality scenario turns to some position
Make the above-mentioned virtual reality scenario of control to stop wanting the position (i.e. above-mentioned designated position) seen to user.
It is illustrated so that target object is player as an example below, the present invention provides a kind of preferred embodiments, this is preferably
Embodiment (is equivalent between above-mentioned line of sight direction and initial direction of visual lines by the rotational angle on detection player head
Angle), the angle of the angle of virtual reality scenario rotation and player's head rotation is established into a kind of relevance, to rotate in player
When head, virtual reality scenario can be rotated quickly, and this method includes following two method:
Method one:
The point on the basis of (being equivalent to above-mentioned initial direction of visual lines) immediately ahead of the visual field of current player head, monitors the view of player
Wild rotational angle, and provide a critical angle N, when player's head rotation angle >=N is spent, if player is parked in this angle,
The scene that then player sees will continue to rotate towards this direction, up to player's head rotation angle again < N;As shown in figure 3,
Wherein, Fig. 3 is the schematic diagram one for the control virtual reality scenario rotation that alternative embodiment provides according to the present invention.It needs to illustrate
It is that the range of above-mentioned (- N degree, N degree) can be equivalent to above-mentioned default range of visibility.For example, as shown in figure 3, at N=1 °, when
Player turn left 1 ° when, player's head still, and the sustainable rotation of scene.At N=90 °, when player is rotated up 90 °
When, player's head still, scene is sustainable to be rotated up.
Method two:
When the angle of player's rotation is at (0 °, M °), player turns over how many degree, and the visual field (is equivalent to above-mentioned virtual reality field
Scape) same degree is just turned over therewith, as shown in figure 4, player turns over how many degree when the angle of player's rotation is greater than M °, depending on
The angle that open country turns over can be than actual angle faster, as shown in Figure 5, wherein Fig. 4 is the control that alternative embodiment provides according to the present invention
The schematic diagram two of virtual reality scenario rotation processed;Fig. 5 is the control virtual reality scenario that alternative embodiment provides according to the present invention
The schematic diagram three of rotation.M ° is equivalent to above-mentioned critical direction of visual lines, and (- M °, M °) can be equivalent to above-mentioned default range of visibility.
Such as:1 ° of the every rotation of player corresponds to scene and rotates 2 °;(fixed dual-rate);Alternatively, player rotate 10 ° with
Interior, scene also rotates within 10 °, but when 10 ° of player's rotation or more, and scene can rotate three times degree (the corresponding speed in complicated section
Rate).But it is not limited to this.
It should be noted that the executing subject of above-mentioned steps can be VR equipment, but it is not limited to this, above-mentioned steps S202
It can be by the gyroscope in above-mentioned VR equipment and execute, but it is not limited to this.
The embodiment of the invention also provides a kind of devices of control scene rotation, and Fig. 6 is to provide according to embodiments of the present invention
Control virtual reality scenario rotation device structural schematic diagram, as shown in fig. 6, the device includes:
Module 62 is obtained, the target view for obtaining default range of visibility and after the head of target object rotates
Line direction;
Determining module 64 is connect with above-mentioned acquisition module 62, for according to line of sight direction and default range of visibility
Comparison result determines the control mode of virtual reality scenario;
Control module 66 is connect with above-mentioned determining module 64, for controlling virtual reality field according to determining control mode
Scape is rotated.
Target by above-mentioned apparatus, using one default range of visibility of setting, after the head rotation based on target object
Direction of visual lines and default range of visibility determine the control mode of virtual reality scenario, are controlled according to determining control mode virtual
The mode that reality scene is rotated, it can realize that the relationship between line of sight direction and default range of visibility becomes
In the case where change, the rotation of virtual reality scenario is controlled using the control mode of different virtual reality scenarios, and is no longer adopted
Angle with player's head rotation is exactly the mode for this fixation of angle that scene is rotated to control turning for virtual reality scenario
It is dynamic, the flexibility of the rotation of control scene is increased, to realize the technical effect for improving the Experience Degree of user, and then is solved
The angle of player's head rotation is exactly angle that scene is rotated and leads to user in virtual reality scenario in the related technology
The poor technical problem of Experience Degree.
It should be noted that the angle between line of sight direction and initial direction of visual lines is the head rotation of target object
Angle, but it is not limited to this.It should be noted that initial direction of visual lines is located in above-mentioned default range of visibility.
It should be noted that a critical direction of visual lines can be set, above-mentioned default range of visibility can be critical by this
Direction of visual lines and above-mentioned initial direction of visual lines determine that but it is not limited to this.
In one embodiment of the invention, above-mentioned determining module 64 can be also used at least one of:Comparing knot
Fruit be line of sight direction without departing from default range of visibility in the case where, determine control mode be virtual reality scenario rotation speed
It spends identical as the head rotation speed of target object;It is the case where line of sight direction exceeds default range of visibility in comparison result
Under, determine that control mode is greater than the head rotation speed of target object for the velocity of rotation of virtual reality scenario.
It should be noted that the head rotation speed that the velocity of rotation of virtual reality scenario is greater than target object may include
At least one of:In the case where the head of target object stops operating, virtual reality scenario is continued to rotate;In target object
Head continue to rotate in the case where, the velocity of rotation of virtual reality scenario is the multiple of the head rotation speed of target object.
In one embodiment of the invention, above-mentioned apparatus can also include:Module is issued, is connected with above-mentioned determining module 64
It connects, for issuing prompt information, wherein prompt information is for prompting line of sight direction to exceed default range of visibility.It is i.e. logical
It crosses prompt ownership goal direction of visual lines and has exceeded default range of visibility, and then may be implemented to determine that needs are continued to rotate by user
Scene is watched on head, is alleviated the burden of user, is preferably increased the experience sense of user.
It should be noted that above-mentioned apparatus can also include:Detection module is connect, for detecting with above-mentioned sending module
Line of sight direction;Determining module 64 is connect with above-mentioned detection module, for detecting line of sight direction in the predetermined time
In the case where not changing inside, determine that the head of target object stops operating.
It should be noted that in some cases user need compare concern scene in some part scene, thus
In one embodiment of the present of invention, above-mentioned apparatus can also include:Receiving module is connect, for connecing with above-mentioned control module 66
Receive specified signal, wherein the specified signal is that target object executes signal caused by required movement;The specified signal is used
Stop virtual reality scenario rotation in specified location in instruction.For example, being used when virtual reality scenario turns to some position
Family (target object) can control above-mentioned virtual reality scenario by operations such as push-button controllers and stop wanting the position seen to user
(i.e. above-mentioned designated position).
It should be noted that above-mentioned apparatus can be located in VR equipment, but it is not limited to this.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1 obtains default range of visibility and the line of sight direction after the head of target object rotates;
S2 determines the controlling party of virtual reality scenario according to the comparison result in line of sight direction and default range of visibility
Formula;
S3 is rotated according to determining control mode control virtual reality scenario.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memory
There is computer program, which is arranged to through operation computer program to execute in any of the above-described embodiment of the method
Step.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission device
It is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains default range of visibility and the line of sight direction after the head of target object rotates;
S2 determines the controlling party of virtual reality scenario according to the comparison result in line of sight direction and default range of visibility
Formula;
S3 is rotated according to determining control mode control virtual reality scenario.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method of control virtual reality scenario rotation, which is characterized in that including:
Obtain default range of visibility and the line of sight direction after the head of target object rotates;
The controlling party of virtual reality scenario is determined according to the comparison result in the line of sight direction and the default range of visibility
Formula;
The virtual reality scenario is controlled according to the determining control mode to be rotated.
2. the method according to claim 1, wherein according to the line of sight direction and default range of visibility
Comparison result determines that the control mode of virtual reality scenario includes at least one of:
The comparison result be the line of sight direction without departing from the default range of visibility in the case where, the controlling party
Formula is that the velocity of rotation of the virtual reality scenario is identical as the head rotation speed of the target object;
In the case where the comparison result is that the line of sight direction exceeds the default range of visibility, the control mode
It is greater than the head rotation speed of the target object for the velocity of rotation of the virtual reality scenario.
3. according to the method described in claim 2, it is characterized in that, the velocity of rotation of the virtual reality scenario is greater than the mesh
The head rotation speed for marking object includes at least one of:
In the case where the head of the target object stops operating, the virtual reality scenario is continued to rotate;
In the case where the head of the target object continues to rotate, the velocity of rotation of the virtual reality scenario is the target
The multiple of the head rotation speed of object.
4. according to the method described in claim 2, it is characterized in that, being that the line of sight direction exceeds in the comparison result
In the case where the default range of visibility, the method also includes:
Issue prompt information, wherein the prompt information is for prompting the line of sight direction to exceed the default sight
Range.
5. according to the method described in claim 4, it is characterized in that, after issuing prompt information, the method also includes:
Detect the line of sight direction;
In the case where detecting that the line of sight direction does not change in the given time, the target object is determined
Head stops operating.
6. a kind of device of control virtual reality scenario rotation, which is characterized in that including:
Module is obtained, for obtaining default range of visibility and the line of sight side after the head of target object rotates
To;
Determining module, for determining virtual reality scenario according to the comparison result of the line of sight direction and default range of visibility
Control mode;
Control module is rotated for controlling the virtual reality scenario according to the determining control mode.
7. device according to claim 6, which is characterized in that the determining module is also used at least one of:
The comparison result be the line of sight direction without departing from the default range of visibility in the case where, determine the control
Mode processed is that the velocity of rotation of the virtual reality scenario is identical as the head rotation speed of the target object;
In the case where the comparison result is that the line of sight direction exceeds the default range of visibility, the control is determined
Mode is that the velocity of rotation of the virtual reality scenario is greater than the head rotation speed of the target object.
8. device according to claim 7, which is characterized in that the velocity of rotation of the virtual reality scenario is greater than the mesh
The head rotation speed for marking object includes at least one of:
In the case where the head of the target object stops operating, the virtual reality scenario is continued to rotate;
In the case where the head of the target object continues to rotate, the velocity of rotation of the virtual reality scenario is the target
The multiple of the head rotation speed of object.
9. a kind of storage medium, which is characterized in that be stored with computer program in the storage medium, wherein the computer
Program is arranged to execute method described in any one of claim 1 to 5 when operation.
10. a kind of electronic device, including memory and processor, which is characterized in that be stored with computer journey in the memory
Sequence, the processor are arranged to run the computer program to execute side described in any one of claim 1 to 5
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810643679.4A CN108905202A (en) | 2018-06-21 | 2018-06-21 | Control virtual reality scenario rotating method and device, storage medium, electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810643679.4A CN108905202A (en) | 2018-06-21 | 2018-06-21 | Control virtual reality scenario rotating method and device, storage medium, electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108905202A true CN108905202A (en) | 2018-11-30 |
Family
ID=64422179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810643679.4A Pending CN108905202A (en) | 2018-06-21 | 2018-06-21 | Control virtual reality scenario rotating method and device, storage medium, electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108905202A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840019A (en) * | 2019-02-22 | 2019-06-04 | 网易(杭州)网络有限公司 | Control method, device and the storage medium of virtual portrait |
CN113126760A (en) * | 2021-04-13 | 2021-07-16 | 清华大学 | Head redirection method and device for sitting type virtual reality scene |
CN113448437A (en) * | 2021-06-19 | 2021-09-28 | 刘芮伶 | Virtual reality image display method based on head-mounted display device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002159019A (en) * | 2000-11-16 | 2002-05-31 | Canon Inc | Display control device, imaging position estimating device, display system, image pickup system, image positioning method, imaging position estimating method, and recording medium recorded with process program |
CN104238983A (en) * | 2014-08-05 | 2014-12-24 | 联想(北京)有限公司 | Control method and electronic equipment |
CN105898138A (en) * | 2015-12-18 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Panoramic video play method and device |
CN106502427A (en) * | 2016-12-15 | 2017-03-15 | 北京国承万通信息科技有限公司 | Virtual reality system and its scene rendering method |
CN107754307A (en) * | 2017-12-05 | 2018-03-06 | 野草莓影业(北京)有限公司 | Control method, control device and the swiveling seat of swiveling seat |
-
2018
- 2018-06-21 CN CN201810643679.4A patent/CN108905202A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002159019A (en) * | 2000-11-16 | 2002-05-31 | Canon Inc | Display control device, imaging position estimating device, display system, image pickup system, image positioning method, imaging position estimating method, and recording medium recorded with process program |
CN104238983A (en) * | 2014-08-05 | 2014-12-24 | 联想(北京)有限公司 | Control method and electronic equipment |
CN105898138A (en) * | 2015-12-18 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Panoramic video play method and device |
CN106502427A (en) * | 2016-12-15 | 2017-03-15 | 北京国承万通信息科技有限公司 | Virtual reality system and its scene rendering method |
CN107754307A (en) * | 2017-12-05 | 2018-03-06 | 野草莓影业(北京)有限公司 | Control method, control device and the swiveling seat of swiveling seat |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109840019A (en) * | 2019-02-22 | 2019-06-04 | 网易(杭州)网络有限公司 | Control method, device and the storage medium of virtual portrait |
CN113126760A (en) * | 2021-04-13 | 2021-07-16 | 清华大学 | Head redirection method and device for sitting type virtual reality scene |
CN113126760B (en) * | 2021-04-13 | 2022-07-22 | 清华大学 | Head redirection method and device for sitting type virtual reality scene |
CN113448437A (en) * | 2021-06-19 | 2021-09-28 | 刘芮伶 | Virtual reality image display method based on head-mounted display device and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108905202A (en) | Control virtual reality scenario rotating method and device, storage medium, electronic device | |
CN110227254B (en) | Visual angle switching control method and device, storage medium and electronic device | |
US20200298123A1 (en) | Item display method and apparatus in virtual scene, and storage medium | |
CN106422332B (en) | Artificial intelligence operating method and device applied to game | |
CN109718548B (en) | The method and device of virtual lens control in a kind of game | |
JP2016174927A5 (en) | ||
CN109758764A (en) | A kind of method and device of game skill control, electronic equipment, storage medium | |
CN109821238A (en) | Method of sight and device in game, storage medium, electronic device | |
CN108771866A (en) | Virtual object control method in virtual reality and device | |
US11219833B2 (en) | Information synchronization method and apparatus, and storage medium | |
KR20210116628A (en) | Virtual object control method and apparatus, storage medium, and electronic device | |
CN108700891A (en) | Control method, unmanned plane and the machine readable storage medium of unmanned plane | |
CN111330268A (en) | Control method and device of virtual prop, storage medium and electronic device | |
CN109460172A (en) | Object displaying method and device, storage medium and electronic device | |
CN111249731A (en) | Virtual item control method and device, storage medium and electronic device | |
CN108289246A (en) | Data processing method, device, storage medium and electronic device | |
CN108261762B (en) | Method of data synchronization and device, storage medium and electronic device | |
CN109743385A (en) | Method for Calculate Mileage, device and storage medium | |
CN110433489A (en) | Control method, device, storage medium and the electronic device aimed in game | |
CN110148291A (en) | Control interface display methods, device, household appliance and remote control equipment | |
CN105680868B (en) | The method and apparatus of compressed stream data | |
CN110124309A (en) | Virtual role control method and device, storage medium and electronic device | |
CN111258489B (en) | Operation method and device of virtual prop and storage medium | |
CN107358087B (en) | The information storage means and device of Bluetooth chip for Bluetooth identities authentication device | |
CN108837508A (en) | The method and apparatus of carrier are controlled in game |
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 |
Application publication date: 20181130 |
|
RJ01 | Rejection of invention patent application after publication |