CN111111173A - Information display method, device and storage medium for virtual reality game - Google Patents

Information display method, device and storage medium for virtual reality game Download PDF

Info

Publication number
CN111111173A
CN111111173A CN201911221986.4A CN201911221986A CN111111173A CN 111111173 A CN111111173 A CN 111111173A CN 201911221986 A CN201911221986 A CN 201911221986A CN 111111173 A CN111111173 A CN 111111173A
Authority
CN
China
Prior art keywords
target
virtual reality
information interface
target information
scene
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
CN201911221986.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 CN201911221986.4A priority Critical patent/CN111111173A/en
Publication of CN111111173A publication Critical patent/CN111111173A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/843Special adaptations for executing a specific game genre or game mode involving concurrently two or more players on the same game device, e.g. requiring the use of a plurality of controllers or of a specific view of game data for each player
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/30Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device
    • A63F2300/303Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display
    • A63F2300/306Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by output arrangements for receiving control signals generated by the game device for displaying additional data, e.g. simulating a Head Up Display for displaying a marker associated to an object or location in the game field
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/60Methods for processing data by generating or executing the game program
    • A63F2300/64Methods for processing data by generating or executing the game program for computing dynamical parameters of game objects, e.g. motion determination or computation of frictional forces for a virtual car
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/60Methods for processing data by generating or executing the game program
    • A63F2300/69Involving elements of the real world in the game world, e.g. measurement in live races, real video
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/80Features 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/8082Virtual reality
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/80Features 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/8088Features 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 involving concurrently several players in a non-networked game, e.g. on the same game console

Landscapes

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

Abstract

The invention discloses an information display method, an information display device and a storage medium for a virtual reality game. Providing a virtual reality game picture through a virtual reality device, wherein the virtual reality game picture comprises all or part of a three-dimensional virtual reality game scene and a virtual object, and the method comprises the following steps: displaying a target information interface of a virtual object in a three-dimensional virtual reality game scene; acquiring a target distance between a target information interface and a target game viewpoint in a three-dimensional virtual reality game scene; and adjusting the size of the target information interface according to the target distance. By the method and the device, the technical effect of effectively realizing the display of the information interface is achieved.

Description

Information display method, device and storage medium for virtual reality game
Technical Field
The invention relates to the field of data processing, in particular to an information display method, an information display device and a storage medium for a virtual reality game.
Background
Currently, in some User Interfaces (UI), an information Interface needs to be displayed along with the position of a virtual object.
In current Personal Computer (PC) games, the position of a virtual object is generally mapped to a corresponding position on a screen of a PC, and then the information interface is displayed at the corresponding position on the screen of the PC, that is, the information interface is still displayed in a two-dimensional (2D) screen space.
The above method works well on a PC, but in Virtual Reality (VR for short), if an information interface is simply displayed on two screens corresponding to both eyes due to a binocular effect, the information interface seen by human eyes is displayed as a ghost image, causing vertigo, and the information interface is attached in front of the eyes of a player, not in space, corresponding to a Virtual object, so that the display of the information interface cannot be effectively realized.
Aiming at the technical problem that the display of an information interface cannot be effectively realized in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide an information display method, an information display device and a storage medium of a virtual reality game, so as to at least solve the technical problem of effectively realizing the display of an information interface.
In order to achieve the above object, according to one aspect of the present invention, there is provided an information display method of a virtual reality game. Providing a virtual reality game screen by a virtual reality device, the virtual reality game screen including all or part of a three-dimensional virtual reality game scene and a virtual object, the method may include: displaying a target information interface of a virtual object in a three-dimensional virtual reality game scene; acquiring a target distance between a target information interface and a target game viewpoint in a three-dimensional virtual reality game scene; and adjusting the size of the target information interface according to the target distance.
Optionally, the method comprises: and adjusting the moving position of the target information interface according to the moving variation of the virtual object in the three-dimensional virtual reality game scene, so that the target information interface and the virtual object move synchronously in the three-dimensional virtual reality game scene.
Optionally, the displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene includes: and displaying the target information interface at a first position in the three-dimensional virtual reality game scene according to a first target orientation, wherein the first target orientation points to the target game viewpoint.
Optionally, before the target information interface is displayed at the first position in the three-dimensional virtual reality game scene according to the first target orientation, the method further comprises: determining that the original orientation of the target information interface does not point to the target game viewpoint, and acquiring a second position of the target game viewpoint in the three-dimensional virtual reality game scene; obtaining a connection between a first location and a second location; and determining the orientation of the first target according to the connecting line.
Optionally, the displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene includes: and displaying a target information interface at a first position in the three-dimensional virtual reality game scene according to a second target orientation, wherein the second target orientation is parallel and opposite to the orientation corresponding to the current virtual reality game picture, and the target information interface is parallel to the current virtual reality game picture.
Optionally, the target distance and an original size of the target information interface presented by the target game viewpoint are in an inverse proportional relationship, and the adjusting the size of the target information interface according to the target distance includes: determining a target proportion according to the target distance, and adjusting the original size according to the target proportion to obtain a target size; and displaying the target information interface in a target size.
Optionally, determining the target ratio according to the target distance includes: and determining the product of the distance and the preset proportion as the target proportion.
In order to achieve the above object, according to another aspect of the present invention, there is also provided a display method of an information interface. Providing a virtual reality picture through virtual reality equipment, wherein the virtual reality picture comprises a whole or partial three-dimensional virtual reality scene and a virtual object, and the method comprises the following steps: displaying a target information interface of a virtual object in a three-dimensional virtual reality scene; acquiring a target distance between a target information interface and a target viewpoint in a three-dimensional virtual reality scene; and adjusting the size of the target information interface according to the target distance.
Optionally, the method further comprises: and adjusting the moving position of the target information interface according to the moving variation of the virtual object in the three-dimensional virtual reality scene so as to enable the target information interface and the virtual object to move synchronously in the three-dimensional virtual reality scene.
Optionally, the displaying a target information interface of the virtual object in the three-dimensional virtual reality scene includes: and displaying a target information interface at a first position in the three-dimensional virtual reality scene according to a first target orientation, wherein the first target orientation points to the virtual reality equipment.
Optionally, before the first position in the virtual reality scene displays the target information interface according to the first target orientation, the method further includes: if the original orientation of the target information interface is determined not to point to the virtual reality equipment, acquiring a second position of the virtual reality equipment in the three-dimensional virtual reality scene; obtaining a connection between a first location and a second location; and determining the orientation of the first target according to the connecting line.
Optionally, the displaying a target information interface of the virtual object in the three-dimensional virtual reality scene includes: and displaying a target information interface at a first position in the three-dimensional virtual reality scene according to a second target orientation, wherein the second target orientation is parallel and opposite to the orientation corresponding to the current virtual reality game picture, and the target information interface is parallel to the current virtual reality game picture.
Optionally, the target distance and an original size of the target information interface presented through the target viewpoint are in an inverse proportional relationship, and the adjusting the size of the target information interface according to the target distance includes: and determining a target proportion according to the target distance, and adjusting the original size according to the target proportion to obtain the target size.
According to an aspect of the present invention, there is provided an information display apparatus for a virtual reality game. Virtual reality game pictures are provided through virtual reality equipment, and the virtual reality game pictures comprise all or part of three-dimensional virtual reality game scenes and virtual objects. The device includes: the system comprises a first display unit, a second display unit and a third display unit, wherein the first display unit is used for displaying a target information interface of a virtual object in a three-dimensional virtual reality game scene; the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring a target distance between a target information interface and a target game viewpoint in a three-dimensional virtual reality game scene; and the first adjusting unit is used for adjusting the size of the target information interface according to the target distance.
According to one aspect of the invention, another information interface display device is also provided. The device includes: the second display unit is used for displaying a target information interface in the virtual reality scene; the second acquisition unit is used for acquiring the movement information of a virtual object in the virtual reality scene, wherein the virtual object is associated with the target information interface; and the second adjusting unit is used for controlling the target information interface to move along with the virtual object according to the movement information, wherein the size of the target information interface presented in the virtual reality equipment is kept as the target size in the moving process.
According to an aspect of the present invention, a storage medium is provided. The storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of an embodiment of the invention when executed.
According to one aspect of the present invention, an electronic device is provided. The electronic device includes a memory and a processor. The memory has stored therein a computer program and the processor is arranged to execute the computer program to perform the method of an embodiment of the invention.
According to the invention, a virtual reality game picture is provided through a virtual reality device, the virtual reality game picture comprises all or part of a three-dimensional virtual reality game scene and a virtual object, and a target information interface for displaying the virtual object in the three-dimensional virtual reality game scene is adopted; acquiring a target distance between a target information interface and a target game viewpoint in a three-dimensional virtual reality game scene; and adjusting the size of the target information interface according to the target distance. That is to say, in the three-dimensional virtual reality game scene, even if the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene changes, the size of the target information interface presented in the target game viewpoint can be flexibly adjusted according to the target distance, so that the problem that the target information interface seen by human eyes is displayed as a ghost image due to the fact that the target information interface is only displayed at the corresponding position of the binocular screen is avoided, the problem that the target information interface is attached to the front of the eyes is also avoided, the technical problem that the display of the information interface cannot be effectively realized is solved, and the technical effect of effectively realizing the display of the information interface is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a block diagram of a hardware configuration of a mobile terminal of an information display method of a virtual reality game according to an embodiment of the present invention;
fig. 2 is a flowchart of an information display method of a virtual reality game according to an embodiment of the present invention;
fig. 3 is a flowchart of an information display method of virtual reality according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an information interface and virtual objects that remain synchronized as they move in accordance with an embodiment of the present invention;
fig. 5 is a schematic diagram of determining a connection direction between an information interface and a VR device according to an embodiment of the invention;
FIG. 6 is a schematic view of an orientation of an information interface according to an embodiment of the invention;
FIG. 7 is a schematic diagram illustrating an orientation rotation of an information interface to a link direction according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of an elevational view of an information interface deflected according to an embodiment of the invention;
FIG. 9 is a schematic top view of an information interface deflected according to an embodiment of the present invention;
FIG. 10 is a schematic top view of an information interface parallel to a PC screen according to an embodiment of the present invention;
FIG. 11 is a schematic view of an information interface oriented in a direction parallel and opposite to the orientation of a PC in accordance with an embodiment of the present invention;
FIG. 12 is a schematic front view of an information interface parallel to a screen according to an embodiment of the present invention;
FIG. 13 is a schematic diagram of a life value bar showing the top of the head of a virtual object in a three-dimensional virtual reality game scene, in accordance with an embodiment of the present invention;
FIG. 14 is a schematic view of an information display device of a virtual reality game according to an embodiment of the present invention; and
fig. 15 is a schematic diagram of an information display apparatus for virtual reality according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The method provided by the embodiment of the application can be executed in a mobile terminal, a computer terminal or a similar operation device. Taking the example of running on a mobile terminal, fig. 1 is a hardware structure block diagram of the mobile terminal of the information display method of the virtual reality game according to the embodiment of the present invention. As shown in fig. 1, the mobile terminal may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 can be used for storing computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a data processing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 202, which may be connected to the mobile terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, an information display method of a virtual reality game running on the mobile terminal is provided, in which a virtual reality game picture is provided through a virtual reality device, the virtual reality device can be worn by a user (player), for example, virtual reality glasses, for the player to experience a three-dimensional virtual reality game scene, the three-dimensional virtual reality game scene is a three-dimensional virtual game world generated by computer simulation, and simulation of senses such as vision is provided for the user, so that the user feels as if the user is in a game environment, and can observe game objects in the three-dimensional space in real time and without limitation, wherein the virtual reality game picture can include all or part of the three-dimensional virtual reality game scene and a virtual object, and the virtual object can be an object for competing with a virtual game character controlled by the user, An environment object, a Non-Player Character (NPC) or the like in the three-dimensional virtual reality game scene, that is, the virtual object of this embodiment is not controlled by the current user. The object of the virtual game role controlled by the user to play against, that is, the character of the enemy, and the environment object in the three-dimensional virtual game scene may be a house, a tree, a stone, etc., without any limitation.
Fig. 2 is a flowchart of an information display method of a virtual reality game according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
and step S202, displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene.
In the technical solution provided in step S202 of the present invention, the three-dimensional virtual reality game scene is suitable for a three-dimensional virtual space of a game application, and compared to the information interface displayed on the two-dimensional screen by the PC, the embodiment displays a target information interface (UI) of a virtual object in the three-dimensional virtual reality game scene, where the target information interface can be used to describe current attribute information of the virtual object in a current game, such as blood volume, life value, level, etc. of an enemy character, position information of an environmental object in the three-dimensional virtual reality game scene, attribute information of an NPC, etc., and is not limited herein. Wherein, the virtual object is also displayed in the three-dimensional virtual reality game scene.
The target information interface of this embodiment is displayed at a target position relative to the virtual object in the three-dimensional virtual reality game scene to correspond to the virtual object, thereby clarifying the relationship between the target information interface and the virtual object.
Step S204, acquiring a target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene.
In the technical solution provided in step S204 of the present invention, for the three-dimensional virtual reality game scene, after the target information interface of the virtual object is displayed in the three-dimensional virtual reality game scene, the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene may be obtained. The target game viewpoint may be two eyes of a player participating in the game, and the target distance is also the length of a connection line between the target information interface and the target game viewpoint.
Step S206, adjusting the size of the target information interface according to the target distance.
In the technical solution provided by step S206 of the present invention, after the target distance in the three-dimensional virtual reality game scene between the target information interface and the target game viewpoint is obtained, the size of the target information interface is adjusted according to the target distance.
In this embodiment, the display position of the target information interface in the three-dimensional virtual reality game scene is changed, and the display position of the target information interface can be controlled to move along with the display position of the virtual object.
For example, in a three-dimensional virtual reality game scene, the target information interface is a life value bar at the top of the virtual object, and the size of the life value bar is always the same no matter how far the virtual object is positioned at the left, middle or right of the visual field of the target game viewpoint or the position of the life value bar from the target game viewpoint.
When the target information interface is controlled to move along with the virtual object, because for the target game viewpoint, the size of the object presented in the target game viewpoint is inversely proportional to the distance between the object and the target game viewpoint, that is, the display principle of the size is generally known, the embodiment can control the size of the target information interface to be the target size according to the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene, that is, the size of the target information interface is kept unchanged according to the target distance, so that the size of the target information interface is always kept unchanged in the eyes of the player, and the size of the target information interface can be kept unchanged along with the change of the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene, and the technical problem that the display of the information interface cannot be effectively realized is solved, and the technical effect of effectively realizing the display of the information interface is further achieved.
The above method of this embodiment is further explained below.
As an optional implementation, the method further comprises: and adjusting the moving position of the target information interface according to the moving variation of the virtual object in the three-dimensional virtual reality game scene, so that the target information interface and the virtual object move synchronously in the three-dimensional virtual reality game scene.
In this embodiment, when the control target information interface moves along with the virtual object, a movement variation of the virtual object in the three-dimensional virtual reality game scene may be obtained first, where the movement variation may be a variation of a display position of the virtual object in the three-dimensional virtual reality game scene, and the display position of the virtual object in the three-dimensional virtual reality game scene may be represented by three-dimensional coordinates of the three-dimensional virtual reality game scene. After the movement variation of the virtual object in the three-dimensional virtual reality game scene is obtained, the control target information interface moves according to the movement variation of the virtual object, which may be the same as the movement variation of the control target information interface, so that the target information interface and the virtual object move synchronously in the three-dimensional virtual reality game scene, and the three-dimensional coordinates of the target information interface in the three-dimensional virtual reality game scene and the three-dimensional coordinates of the virtual object in the three-dimensional virtual reality game scene keep changing synchronously.
Alternatively, the synchronization of the target information interface and the virtual object in the three-dimensional virtual reality game scene in this embodiment does not mean that the change of the three-dimensional coordinates of the target information interface and the change of the three-dimensional coordinates of the virtual object must always be consistent, but when the three-dimensional coordinates of the virtual object change, the three-dimensional coordinates of the target information interface do the same change synchronously.
As an alternative implementation, in step S202, displaying a target information interface of a virtual object in a three-dimensional virtual reality game scene includes: and displaying the target information interface at a first position in the three-dimensional virtual reality game scene according to a first target orientation, wherein the first target orientation points to the target game viewpoint.
In this embodiment, determining that the target information interface is currently displayed at the first position in the three-dimensional virtual reality game scene may control the target information interface displayed at the first position to be directed toward the target game viewpoint, that is, control the target information interface to be directed (looked at) the player. The orientation of the target information interface, that is, the direction of the line of sight of the target information interface, may be a Z-axis (or may be another axis, for example, an X-axis or a Y-axis) of a coordinate system of the target information interface.
Optionally, in this embodiment, a position of the player in the three-dimensional virtual reality game scene is determined first, a midpoint of a line connecting two eyes of the player may be determined as the target game viewpoint, a direction of the target information interface toward the target game viewpoint is determined as a first target orientation, and the target information interface may be rotated according to the first orientation until the target information interface faces the target game viewpoint.
As an optional implementation, before the displaying the target information interface at the first position in the three-dimensional virtual reality game scene according to the first target orientation, the method further includes: determining that the original orientation of the target information interface does not point to the target game viewpoint, and acquiring a second position of the target game viewpoint in the three-dimensional virtual reality game scene; obtaining a connection between a first location and a second location; and determining the orientation of the first target according to the connecting line.
In this embodiment, before the first position in the three-dimensional virtual reality game scene displays the target information interface according to the first target orientation, an original orientation of the target information interface may be determined, where the original orientation may be a Z-axis of a coordinate system of the target information interface in an initial state, and then it is determined whether the original orientation of the target information interface points to the target game viewpoint, and if it is determined that the original orientation of the target information interface does not point to the target game viewpoint, a second position currently displayed by the target game viewpoint in the three-dimensional virtual reality game scene may be determined first, then a connection line between the first position currently displayed by the target information interface and the second position is obtained, and the first target orientation is determined according to the connection line.
Optionally, when the first target orientation is determined according to the connection line, an included angle between the connection line and the original orientation may be obtained first, then the original orientation is rotated according to the included angle, so as to obtain the first orientation, and then the target information interface is displayed at a first position in the three-dimensional virtual reality game scene according to the first target orientation, so that the target information interface points to the target game viewpoint and faces the player.
As an alternative implementation, in step S202, displaying a target information interface of a virtual object in a three-dimensional virtual reality game scene includes: and displaying a target information interface at a first position in the three-dimensional virtual reality game scene according to a second target orientation, wherein the second target orientation is parallel and opposite to the orientation corresponding to the current virtual reality game picture, and the target information interface is parallel to the current virtual reality game picture.
In this embodiment, the three-dimensional virtual reality game scene may further be compatible with a target terminal, where the target terminal may be a PC, the PC has a two-dimensional screen, and a graphical user interface is displayed on the two-dimensional screen, where the graphical user interface may include a picture associated with the target information interface, and optionally, the picture is a game picture associated with the target information interface, and the current virtual reality game picture may include a game picture associated with the target information interface.
In this embodiment, since the screen of the target terminal is a two-dimensional plane, if the orientation of the target information interface is still pointing to the target game viewpoint, the target information interface may be obliquely opposite to the screen of the target terminal, that is, the target information interface rotates a certain amount relative to the screen of the target terminal, and cannot be completely parallel to the screen of the target terminal, that is, the orientation of the second target is not parallel to and opposite to the orientation corresponding to the current virtual reality game screen, and the target information interface cannot be parallel to the current virtual reality game screen. Therefore, the embodiment needs to modify the algorithm for determining the orientation of the target information interface, and may determine the direction parallel to and opposite to the orientation corresponding to the current virtual reality game screen as a second target orientation of the target information interface, and make the target information interface parallel to the current virtual reality game screen, so that the target information interface is completely parallel to the screen of the target terminal, and further display the target information interface in the second target orientation at the first position in the three-dimensional virtual reality game scene.
As an optional implementation manner, the target distance is in an inverse proportional relationship with an original size of the target information interface presented by the target game viewpoint, and step S206, the adjusting the size of the target information interface according to the target distance includes: determining a target proportion according to the target distance, and adjusting the original size according to the target proportion to obtain a target size; and displaying the target information interface in a target size.
In this embodiment, the size initially presented by the target information interface through the target game viewpoint is an original size, and the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene is in an inverse proportional relationship with the original size, that is, when the target distance increases, the original size presented by the target information interface through the target game viewpoint decreases, and when the target distance decreases, the original size presented by the target information interface through the target game viewpoint increases, that is, the display principle of near-far is satisfied, so that when the size of the target information interface is controlled according to the target distance, the embodiment may first determine a corresponding target proportion according to the target distance and adjust the original size according to the target proportion, where the target proportion may be a zoom proportion, the method is used for zooming the original size, when the target distance is larger, the obtained target size is larger, and when the target distance is smaller, the obtained target size is smaller, so that the original size can be adjusted to the target size no matter how the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene is changed, and the size of the target information interface is not changed.
After the original size is adjusted through the target proportion to obtain the target size, the target information interface can be displayed in the target size, so that the size of the target information interface is kept unchanged in eyes of a player all the time, and the application requirement of the three-dimensional virtual reality game scene is met.
As an optional implementation, determining the target proportion according to the target distance includes: and determining the product of the target distance and the preset proportion as the target proportion.
In this embodiment, when the determination of the target proportion according to the target distance is implemented, a product between the target distance and a preset proportion may be obtained, and the product may be determined as the target proportion. The preset proportion is a certain preset fixed original proportion k, and if the distance between the target information interface and the target game viewpoint is d, the target proportion s of the current target information interface is kd.
In this embodiment, a target information interface is employed that displays virtual objects in a three-dimensional virtual reality game scene; acquiring a target distance between a target information interface and a target game viewpoint in a three-dimensional virtual reality game scene; and adjusting the size of the target information interface according to the target distance. That is to say, in the three-dimensional virtual reality game scene, the invention realizes that the target information interface moves along with the virtual object, and even if the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene changes, the size of the target information interface presented in the target game viewpoint can be flexibly adjusted according to the target distance, for example, the size of the target information interface is kept unchanged, thereby avoiding that the target information interface is only respectively displayed at the corresponding positions of the binocular screen, so that the target information interface seen by human eyes can be displayed as a ghost image, further avoiding that the target information interface is attached in front of the eyes, solving the technical problem that the display of the information interface cannot be effectively realized, and further achieving the technical effect of effectively realizing the display of the information interface.
The embodiment of the invention also provides another virtual reality information method, which provides a virtual reality picture through virtual reality equipment, wherein the virtual reality picture comprises all or part of a three-dimensional virtual reality scene and a virtual object. The three-dimensional virtual reality scene can be any scene realized based on a virtual reality technology, the virtual object can be any object which is not controlled by a current user in the three-dimensional virtual reality scene, the three-dimensional virtual reality scene is a virtual world of a three-dimensional space generated by computer simulation, simulation of senses of the user about vision and the like is provided, the user feels like the scene, and things in the three-dimensional space can be observed in real time without limitation, wherein the virtual reality game picture can comprise all or part of the three-dimensional virtual reality game scene and the virtual object, and the virtual object is not controlled by the current user.
Fig. 3 is a flowchart of an information display method of virtual reality according to an embodiment of the present invention. As illustrated in fig. 3, the method may include the steps of:
and step S302, displaying a target information interface of the virtual object in the three-dimensional virtual reality scene.
In the technical solution provided by step S302 of the present invention, the three-dimensional virtual reality scene is suitable for a three-dimensional virtual space, and compared with the target information interface displayed on the two-dimensional screen by the PC, the target information interface is displayed in the three-dimensional virtual reality scene in the embodiment.
The virtual object of this embodiment is associated with a target information interface, and the target information interface may be used to describe current attribute information of the virtual object, to describe location information of an environmental object in a three-dimensional virtual reality scene, to describe attribute information of the NPC, and the like, which is not limited herein.
Step S304, acquiring a target distance between the target information interface and the target viewpoint in the three-dimensional virtual reality scene.
In the technical solution provided by step S304 of the present invention, the target information interface of this embodiment is displayed at a target position relative to the virtual object in the three-dimensional virtual reality scene to correspond to the virtual object, so as to clarify the relationship between the target information interface and the virtual object.
In this embodiment, after a target information interface of a virtual object is displayed in a three-dimensional virtual reality scene, a target distance between the target information interface and a target viewpoint in the three-dimensional virtual reality scene is obtained, where the target viewpoint may be both eyes of a user, and the target distance may be a length of a connection line between the target information interface and the target viewpoint.
Step S306, adjusting the size of the target information interface according to the target distance.
In the technical solution provided by step S306 of the present invention, after the size of the target information interface is adjusted according to the target distance, so that the size of the target information interface presented in the target viewpoint in the moving process can be maintained as the target size.
In this embodiment, the display position of the target information interface in the three-dimensional virtual reality scene is changed, and the display position of the target information interface can be controlled to move along with the display position of the virtual object.
According to the embodiment, the size of the target information interface is adjusted according to the target distance between the target information interface and the virtual reality equipment, and the size of the target information interface can be kept unchanged according to the target distance between the target information interface and the virtual reality equipment, so that the size of the target information interface is always unchanged in the eyes of a player, and therefore, the target information interface moves along with the virtual object in the three-dimensional virtual reality scene, the target information interface corresponds to the virtual object, the purpose of keeping the size of the target information interface unchanged is achieved, the phenomenon that the target information interface seen in the eyes of the player is displayed as a double image to cause dizziness is avoided, the technical problem that the display of the information interface cannot be effectively realized is solved, and the technical effect of effectively realizing the display of the information interface is achieved.
The above-described method of this embodiment is further described below.
As an optional implementation, the method further comprises: and adjusting the moving position of the target information interface according to the moving variation of the virtual object in the three-dimensional virtual reality scene so as to enable the target information interface and the virtual object to move synchronously in the three-dimensional virtual reality scene.
In this embodiment, it may be achieved that the target information interface moves along with the virtual object, and a movement variation of the virtual object may be obtained first, where the movement variation may be a variation of a display position of the virtual object in the three-dimensional virtual reality game scene, and the display position of the virtual object in the three-dimensional virtual reality scene may be represented by a three-dimensional coordinate in the three-dimensional virtual reality game scene. After the movement variation of the virtual object in the three-dimensional virtual reality scene is obtained, the control target information interface moves according to the movement variation of the virtual object, which may be the same as the movement variation of the control target information interface, so that the target information interface and the virtual object move synchronously in the three-dimensional virtual reality scene, and the three-dimensional coordinates of the target information interface in the three-dimensional virtual reality scene and the three-dimensional coordinates of the virtual object in the three-dimensional virtual reality scene keep changing synchronously.
As an optional implementation manner, in step S302, displaying a target information interface of a virtual object in a three-dimensional virtual reality scene includes: and displaying a target information interface at a first position in the three-dimensional virtual reality scene according to a first target orientation, wherein the first target orientation points to the virtual reality equipment.
In this embodiment, a first position at which the target information interface is currently displayed in the three-dimensional virtual reality scene is determined, and the target information interface displayed at the first position may be controlled toward the virtual reality device. The direction of the target information interface is also the direction of the line of sight of the target information interface. Optionally, in this embodiment, a position of the player in the three-dimensional virtual reality scene is determined first, a midpoint of a binocular line of the player may be determined as the position of the virtual reality device, a direction of the target information interface toward the virtual reality device is determined as a first target direction, and the target information interface may be controlled to rotate according to the first target direction until the target information interface faces the virtual reality device.
As an optional implementation, before the displaying the target information interface at the first position in the three-dimensional virtual reality scene with the first target orientation, the method further includes: if the original orientation of the target information interface is determined not to point to the virtual reality equipment, acquiring a second position of the virtual reality equipment in the three-dimensional virtual reality scene; obtaining a connection between a first location and a second location; and determining the orientation of the first target according to the connecting line.
In this embodiment, before the first position in the three-dimensional virtual reality scene displays the target information interface according to the first target orientation, an original orientation of the target information interface may be determined, where the original orientation may be a Z-axis of a coordinate system of the target information interface itself, and then it is determined whether the original orientation of the target information interface in an initial state points to the virtual reality device, and if it is determined that the original orientation of the target information interface does not point to the virtual reality device, a second position currently displayed by the virtual reality device in the three-dimensional virtual reality scene may be determined, a connection line between the first position currently displayed by the target information interface and the second position is obtained, and the first target orientation is determined according to the connection line.
Optionally, when the first target orientation is determined according to the connection line, an included angle between the connection line and the original orientation may be obtained first, and then the original orientation is controlled to rotate according to the included angle, so as to obtain the first orientation, that is, the direction of the Z axis of the target information interface, and then the target information interface is displayed at the first position in the three-dimensional virtual reality scene according to the first target orientation, so that the target information interface points to the virtual reality device.
As an optional implementation manner, in step S302, displaying a target information interface in a three-dimensional virtual reality scene includes: and displaying the target information interface at the first position in the three-dimensional virtual reality scene according to the orientation of a second target, wherein the orientation of the second target is parallel and opposite to the orientation of the graphical user interface of the target terminal corresponding to the current virtual reality game picture, and the target information interface is parallel to the current virtual reality game picture.
In this embodiment, the three-dimensional virtual reality scene may further be compatible with a target terminal, where the target terminal may be a PC having a two-dimensional screen, and a graphical user interface is displayed on the screen, where the graphical user interface includes a picture associated with the target information interface, optionally, the picture is a game picture associated with the target information interface, and the current virtual reality game picture may include a game picture associated with the target information interface.
In this embodiment, since the screen of the target terminal is a two-dimensional plane, if the orientation of the target information interface is still pointing to the virtual reality device, the target information interface may be diagonally directed to the screen of the target terminal. In the predetermined item, the target information interface is required to be aligned with the screen of the target terminal in parallel, so that the embodiment may determine a direction parallel to and opposite to the direction corresponding to the current virtual reality game screen as a second target direction of the target information interface, and make the target information interface parallel to the current virtual reality game screen, so as to display the target information interface at the first position in the three-dimensional virtual reality game scene according to the second target direction.
As an optional implementation manner, the target distance and an original size of the target information interface presented by the target viewpoint are in an inverse proportional relationship, and the size of the target information interface is adjusted according to the target distance, in step S306, the adjusting the size of the target information interface according to the target distance includes: and determining a target proportion according to the target distance, and adjusting the original size according to the target proportion to obtain the target size.
In this embodiment, the size initially presented by the target information interface through the virtual reality device is the original size, the target distance between the target information interface and the virtual reality device in the three-dimensional virtual reality scene is inversely proportional to the original size, thus when the embodiment realizes that the size of the target information interface is controlled to be the target size according to the target distance, the corresponding target proportion can be determined according to the target distance, and the original size can be adjusted according to the target proportion, the original size may be scaled, the larger the target size obtained when the target distance is larger, the smaller the target size obtained when the target distance is smaller, therefore, the original size can be adjusted to the target size no matter how the target distance between the target information interface and the target viewpoint in the three-dimensional virtual reality scene changes, so that the size of the target information interface is not changed.
After the original size is adjusted through the target proportion to obtain the target size, the target information interface can be displayed in the target size, so that the size of the target information interface is kept unchanged in eyes of a player all the time, and the application requirement of the three-dimensional virtual reality scene is met.
Through the steps S302 to S306, a virtual reality picture is provided through virtual reality equipment, the virtual reality picture comprises all or part of a three-dimensional virtual reality scene and a virtual object, and a target information interface of the virtual object is displayed in the three-dimensional virtual reality scene; acquiring a target distance between a target information interface and a target viewpoint in a three-dimensional virtual reality scene; and adjusting the size of the target information interface according to the target distance. That is to say, in the three-dimensional virtual reality scene, the invention realizes that the target information interface moves along with the virtual object, and even if the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene changes, the size of the target information interface presented in the game viewpoint can still be kept unchanged, thereby avoiding that the target information interface seen by human eyes can be displayed as ghost images only by respectively displaying the target information interface at the corresponding positions of the two-eye screen, further avoiding that the target information interface is stuck in front of the eyes, solving the technical problem that the display of the information interface can not be effectively realized, and further achieving the technical effect of effectively realizing the display of the information interface.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The technical solution of the present invention is described below with reference to a preferred embodiment, and specifically, a three-dimensional virtual reality scene is taken as a three-dimensional virtual reality game scene for example.
The embodiment provides a scheme for determining the display position and the turning direction of the information interface, so that the information interface can move along with the virtual object in VR and PC, the information interface faces the sight of the player, and the information interface always keeps unchanged in size even if the distance between the information interface and the target game viewpoint of the player changes.
The method of displaying the information interface in the three-dimensional virtual reality game scene and moving the coordinates along with the virtual object according to the embodiment will be described below.
In this embodiment, due to the binocular effect of the VR, if the information interfaces are simply displayed at the corresponding positions of the binocular screen of the VR, respectively, the information interfaces seen in the human eyes may be displayed as double images, causing a dizzy feeling to the user. And the player will clearly feel that the information interface is stuck in front of the eyes rather than corresponding to the virtual objects in the three-dimensional virtual reality game scene. Therefore, to realize the effect that the information interface moves along with the virtual object in the VR, the information interface can be displayed in the three-dimensional virtual reality game scene, and the three-dimensional coordinates of the information interface and the three-dimensional coordinates of the virtual object are synchronized.
FIG. 4 is a schematic diagram of an information interface and a virtual object that remain synchronized as they move in accordance with an embodiment of the present invention. As shown in fig. 4, when the information interface (UI) moves to the right by a distance D, the virtual object a moves by a distance D corresponding to the distance D, so that the information interface and the virtual object are synchronized when moving, and the purpose that the information interface moves along with the movement of the virtual object is achieved.
The method of the embodiment of turning the information interface to the direction of the player (i.e., the target game viewpoint, the direction of the VR device worn by the player) by the orientation algorithm will be described below.
In this embodiment, turning the information interface in a direction toward the player may be understood as having the information interface look at the player.
Fig. 5 is a schematic diagram for determining a connection direction between an information interface and a VR device according to an embodiment of the invention. As shown in FIG. 5, a location of the VR device is first determined, which may be the midpoint of the player's line of sight. And determining the position of the information interface corresponding to the virtual object A, and determining the connecting line direction of the two positions, as shown by a dotted line in FIG. 5.
FIG. 6 is a schematic view of an orientation of an information interface according to an embodiment of the invention. As shown in fig. 6, the orientation of the information interface may be taken in the Z-axis direction of the self-coordinate system, or may be taken in other coordinate axes, such as the X-axis and the Y-axis.
Fig. 7 is a schematic diagram illustrating an orientation of an information interface being rotated to a direction of a link according to an embodiment of the present invention. As shown in fig. 7, the information interface is rotated toward the Z-axis in the direction of the connection line between the information interface and the VR device, so that the information interface faces the VR device, and the information interface is allowed to look at the player.
In this embodiment, the position of the PC is the position of the camera, since the screen of the PC is a rectangular plane, which can be used to display the front virtual reality game picture, and the orientation scheme shown in fig. 7 is to orient the information interface to a point (VR device worn by the player), therefore, when the information interface is obliquely opposite to the screen of the PC and is not parallel to the screen of the PC, the information interface may have a certain deflection, as shown in fig. 8. Fig. 8 is a schematic front view of an information interface deflected according to an embodiment of the present invention, wherein the orientation of the information interface is not parallel to the orientation of the PC screen, and the information interface is not parallel to the current virtual reality game screen.
FIG. 9 is a schematic top view of an information interface deflected according to an embodiment of the invention. As shown in fig. 9, the information interface cannot be aligned perfectly parallel to the PC screen.
For the above problem, in some projects, the information interface is required to be parallel to the screen of the PC. FIG. 10 is a schematic top view of a PC screen with an information interface facing the PC in parallel according to an embodiment of the invention. As shown in fig. 10, the information interface is aligned perfectly parallel to the screen of the PC.
Therefore, in the above case, the orientation algorithm of the information interface needs to be modified to make the information interface not oriented toward the VR device, but oriented in a direction parallel and opposite to the orientation of the PC screen. FIG. 11 is a schematic diagram of an information interface oriented in a direction parallel and opposite to the orientation of a PC, according to an embodiment of the invention. As shown in fig. 11, the orientation of the PC is L1, L2 is parallel and opposite to the orientation of the PC, and the z-axis of the control information interface is rotated to L2.
Fig. 12 is a schematic front view of an information interface aligned parallel to a screen according to an embodiment of the present invention. As shown in fig. 12, after the Z-axis of the control information interface is rotated to L2, the information interface can be aligned with the screen.
The scaling of the information interface is adjusted by the scaling algorithm of the embodiment below so that the size of the information interface in the player's eye is always unchanged.
In this embodiment, the same object is present in the human eye in a size inversely proportional to its distance from the human eye (i.e., the so-called near-large-far-small display principle). The size of the information interface in the eyes of the player needs to be kept constant, and the object needs to be automatically zoomed according to the distance between the information interface and the eyes, that is, the larger the distance is, the larger the object is, and the smaller the distance is, the smaller the object is, so that the information interface in the eyes of the player can be kept constant.
The specific method is to set a certain fixed original proportion k, and if the distance from the information interface to the human eye is d, the scaling ratio s of the information interface is kd.
FIG. 13 is a schematic diagram of a life value bar showing the top of the head of a virtual object in a three-dimensional virtual reality game scene, according to an embodiment of the invention. As shown in fig. 13, in the three-dimensional virtual reality game scene, the virtual object a may be an enemy game character, and the information interface may be a life value bar at the top of the enemy game character, and the size of the life value bar is the same regardless of whether the life value bar is located at the left, middle, or right of the visual field along with the movement of the enemy game character, or how far the life value bar is from the position of the player, and the display of the virtual object follows the display principle of near-far, thereby realizing the effective display of the information interface in the three-dimensional virtual reality game scene.
The embodiment provides a scheme for realizing the effect that the information interface moves along with the virtual object, the information interface faces the sight of the player, and the size of the information interface is always kept unchanged when the player sees the information interface even if the distance between the information interface and the player changes, and the effect is realized in VR in a reasonable presentation mode, so that the technical problem that the display of the information interface cannot be effectively realized is solved, and the technical effect of effectively realizing the display of the information interface is further achieved.
The embodiment of the invention also provides a display device of the information interface, which provides a virtual reality game picture through virtual reality equipment, wherein the virtual reality game picture comprises all or part of three-dimensional virtual reality game scenes and virtual objects. It should be noted that the display device of the information interface in this embodiment can be used to execute the display method of the information interface shown in fig. 2 in the embodiment of the present invention.
Fig. 14 is a schematic diagram of an information display device of a virtual reality game according to an embodiment of the present invention. As shown in fig. 14, the information display device 140 of the virtual reality game includes: a first display unit 141, a first acquisition unit 142, and a first adjustment unit 143.
And a first display unit 141 for displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene.
The first obtaining unit 142 is configured to obtain a target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene.
The first adjusting unit 143 is configured to adjust a size of the target information interface according to the target distance.
According to the embodiment, in the three-dimensional virtual reality game scene, the target information interface moves along with the virtual object, and even if the target distance between the target information interface and the target game viewpoint in the three-dimensional virtual reality game scene changes, the size of the target information interface presented in the target game viewpoint can still be kept unchanged, so that the technical problem that the display of the information interface cannot be effectively realized due to the fact that the target information interface is only displayed at the corresponding positions of the two-eye screens respectively to cause that the target information interface seen by human eyes can be displayed as a ghost image is avoided, the target information interface is prevented from being attached in front of the eyes, and the technical effect of effectively realizing the display of the information interface is achieved.
The embodiment of the invention also provides a virtual reality information display device. It should be noted that the display device of the information interface in this embodiment can be used to execute the display method of the information interface shown in fig. 3 in the embodiment of the present invention.
Fig. 15 is a schematic diagram of an information display apparatus for virtual reality according to an embodiment of the present invention. As shown in fig. 15, the virtual reality information display device 150 includes: a second display unit 151, a second acquisition unit 152, and a second adjustment unit 153.
And a second display unit 151 for displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene.
And a second obtaining unit 152, configured to obtain a target distance in the three-dimensional virtual reality game scene between the target information interface and the target game viewpoint.
The second adjusting unit 153 is configured to adjust the size of the target information interface according to the target distance.
In the three-dimensional virtual reality scene, the target information interface moves along with the virtual object, and even if the target distance between the target information interface and the virtual reality worn by the player changes, the size of the target information interface presented in the virtual reality equipment can still be kept unchanged, so that the situation that the target information interface is only displayed at the corresponding positions of the binocular screens respectively to cause the target information interface seen by human eyes to be displayed as double images is avoided, the situation that the target information interface is attached in front of the eyes is also avoided, the technical problem that the display of the information interface cannot be effectively realized is solved, and the technical effect of effectively realizing the display of the information interface is further achieved.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. An information display method for a virtual reality game, wherein a virtual reality game picture is provided by a virtual reality device, the virtual reality game picture comprises all or part of a three-dimensional virtual reality game scene and a virtual object, the method comprising:
displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene;
acquiring a target distance between the target information interface and a target game viewpoint in the three-dimensional virtual reality game scene;
and adjusting the size of the target information interface according to the target distance.
2. The method of claim 1, further comprising:
and adjusting the moving position of the target information interface according to the moving variation of the virtual object in the three-dimensional virtual reality game scene, so that the target information interface and the virtual object move synchronously in the three-dimensional virtual reality game scene.
3. The method of claim 1, wherein displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene comprises:
and displaying the target information interface at a first position in the three-dimensional virtual reality game scene according to a first target orientation, wherein the first target orientation points to the target game viewpoint.
4. The method of claim 3, wherein prior to displaying the target information interface at a first position in the three-dimensional virtual reality game scene in a first target orientation, the method further comprises:
determining that the original orientation of the target information interface does not point to the target game viewpoint, and acquiring a second position of the target game viewpoint in the three-dimensional virtual reality game scene;
obtaining a connection between the first location and the second location;
and determining the first target orientation according to the connecting line.
5. The method of claim 1, wherein displaying a target information interface of the virtual object in a three-dimensional virtual reality game scene comprises:
and displaying the target information interface at a first position in the three-dimensional virtual reality game scene according to a second target orientation, wherein the second target orientation is parallel and opposite to the orientation corresponding to the current virtual reality game picture, and the target information interface is parallel to the current virtual reality game picture.
6. The method of claim 1, wherein the target distance is inversely proportional to an original size of the target information interface presented through the target game viewpoint, and wherein adjusting the size of the target information interface according to the target distance comprises:
and determining a target proportion according to the target distance, and adjusting the original size according to the target proportion to obtain the target size.
7. The method of claim 6, wherein determining a target ratio based on the target distance comprises:
and determining the product of the target distance and a preset proportion as the target proportion.
8. A virtual reality information display method is characterized in that a virtual reality picture is provided through virtual reality equipment, the virtual reality picture comprises a whole or partial three-dimensional virtual reality scene and a virtual object, and the method comprises the following steps:
displaying a target information interface of the virtual object in the three-dimensional virtual reality scene;
acquiring a target distance between the target information interface and a target viewpoint in the three-dimensional virtual reality scene;
and adjusting the size of the target information interface according to the target distance.
9. An information display apparatus for a virtual reality game, wherein a virtual reality game screen is provided by a virtual reality device, the virtual reality game screen including a full or partial three-dimensional virtual reality game scene and a virtual object, the apparatus comprising:
the first display unit is used for displaying a target information interface of the virtual object in the three-dimensional virtual reality game scene;
the first acquisition unit is used for acquiring a target distance between the target information interface and a target game viewpoint in the three-dimensional virtual reality game scene;
and the first adjusting unit is used for adjusting the size of the target information interface according to the target distance.
10. An information display apparatus of virtual reality, characterized in that a virtual reality picture is provided by a virtual reality device, the virtual reality picture including a full or partial three-dimensional virtual reality scene and a virtual object, the apparatus comprising:
the second display unit is used for displaying a target information interface of the virtual object in the three-dimensional virtual reality scene;
the second acquisition unit is used for acquiring a target distance between the target information interface and a target viewpoint in the three-dimensional virtual reality scene;
and the second adjusting unit is used for adjusting the size of the target information interface according to the target distance.
11. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 8 when executed.
12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 8.
CN201911221986.4A 2019-12-03 2019-12-03 Information display method, device and storage medium for virtual reality game Pending CN111111173A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911221986.4A CN111111173A (en) 2019-12-03 2019-12-03 Information display method, device and storage medium for virtual reality game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911221986.4A CN111111173A (en) 2019-12-03 2019-12-03 Information display method, device and storage medium for virtual reality game

Publications (1)

Publication Number Publication Date
CN111111173A true CN111111173A (en) 2020-05-08

Family

ID=70497416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911221986.4A Pending CN111111173A (en) 2019-12-03 2019-12-03 Information display method, device and storage medium for virtual reality game

Country Status (1)

Country Link
CN (1) CN111111173A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111481929A (en) * 2020-05-18 2020-08-04 网易(杭州)网络有限公司 Virtual character information display method and device, electronic equipment and computer medium
CN112604279A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Special effect display method and device
CN113934294A (en) * 2021-09-16 2022-01-14 珠海虎江科技有限公司 Virtual reality display device, conversation window display method thereof, and computer-readable storage medium
CN114415840A (en) * 2022-03-30 2022-04-29 北京华建云鼎科技股份公司 Virtual reality interaction system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109876438A (en) * 2019-02-20 2019-06-14 腾讯科技(深圳)有限公司 Method for displaying user interface, device, equipment and storage medium
CN110124310A (en) * 2019-05-20 2019-08-16 网易(杭州)网络有限公司 Virtual item information sharing method in game, device, equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109876438A (en) * 2019-02-20 2019-06-14 腾讯科技(深圳)有限公司 Method for displaying user interface, device, equipment and storage medium
CN110124310A (en) * 2019-05-20 2019-08-16 网易(杭州)网络有限公司 Virtual item information sharing method in game, device, equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111481929A (en) * 2020-05-18 2020-08-04 网易(杭州)网络有限公司 Virtual character information display method and device, electronic equipment and computer medium
CN111481929B (en) * 2020-05-18 2023-04-07 网易(杭州)网络有限公司 Virtual character information display method and device, electronic equipment and computer medium
CN112604279A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Special effect display method and device
CN113934294A (en) * 2021-09-16 2022-01-14 珠海虎江科技有限公司 Virtual reality display device, conversation window display method thereof, and computer-readable storage medium
CN114415840A (en) * 2022-03-30 2022-04-29 北京华建云鼎科技股份公司 Virtual reality interaction system

Similar Documents

Publication Publication Date Title
CN111111173A (en) Information display method, device and storage medium for virtual reality game
JP6058184B1 (en) Method and program for controlling head mounted display system
CN108830939B (en) Scene roaming experience method and experience system based on mixed reality
TWI669635B (en) Method and device for displaying barrage and non-volatile computer readable storage medium
US11282264B2 (en) Virtual reality content display method and apparatus
US10999412B2 (en) Sharing mediated reality content
CN106730815B (en) Somatosensory interaction method and system easy to realize
US10394319B2 (en) Method of displaying an image, and system therefor
CN108292489A (en) Information processing unit and image generating method
CN109598796A (en) Real scene is subjected to the method and apparatus that 3D merges display with dummy object
CN109510975B (en) Video image extraction method, device and system
CN104380347A (en) Video processing device, video processing method, and video processing system
CN110855972B (en) Image processing method, electronic device, and storage medium
US10885651B2 (en) Information processing method, wearable electronic device, and processing apparatus and system
CN109840946B (en) Virtual object display method and device
EP2565848A2 (en) Program, information processing apparatus, information processing system, and information processing method
CN114615513A (en) Video data generation method and device, electronic equipment and storage medium
WO2017062730A1 (en) Presentation of a virtual reality scene from a series of images
CN113918021A (en) 3D initiative stereo can interactive immersive virtual reality all-in-one
US20190295324A1 (en) Optimized content sharing interaction using a mixed reality environment
CN114746903B (en) Virtual, augmented and mixed reality systems and methods
US20230367386A1 (en) Systems and Methods for Providing Observation Scenes Corresponding to Extended Reality (XR) Content
CN116301379A (en) Holographic display method, device, system, equipment and storage medium for 3D scene image
CN113552947A (en) Virtual scene display method and device and computer readable storage medium
CN108881892B (en) Anti-dizziness method and system for desktop virtual reality system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508

RJ01 Rejection of invention patent application after publication