Game view display method and device, electronic equipment and storage medium

By responding to the visual field supplementary instruction of the virtual character in the electronic terminal, determining the visual angle information of the second virtual camera and displaying the auxiliary visual field, the problem of the virtual camera's visual field being blocked is solved and the gaming experience is improved.

CN118718394APending Publication Date: 2024-10-01NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410853982.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In competitive games from the third-person perspective, due to limitations such as virtual buildings, the field of view of the virtual camera is blocked, which affects the player's gaming experience and makes it difficult to understand changes in the game scene in a timely manner.

Method used

By responding to the visual field supplement instruction of the virtual character in the electronic terminal, the visual angle information of the second virtual camera is determined, and the auxiliary visual field is displayed in the graphical user interface to supplement the blocked part of the main visual field.

Benefits of technology

Ensure that players can understand the content in the game scene in a timely manner, improve the game experience, and avoid affecting decision-making due to occlusion of the field of view.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118718394A_ABST
    Figure CN118718394A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a game view display method and device, electronic equipment and a storage medium, and relates to the technical field of games, the method comprises the following steps: associating a first virtual camera with the position of a first virtual character in a game scene so as to control the movement of the first virtual camera according to the position change of the first virtual character; in response to a view supplement instruction for the first virtual character, determining view information of a second virtual camera corresponding to the view supplement instruction; an auxiliary view field corresponding to the view angle information is displayed, the auxiliary view field is a view field formed by collecting the game scene through the second virtual camera at the view angle corresponding to the view angle information, so that view field supplementation is triggered under the condition that conditions are met, and the corresponding auxiliary view field is displayed in the graphical user interface. Therefore, the player can know the corresponding game content in the game scene based on the auxiliary view, so that the player can make a corresponding game decision in time, and the game experience of the player is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of game technology, and in particular to a method for displaying a game field of view, a device for displaying a game field of view, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of game technology and the change of people's daily entertainment methods, games have become one of the important ways for people to entertain themselves in their daily lives. Among them, in some third-person perspective competitive games, when the virtual character controlled by the player performs the corresponding operation, the virtual camera's field of view is often blocked due to the limitations of the game scene, such as the limitations of virtual buildings such as roofs and eaves, resulting in obvious obstruction in the field of view presented to the player by the terminal, making it difficult for the player to see the content of the game scene, and thus difficult to execute the corresponding game strategy according to the changes in the game scene (such as the approach of players from the enemy camp, etc.), affecting the player's gaming experience. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, electronic device and computer-readable storage medium for displaying a game field of view, so as to solve or partially solve the problem of game field of view obstruction in the game.

[0004] The embodiment of the present invention discloses a method for displaying a game field of view, wherein a graphical user interface is provided through an electronic terminal, and the content displayed in the graphical user interface includes a main field of view formed by a first virtual camera capturing a game scene, and the main field of view includes at least a first virtual character. The method includes:

[0005] In response to a field of view supplementation instruction for the first virtual character, determining a second virtual camera corresponding to the field of view supplementation instruction, and determining viewing angle information of the second virtual camera;

[0006] The auxiliary field of view corresponding to the viewing angle information is displayed in the graphical user interface.

[0007] The embodiment of the present invention further discloses a display device for a game field of view, which provides a graphical user interface through an electronic terminal, wherein the content displayed in the graphical user interface includes a main field of view formed by a first virtual camera capturing a game scene, wherein the main field of view includes at least a first virtual character, and the device includes:

[0008] a viewing angle information determining module, configured to determine, in response to a viewing angle supplement instruction for the first virtual character, a second virtual camera corresponding to the viewing angle supplement instruction, and determine viewing angle information of the second virtual camera;

[0009] A field of view display module is used to display the auxiliary field of view corresponding to the viewing angle information in the graphical user interface.

[0010] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0011] The memory is used to store computer programs;

[0012] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0013] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0014] The embodiments of the present invention include the following advantages:

[0015] In an embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and the content displayed in the graphical user interface includes a main field of view formed by capturing a game scene through a first virtual camera, and the main field of view includes at least a first virtual character controlled by a player. During the game, the electronic terminal can associate the first virtual camera with the position of the first virtual character in the game scene to control the movement of the first virtual camera according to the position change of the first virtual character. The electronic terminal can respond to a field of view supplement instruction for the first virtual character, determine the perspective information of the second virtual camera corresponding to the field of view supplement instruction, and the field of view supplement instruction is determined based on the positional relationship between the first virtual character and the first virtual camera, and then display the auxiliary field of view corresponding to the perspective information in the graphical user interface. The auxiliary field of view is the field of view formed by capturing the game scene through the second virtual camera at a perspective corresponding to the perspective information, so that when the conditions are met, the field of view supplement can be triggered, and the corresponding auxiliary field of view can be displayed in the graphical user interface, so that the player can learn the corresponding game content in the game scene based on the auxiliary field of view, so that the player can make corresponding game decisions in time to ensure the player's game experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 is a flowchart of a method for displaying a game field of view provided in an embodiment of the present invention;

[0017] Figure 2 is a schematic diagram of a virtual camera provided in an embodiment of the present invention;

[0018] Figure 3 is a schematic diagram of a virtual camera provided in an embodiment of the present invention;

[0019] Figure 4ais a schematic diagram of generating a virtual camera provided in an embodiment of the present invention;

[0020] Figure 4b is a schematic diagram of generating a virtual camera provided in an embodiment of the present invention;

[0021] Figure 4c is a schematic diagram of generating a virtual camera provided in an embodiment of the present invention;

[0022] Figure 4d is a schematic diagram of generating a virtual camera provided in an embodiment of the present invention;

[0023] Figure 5 is a schematic diagram of a side view provided in an embodiment of the present invention;

[0024] Figure 6 is a schematic diagram of a game interface provided in an embodiment of the present invention;

[0025] Figure 7 is a structural block diagram of a display device for a game field of view provided in an embodiment of the present invention;

[0026] Figure 8 It is a block diagram of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0028] As an example, when the virtual character controlled by the player performs a corresponding operation, the virtual camera's field of view is often blocked due to limitations in the game scene, such as virtual buildings such as roofs and eaves, resulting in obvious obstruction in the field of view presented to the player by the terminal, making it difficult for the player to see the content of the game scene, and thus difficult to execute corresponding game strategies according to changes in the game scene (such as the approach of players from the enemy camp), affecting the player's gaming experience.

[0029] In this regard, in the present invention, during the game, the electronic terminal can associate the first virtual camera with the position of the first virtual character in the game scene to control the movement of the first virtual camera according to the position change of the first virtual character. The electronic terminal can respond to the field of view supplement instruction for the first virtual character, determine the perspective information of the second virtual camera corresponding to the field of view supplement instruction, the field of view supplement instruction is determined based on the positional relationship between the first virtual character and the first virtual camera, and then display the auxiliary field of view corresponding to the perspective information in the graphical user interface. The auxiliary field of view is the field of view formed by capturing the game scene with the perspective corresponding to the perspective information by the second virtual camera, so that when the conditions are met, the field of view supplement can be triggered and the corresponding auxiliary field of view can be displayed in the graphical user interface, so that the player can learn about the corresponding game content in the game scene based on the auxiliary field of view, so that the player can make corresponding game decisions in time to ensure the player's gaming experience.

[0030] It should be noted that the terminal can run the corresponding game application and display the corresponding game interface through the graphical user interface. The content displayed in the game interface includes the main field of view of the virtual character and the corresponding interactive controls. The player can control the virtual character to perform corresponding operations in the game scene or set the game content through the interactive controls. Among them, the electronic terminal can be the terminal to which the player at the local end belongs, and correspondingly, the second virtual character can be a virtual character controlled by other players. In the game, players can initiate interactions between virtual characters controlled by other players, thereby providing interactivity of the game.

[0031] Reference Figure 1 , shows a flowchart of a method for displaying a game field of view provided in an embodiment of the present invention, wherein a graphical user interface is provided through an electronic terminal, and the content displayed in the graphical user interface includes a main field of view formed by capturing a game scene through a first virtual camera, and the main field of view includes at least a first virtual character, and specifically may include the following steps:

[0032] Step 101, associating the first virtual camera with the position of the first virtual character in the game scene, so as to control the movement of the first virtual camera according to the position change of the first virtual character;

[0033] Step 102, in response to a field of view supplementation instruction for the first virtual character, determining viewing angle information of a second virtual camera corresponding to the field of view supplementation instruction, wherein the field of view supplementation instruction is determined based on a positional relationship between the first virtual character and the first virtual camera;

[0034] Step 103: displaying an auxiliary field of view corresponding to the viewing angle information in the graphical user interface, wherein the auxiliary field of view is a field of view formed by capturing the game scene with the second virtual camera at a viewing angle corresponding to the viewing angle information.

[0035] For 3D games, since the game scene is relatively large, a first virtual camera can be configured in the game scene, and the game scene is captured by the first virtual camera. Then, based on the captured content, the corresponding main field of view is displayed in the graphical user interface to present the player's current visible game field of view in the game scene. At the same time, in the game, the first virtual camera can be associated with the position of the first virtual character in the game scene, so that the terminal can control the movement of the first virtual camera according to the position change of the first virtual character. Specifically, as the player controls and turns the first virtual character, the first virtual camera can move with the movement of the first virtual character in the game scene, and turn with the turn of the first virtual character, so as to present the player with the game field of view after the perspective is switched.

[0036] For example, refer to Figure 2 , Figure 3 , shows a schematic diagram of a virtual camera provided in an embodiment of the present invention, wherein: Figure 2 A scene from a third-person perspective is shown. In the third-person perspective, the first virtual camera can be located at a position slightly above the rear side of the first virtual character, or at a position behind the first virtual character and in the middle relative to the first virtual character, or at a position relative to the shoulder height of the rear side of the first virtual character, etc. The virtual camera corresponding to the third-person perspective can provide a wider field of view for the player, so that the player can see the whole body of the virtual character and more observation positions; Figure 3 The scene of the first-person perspective is shown, that is, the virtual camera is equivalent to the "eyes" of the virtual character. In the first-person perspective, the player cannot see the face area of ​​the first virtual character, but can see the hands, legs, etc. of the first virtual character. It should be noted that in the embodiment of the present invention, the third-person perspective is used as an example for exemplary description.

[0037] In the game, as the player controls the movement of the first virtual character, the first virtual character may move to a more "compact" position, such as the corner of a house, suspended under the eaves, or the edge of a wall. When the first virtual character moves to such a position, the first virtual camera is likely to shorten the distance between the first virtual character and the first virtual object due to space limitations, so that the model of the first virtual object blocks the display of the game scene; or, the player actively zooms in and out of the field of view, so that the relative distance between the first virtual object and the first virtual character is shortened, and the first virtual character is likely to block the main field of view. In this regard, in these cases, the field of view can be supplemented based on the display method of the game field of view involved in the embodiments of the present invention, so as to present a more complete game field of view to the player. In addition to supplementing the field of view for field of view occlusion, the corresponding "interactive" field of view can also be provided to the player for interaction in the game to achieve field of view expansion, and the present invention is not limited to this.

[0038] In an embodiment of the present invention, the terminal can detect the positional relationship between the first virtual character and the first virtual camera in real time, and determine whether the positional relationship between the two satisfies the corresponding field of view supplementation condition. If so, a corresponding field of view supplementation instruction can be generated, and then the terminal can respond to the field of view supplementation instruction for the first virtual character, and determine the viewing angle information of the second virtual camera corresponding to the field of view supplementation instruction, so as to display the corresponding auxiliary field of view based on the viewing angle information. The viewing angle information may include the position of the virtual camera in the game scene (which can be expressed in spatial coordinates), field of view, orientation, rotation, near clipping plane, far clipping plane, projection type, background color, and depth range, etc., and the present invention does not limit this.

[0039] Among them, the first virtual camera can be the main camera in the game, that is, the main perspective in the game, and the game field of view displayed by it is the main field of view permanently displayed in the graphical user interface, and the second virtual camera is an auxiliary camera in the game, which is generated in the game scene only when the corresponding game conditions are met, and the game field of view displayed by it can be the auxiliary field of view additionally displayed in the graphical user interface, that is, when the field of view supplement conditions are met, two fields of view can be displayed in the graphical user interface, so that when the main field of view is blocked by a model, the auxiliary field of view can be used to supplement the field of view, thereby helping players to better perceive the content in the game scene, so that players can make corresponding game decisions in time to ensure the player's gaming experience.

[0040] In some feasible implementations, the terminal can obtain the positional relationship between the first virtual camera and the first virtual character. If the positional relationship indicates that there is an occlusion model between the first virtual camera and the first virtual character, a field of view supplement instruction for the first virtual character is generated, and a second virtual camera is generated in the game scene based on the field of view supplement instruction, and then the first perspective information of the first virtual camera in the game scene is further obtained, and then the second perspective information corresponding to the second virtual camera is determined based on the first perspective information. Thus, in the field of view supplement scenario, the terminal can flexibly determine the second perspective information of the second virtual camera based on the positional relationship, which enriches the field of view supplement method on the one hand, and enriches the field of view supplement scenario on the other hand, enriches the game content, and can effectively improve the player's game experience. Among them, the virtual scene object can be a virtual object deployed in the game scene, for example, a virtual object such as a building, stone, wood, etc. that constitutes the game scene. Among them, the field of view supplement instruction can be used to trigger the generation of a second virtual camera in the game scene, and trigger the determination of the second perspective information of the second virtual camera.

[0041] It should be noted that, in the game scene, although the first virtual camera is invisible to the player, it has its own position and direction in the game scene, which determines the field of view that the player can see in the game. As the first virtual camera moves in the game scene, the positional relationship between it and the first virtual character in the game scene may change accordingly. By obtaining the positional relationship between the virtual object and the first virtual character in the game scene, it can be determined whether field of view supplement is needed.

[0042] For example, taking the third-person perspective as an example, the first virtual camera is always located at the corresponding position behind the first virtual character, and when the first virtual character moves to the roof, eaves, wall and other positions in the game scene, the distance between the first virtual camera and the first virtual character will be reduced accordingly, so that the first virtual camera is close to the first virtual character. At this time, the field of view presented by the first virtual camera will be blocked by the model corresponding to the first virtual character, so that the game scene presented by the main field of view is blocked by the model of the first virtual character, resulting in the player being unable to fully obtain the relevant content of the game scene, affecting the player's visual experience. In addition, in addition to the situation where the model of the first virtual character blocks the main field of view, the model of the second virtual character may also block the main field of view. In this regard, in the case of model occlusion, the field of view supplement can be triggered in the game to supplement the game scene that the player cannot see through the corresponding auxiliary field of view, ensuring that the player can fully obtain the relevant content of the game scene so as to make corresponding game decisions in time.

[0043] Among them, after obtaining the position relationship, if the position relationship represents that there is an occlusion model between the first virtual camera and the first virtual character, the first virtual camera is controlled to move toward the first virtual character, and then the terminal can respond to the distance between the first virtual camera and the first virtual character reaching a preset distance, and generate a field of view supplement instruction for the first virtual character, triggering the generation of a second virtual camera in the game scene, and further determining the second perspective information corresponding to the second virtual camera to perform field of view supplement, so that when the conditions for field of view supplement are met, the field of view supplement is triggered, and the corresponding auxiliary field of view is displayed in the graphical user interface, so that the player can learn about the corresponding game content in the game scene based on the auxiliary field of view, so that the player can make corresponding game decisions in time to ensure the player's gaming experience.

[0044] In a specific implementation, the first perspective information includes at least the first spatial coordinates of the first virtual camera in the game scene and the first direction of the first virtual camera. The first spatial coordinates can represent the position of the first virtual camera in the game scene, and the first direction can represent the direction in which the first virtual camera captures the game scene. The terminal obtains the mirror distance for the first spatial coordinate, and uses the mirror distance and the first spatial coordinate to calculate to obtain the second spatial coordinate, and takes the direction opposite to the first direction as the second direction, and then uses the second spatial coordinates and the second direction as the second perspective information of the second virtual camera.

[0045] Among them, the mirror distance is the distance of symmetrically mirroring the first spatial coordinate point with the first orientation of the first virtual camera as the direction. For example, assuming that the mirror distance is a, the first spatial coordinate can be used as the origin, and a line segment with a length of a can be emitted along the direction of the first orientation, and the end point of the line segment is the second spatial coordinate; or the first spatial coordinate point can be used as the origin, and a line segment with a length of 2a can be emitted along the direction of the first orientation, and the end point of the line segment is the second spatial coordinate, thereby determining the position of the second virtual camera in the game scene.

[0046] Optionally, for the first virtual camera, as the player controls the movement of the first virtual character in the game scene, the first virtual camera also moves in the game scene. Under normal circumstances, the relative distance between the first virtual camera and the first virtual character is fixed. When the player controls the first virtual character to move to a corresponding position, or due to other circumstances, the distance between the first virtual camera and the first virtual character is shortened, the main field of view may be blocked by the model. When the model occlusion is triggered, the terminal can supplement the field of view on the one hand, and display the first virtual character in a transparent manner on the other hand, displaying only the outline corresponding to the first virtual character.

[0047] It should be noted that when supplementing the field of view for field of view obstruction, the auxiliary field of view can be the mirror field of view of the main field of view. For this, the corresponding mirror distance can be set. Figure 4a-4d , shows a schematic diagram of generating a virtual camera provided in an embodiment of the present invention, which is described in a top view for ease of understanding, and the second camera in the diagram is the second virtual camera, Figure 4a shows the case where no field of view supplementation is performed. Figure 4b It shows that the first virtual character moves to the edge of the wall. At this time, the distance between the first virtual camera and the first virtual character is shortened, and the relative distance between the two reaches the preset distance, triggering the field of view supplement. The terminal can obtain the first spatial coordinates, the first orientation, and the mirror distance a corresponding to the first virtual camera, such as Figure 4c , Figure 4d As shown, the terminal can use the mirror line as the center line, the direction of the first virtual camera as the direction, and the mirror distance as the mirror distance to determine the second spatial coordinates of the second virtual camera, and then use the direction opposite to the first direction as the second direction of the second virtual camera, thereby determining the second visual information of the second virtual camera, and then displaying the corresponding auxiliary field of view in the graphical user interface based on the second viewing angle information, so that the player can learn the corresponding game content in the game scene based on the auxiliary field of view, so that the player can make corresponding game decisions in time to ensure the player's game experience. Accordingly, refer to Figure 5 In the case of a side view, position 1 is the original position of the first virtual camera. When the first virtual character moves under the eaves of the house, the relative distance between the first virtual camera and the first virtual object reaches a preset distance. At this time, the terminal can display the first virtual character in a transparent manner, only displaying the outline corresponding to the first virtual character, and triggering the field of view supplement to display the corresponding auxiliary field of view.

[0048] It should be noted that the auxiliary field of view can be displayed on the main field of view in the form of a floating window, that is, the layer where the auxiliary field of view is located is above the layer where the main field of view is located, and will not affect the player's current and subsequent operations in terms of perspective. At the same time, as the player inputs the perspective switching instruction, when the auxiliary field of view is displayed, the terminal can respond to the field of view switching instruction, determine the first target direction corresponding to the field of view switching instruction, control the main field of view to switch the perspective according to the first target direction, and control the auxiliary field of view to switch the perspective according to the second target direction opposite to the first target direction. Specifically, since the main field of view and the auxiliary field of view are mirror images of each other, when the perspective switching instruction is to turn right, the main field of view is switched in a right turn manner, and the auxiliary field of view is switched in a left turn manner, thereby maintaining the consistency of the perspective. The same is true for switching in other directions, which will not be repeated here.

[0049] In one example, if Figure 5 As shown, taking the side view as an example, when the player controls the first virtual character to move to the corner (or the edge of the wall) in the game scene, the first virtual camera moves to the edge of the wall synchronously, triggering the field of view supplement. The terminal can determine the second virtual camera and the viewing angle information corresponding to the second virtual camera, and then the terminal can display the corresponding auxiliary field of view in the graphical user interface, such as Figure 6 As shown, the terminal can display the first virtual character transparently and only display the outline corresponding to the first virtual character. At the same time, the auxiliary field of view can be displayed in the lower right corner of the graphical user interface, which will not affect the player's current and subsequent operations in terms of perspective. At the same time, the player can learn about the corresponding game content in the game scene based on the auxiliary field of view, so that the player can make corresponding game decisions in time to ensure the player's gaming experience.

[0050] It should be noted that the embodiments of the present invention include but are not limited to the above examples. It is understandable that those skilled in the art can also make settings according to actual needs under the guidance of the ideas of the embodiments of the present invention, and the present invention is not limited to this.

[0051] In an embodiment of the present invention, a graphical user interface is provided by an electronic terminal, and the content displayed in the graphical user interface includes a main field of view formed by capturing a game scene through a first virtual camera, and the main field of view includes at least a first virtual character controlled by a player. During the game, the electronic terminal can associate the first virtual camera with the position of the first virtual character in the game scene to control the movement of the first virtual camera according to the position change of the first virtual character. The electronic terminal can respond to a field of view supplement instruction for the first virtual character, determine the perspective information of the second virtual camera corresponding to the field of view supplement instruction, and the field of view supplement instruction is determined based on the positional relationship between the first virtual character and the first virtual camera, and then display the auxiliary field of view corresponding to the perspective information in the graphical user interface. The auxiliary field of view is the field of view formed by capturing the game scene through the second virtual camera at a perspective corresponding to the perspective information, so that when the conditions are met, the field of view supplement can be triggered, and the corresponding auxiliary field of view can be displayed in the graphical user interface, so that the player can learn the corresponding game content in the game scene based on the auxiliary field of view, so that the player can make corresponding game decisions in time to ensure the player's game experience.

[0052] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0053] Reference Figure 7 , shows a structural block diagram of a display device for a game field of view provided in an embodiment of the present invention, wherein a graphical user interface is provided through an electronic terminal, and the content displayed in the graphical user interface includes a main field of view formed by capturing a game scene through a first virtual camera, and the main field of view includes at least a first virtual character, and specifically may include the following modules:

[0054] A position association module 701, used to associate the first virtual camera with the position of the first virtual character in the game scene, so as to control the movement of the first virtual camera according to the position change of the first virtual character;

[0055] A perspective information determining module 702 is configured to determine, in response to a perspective supplement instruction for the first virtual character, perspective information of a second virtual camera corresponding to the perspective supplement instruction, wherein the perspective supplement instruction is determined based on a positional relationship between the first virtual character and the first virtual camera;

[0056] The field of view display module 703 is used to display an auxiliary field of view corresponding to the viewing angle information in the graphical user interface, where the auxiliary field of view is a field of view formed by capturing the game scene with the second virtual camera at a viewing angle corresponding to the viewing angle information.

[0057] In some feasible implementations, the device further includes:

[0058] A position relationship acquisition module, used to acquire the position relationship between the first virtual camera and the first virtual character;

[0059] The instruction generation module is used to generate the field of view supplement instruction for the first virtual character if the position relationship represents that an occlusion model exists between the first virtual camera and the first virtual character.

[0060] In some feasible implementations, the instruction generation module is specifically used to:

[0061] If the positional relationship indicates that an occlusion model exists between the first virtual camera and the first virtual character, controlling the first virtual camera to move toward the first virtual character;

[0062] In response to the distance between the first virtual camera and the first virtual character reaching a preset distance, the field of view supplement instruction for the first virtual character is generated.

[0063] In some feasible implementations, the viewing angle information determination module 702 is specifically used to:

[0064] Generate a second virtual camera in the game scene based on the field of view supplement instruction;

[0065] Obtaining first viewing angle information of the first virtual camera in the game scene;

[0066] The second viewing angle information corresponding to the second virtual camera is determined based on the first viewing angle information.

[0067] In some feasible implementations, the first viewing angle information includes at least a first spatial coordinate of the first virtual camera and a first orientation of the first virtual camera, and the viewing angle information determining module 702 is specifically used to:

[0068] Performing mirror calculation on the first space coordinate to obtain a second space coordinate;

[0069] taking the orientation opposite to the first orientation as the second orientation;

[0070] The second spatial coordinates and the second orientation are used as second viewing angle information of the second virtual camera.

[0071] In some feasible implementations, the device further includes:

[0072] The character display module is used to control the first virtual character to be displayed in a transparent manner.

[0073] In some feasible implementations, the device further includes:

[0074] A field of view switching module is used to respond to a field of view switching instruction, determine a first target direction corresponding to the field of view switching instruction, control the main field of view to switch the perspective according to the first target direction, and control the auxiliary field of view to switch the perspective according to a second target direction opposite to the first target direction.

[0075] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0076] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned game field of view display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0077] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above-mentioned game field display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0078] Figure 8 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0079] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device structure involved in the embodiments of the present invention does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0080] It should be understood that in the embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 810 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 801 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.

[0081] The electronic device provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0082] The audio output unit 803 can convert the audio data received by the RF unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output it as sound. Moreover, the audio output unit 803 can also provide audio output related to a specific function performed by the electronic device 800 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, etc.

[0083] The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processor (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 806. The image frame processed by the graphics processor 8041 can be stored in the memory 809 (or other storage medium) or sent via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 801 in the case of a telephone call mode.

[0084] The electronic device 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8061 and / or the backlight when the electronic device 800 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 805 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0085] The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0086] The user input unit 807 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 807 includes a touch panel 8081 and other input devices 8072. The touch panel 8081, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 8081 or near the touch panel 8081 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 8081 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 810, receives the command sent by the processor 810 and executes it. In addition, the touch panel 8081 can be implemented using various types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 8081, the user input unit 807 may also include other input devices 8072. Specifically, other input devices 8072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.

[0087] Further, the touch panel 8081 may be covered on the display panel 8061. When the touch panel 8081 detects a touch operation on or near it, it is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. It can be understood that in one embodiment, the touch panel 8081 and the display panel 8061 are used as two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 8081 and the display panel 8061 can be integrated to implement the input and output functions of the electronic device, which is not limited here.

[0088] The interface unit 808 is an interface for connecting an external device to the electronic device 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and an external device.

[0089] The memory 809 can be used to store software programs and various data. The memory 809 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 809 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0090] The processor 810 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 809 and calling data stored in the memory 809, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 810.

[0091] The electronic device 800 may also include a power supply 811 (such as a battery) for supplying power to each component. Preferably, the power supply 811 may be logically connected to the processor 810 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0092] In addition, the electronic device 800 includes some functional modules not shown, which will not be described in detail here.

[0093] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0094] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0095] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0096] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0097] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0098] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0099] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0100] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0101] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0102] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for displaying a game field of view, characterized in that: A graphical user interface is provided by an electronic terminal, wherein the content displayed in the graphical user interface includes a main field of view formed by capturing a game scene by a first virtual camera, and the main field of view includes at least a first virtual character. The method includes: Associating the first virtual camera with the position of the first virtual character in the game scene to control the movement of the first virtual camera according to the position change of the first virtual character; In response to a field of view supplementation instruction for the first virtual character, determining viewing angle information of a second virtual camera corresponding to the field of view supplementation instruction, wherein the field of view supplementation instruction is determined based on a positional relationship between the first virtual character and the first virtual camera; An auxiliary field of view corresponding to the viewing angle information is displayed in the graphical user interface, where the auxiliary field of view is a field of view formed by capturing the game scene with the second virtual camera at a viewing angle corresponding to the viewing angle information.

2. The method according to claim 1, characterized in that The method further comprises: Acquire a positional relationship between the first virtual camera and the first virtual character; If the positional relationship indicates that an occlusion model exists between the first virtual camera and the first virtual character, a field of view supplement instruction for the first virtual character is generated.

3. The method according to claim 2, characterized in that If the position relationship indicates that there is an occlusion model between the first virtual camera and the first virtual character, generating the field of view supplement instruction for the first virtual character includes: If the positional relationship indicates that an occlusion model exists between the first virtual camera and the first virtual character, controlling the first virtual camera to move toward the first virtual character; In response to the distance between the first virtual camera and the first virtual character reaching a preset distance, the field of view supplement instruction for the first virtual character is generated.

4. The method according to claim 1, characterized in that: The determining of the viewing angle information of the second virtual camera corresponding to the field of view supplement instruction includes: Generate a second virtual camera in the game scene based on the field of view supplement instruction; Obtaining first viewing angle information of the first virtual camera in the game scene; The second viewing angle information corresponding to the second virtual camera is determined based on the first viewing angle information.

5. The method according to claim 4, characterized in that The first viewing angle information at least includes a first spatial coordinate of the first virtual camera and a first orientation of the first virtual camera, and determining the second viewing angle information corresponding to the second virtual camera based on the first viewing angle information includes: Performing mirror calculation on the first space coordinate to obtain a second space coordinate; taking the orientation opposite to the first orientation as the second orientation; The second spatial coordinates and the second orientation are used as second viewing angle information of the second virtual camera.

6. The method according to claim 3, characterized in that If the position relationship indicates that there is an occlusion model between the first virtual camera and the first virtual character, after generating the field of view supplement instruction for the first virtual character, the method further includes: The first virtual character is controlled to be displayed in a transparent manner.

7. The method according to claim 1, characterized in that After displaying the auxiliary field of view corresponding to the viewing angle information in the graphical user interface, the method further includes: In response to a field of view switching instruction, a first target direction corresponding to the field of view switching instruction is determined, the main field of view is controlled to switch the perspective according to the first target direction, and the auxiliary field of view is controlled to switch the perspective according to a second target direction opposite to the first target direction.

8. A display device for a game field of view, characterized in that: A graphical user interface is provided through an electronic terminal, wherein the content displayed in the graphical user interface includes a main field of view formed by capturing a game scene through a first virtual camera, wherein the main field of view includes at least a first virtual character, and the device includes: A position association module, used to associate the first virtual camera with the position of the first virtual character in the game scene, so as to control the movement of the first virtual camera according to the position change of the first virtual character; a perspective information determination module, configured to determine, in response to a perspective supplement instruction for the first virtual character, perspective information of a second virtual camera corresponding to the perspective supplement instruction, wherein the perspective supplement instruction is determined based on a positional relationship between the first virtual character and the first virtual camera; A field of view display module is used to display an auxiliary field of view corresponding to the viewing angle information in the graphical user interface, wherein the auxiliary field of view is a field of view formed by capturing the game scene with the second virtual camera at a viewing angle corresponding to the viewing angle information.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 7 when executing the program stored in the memory.

10. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 7.