Virtual scene display method and apparatus, computer device and storage medium
By gradually improving the picture by displaying three-dimensional virtual scenes in multiplayer online tactical competitive games, the problem of players being unable to view the surrounding environment of the birth point is solved, and better user experience and resource utilization is achieved.
Patent Information
- Application Number
- PCT/CN2024/083771
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-24
- Filing Date
- 2024-03-26
- Publication Date
- 2024-11-28
AI Technical Summary
In the existing technology, in multiplayer online tactical competitive games, players cannot directly view the environment around the birth point when selecting the birth point, resulting in poor user experience and cumbersome operation, occupying more terminal and server resources.
In the birth point selection stage of the virtual game, the first local scene of the three-dimensional virtual scene is displayed, and then the camera perspective is gradually improved and multiple birth points are displayed, allowing players to directly select birth points in the three-dimensional virtual scene to avoid switching plane simplified pictures. Reduce resource usage.
Improves the gaming experience, provides an immersive selection process, reduces the processing resource requirements of terminals and servers, and avoids additional configuration and rendering of simplified planes.
Smart Images

Figure CN2024083771_28112024_PF_FP_ABST
Abstract
Description
Virtual scene display method, device, computer equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 24, 2023, with application number 2023105960393, and application name “Virtual scene display method, device, equipment, storage medium and program product”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a virtual scene display method, apparatus, computer equipment, storage medium, and computer program product. Background Art
[0003] With the development of computer technology and Internet technology, more and more competitive games have brought players an immersive gaming experience. Competitive games are games in which multiple user accounts compete in the same virtual game scene, such as Multiplayer Online Battle Arena Games (MOBA).
[0004] Typically, before a game begins, each user account needs to select an initial position, i.e., a birth point, for the virtual object being controlled in the virtual game scene. The user can then control the virtual object to move in the virtual game scene from the birth point and fight against virtual objects controlled by other players.
[0005] In a related method, during the point selection stage of a game, the game usually provides a simplified planar map of a virtual game scene, and the player selects the birth point of the virtual object from multiple birth points in the simplified planar map. However, the simplified planar map is not the virtual game scene where the virtual object is in battle. When selecting the birth point, the player cannot directly view the surrounding environment of the birth point, and does not have an immersive gaming experience, resulting in a poor user experience. Moreover, after selecting an identity in the simplified planar map, it is necessary to switch back to the local scene corresponding to the position selected by the player in the virtual game scene. This method of switching back and forth between the simplified planar map and the virtual game scene to select the birth point is not only cumbersome to operate, but also requires additional configuration and storage of the simplified planar map, which results in the need to occupy more processing resources of the terminal and server.
[0006] Summary of the Invention
[0007] The present application provides a virtual scene display method. The method includes:
[0008] During the spawn point selection phase of the virtual game, a first partial scene is displayed, where the first partial scene is a partial scene of the three-dimensional virtual scene located within the perspective of a first close-up lens, and the first partial scene includes a target virtual object.
[0009] Displaying a gradually-increasing lens image of the three-dimensional virtual scene, wherein the gradually-increasing lens image is a scene image of the three-dimensional virtual scene under the gradually-increasing lens perspective as the lens perspective gradually increases from the first close-up lens perspective to the long-range lens perspective;
[0010] When the lens perspective changes to the long-range lens perspective, displaying a second local scene, the second local scene being a local scene of the three-dimensional virtual scene located under the long-range lens perspective, the second local scene including a plurality of birth points;
[0011] A target birth point is selected from the multiple birth points.
[0012] The present application also provides a virtual scene display device. The device includes:
[0013] A first display module is configured to display a first partial scene during a spawn point selection phase of a virtual game, wherein the first partial scene is a partial scene of a three-dimensional virtual scene located within the perspective of a first close-up lens, and includes a target virtual object.
[0014] a lens raising module, configured to display a gradually raising lens picture of the three-dimensional virtual scene, wherein the gradually raising lens picture is a scene picture of the three-dimensional virtual scene under the gradually raising lens perspective as the lens perspective gradually rises from the first close-up lens perspective to the long-range lens perspective;
[0015] a second display module, configured to display a second local scene when the lens perspective changes to the long-range lens perspective, wherein the second local scene is a local scene of the three-dimensional virtual scene located under the long-range lens perspective, and includes a plurality of birth points;
[0016] The birth point selection module is used to select a target birth point from the multiple birth points.
[0017] The present application also provides a computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the above-mentioned virtual scene display method when executing the computer-readable instructions.
[0018] The present application also provides a computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor, perform the steps of the above-mentioned virtual scene display method.
[0019] The present application also provides a computer program product, which includes computer-readable instructions, and when executed by a processor, implements the steps of the above-mentioned virtual scene display method. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a diagram showing an application environment of a virtual scene display method according to an embodiment;
[0021] FIG2 is an application environment diagram of a virtual scene display method according to another embodiment;
[0022] FIG3 is a schematic diagram of a simplified 2D plane map used for selecting a birth point in the related art;
[0023] FIG4 is a schematic diagram of a flow chart of a virtual scene display method according to an embodiment;
[0024] FIG5 is a schematic diagram of a first partial scene in a three-dimensional virtual scene according to an embodiment;
[0025] FIG6 is a schematic diagram of a process of improving the lens viewing angle in one embodiment;
[0026] FIG7 is a schematic diagram of a third local scene in one embodiment;
[0027] FIG8 is a schematic diagram of a process in which the lens viewing angle decreases in one embodiment;
[0028] FIG9 is a schematic diagram of operation controls superimposed and displayed in a third partial scene in one embodiment;
[0029] FIG10 is a schematic diagram showing a plurality of birth points marked in one embodiment;
[0030] FIG11 is a schematic diagram showing a superimposed display of birth point prompt areas in one embodiment;
[0031] FIG12 is a schematic diagram of a recommended path displayed in one embodiment;
[0032] FIG13 is a schematic diagram of scene configuration information of a three-dimensional virtual map in one embodiment;
[0033] FIG14 is a timing diagram of a virtual scene display method in one embodiment;
[0034] FIG15 is a block diagram of a virtual scene display device according to an embodiment;
[0035] FIG16 is a structural block diagram of a virtual scene display device according to another embodiment;
[0036] FIG17 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0037] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or traditional technical descriptions. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the disclosed drawings without any creative work.
[0038] MOBA: Multiplayer Online Battle Arena (MOBA), also known as Action RTS (ARTS). Players are typically divided into two teams that compete on a game map (i.e., a virtual game environment). Each player controls a virtual object of their choice through an interface. Typically, each player only controls their chosen virtual object.
[0039] Spawn Point: The spawn point refers to the initial position of the player's virtual object on the game map. It is usually the starting position of the player's virtual object when entering the battle phase of the game.
[0040] 3D scene (three-dimensional scene): A scene that expresses complex and abstract information using three-dimensional art forms such as 3D models. It has the advantages of being intuitive, clear, and easy to understand.
[0041] The virtual scene display method provided in an embodiment of the present application can be applied in the application environment shown in FIG1 . In this embodiment, a terminal 102 communicates with a server 104 via a network. A data storage system can store data that the server 104 needs to process. The data storage system can be integrated with the server 104, or can be located in the cloud or on another server. In one embodiment, during the spawn point selection phase of a virtual game, the terminal 102 can display a first partial scene. The first partial scene is a partial scene of the three-dimensional virtual scene located within a first close-up lens perspective. The first partial scene includes a target virtual object, and the virtual object can be displayed within this first close-up lens perspective. After the virtual object is displayed, a gradually increasing lens image of the three-dimensional virtual scene is displayed. The gradually increasing lens image is a scene image of the three-dimensional virtual scene located within the gradually increasing lens perspective as the lens perspective gradually increases from the first close-up lens perspective to the long-range lens perspective. When the lens perspective changes to the long-range lens perspective, a second partial scene is displayed. The second partial scene is a partial scene of the three-dimensional virtual scene located within the long-range lens perspective. The second partial scene includes multiple spawn points. The target spawn point is selected from the multiple spawn points.
[0042] 2 shows a block diagram of a gaming system 100 according to an exemplary embodiment of the present invention. The gaming system 100 includes a first terminal 120 , a server 140 , and a second terminal 160 .
[0043] The first terminal 120 is connected to the server cluster 140 via a wireless network or a wired network. The first terminal 120 can be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 player, an MP4 player, an AR (Augmented Reality) device, a VR (Virtual Reality) device, and a laptop computer. The first device 120 installs and runs a client (or application) of the battle game type, referred to as a battle game client, a game client, a battle client, or a client. The client can be any one of a real-time battle game client, a role-playing game client, a multiplayer online tactical competitive game client, a multiplayer online shooting game client, and a multiplayer online survival game client. The first terminal 120 is a terminal used by the first user, and the client in the first terminal 120 is logged in with the first user account. The first terminal 120 is connected to the server 140 via a wireless network or a wired network.
[0044] Server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 140 is used to provide backend services for clients that support virtual pets. Optionally, server 140 performs primary computing tasks, while first terminal 120 and second terminal 160 perform secondary computing tasks; alternatively, server 140 performs secondary computing tasks, while first terminal 120 and second terminal 160 perform primary computing tasks; alternatively, a distributed computing architecture is employed among server 140, first terminal 120, and second terminal 160 for collaborative computing. Second terminal 160 installs and runs a battle game client, referred to as a battle game client or client. This client can be any of a real-time battle game client, a role-playing game client, a multiplayer online tactical competitive game client, a multiplayer online shooter game client, or a multiplayer online survival game client. Second terminal 160 is used by a second user. The second user account is logged into the client of second terminal 120.
[0045] Optionally, the first user account and the second user account are in the same virtual social network. Optionally, the first user account and the second user account may belong to the same team, the same organization, have a friendship relationship, or have temporary communication permissions. Optionally, the first user account and the second user account may belong to different teams, different organizations, or two hostile groups.
[0046] Optionally, the client installed on the first terminal 120 and the second terminal 160 is the same, or the client installed on the two terminals is the same type of client with different operating system platforms. Different operating systems include: Android operating system, iOS operating system, Windows operating system, and operating system dedicated to game consoles.
[0047] The first terminal 120 can generally refer to one of multiple terminals, and the second terminal 160 can generally refer to one of multiple terminals. The terminal mentioned in this embodiment can be the first terminal 120 or the second terminal 160 for illustration purposes only. The terminals in Figures 1 and 2 above are, but are not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart car devices, etc. Portable wearable devices can include smart watches, smart bracelets, head-mounted devices, etc. The servers in Figures 1 and 2 above can be implemented as independent servers or as server clusters consisting of multiple servers.
[0048] Those skilled in the art will appreciate that the number of terminals may be greater or lesser. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or a greater number. The embodiments of the present application do not limit the number of terminals and device types. Typically, a battle game requires the participation of several terminals, such as 8 or 10 terminals. The virtual objects corresponding to the several terminals will be divided into two opposing teams for competitive battles.
[0049] In the related art, during the spawn point selection phase of a virtual game, the spawn point is selected in another 2D plane simplified map corresponding to the three-dimensional virtual scene. As shown in Figure 3, a schematic diagram of a 2D plane simplified map used for selecting a spawn point in the related art is shown. It can be seen that this 2D plane simplified map is not a three-dimensional virtual scene used for virtual objects to engage in virtual battles. That is, the point selection process provided by this method is separated from the three-dimensional virtual scene used for virtual objects to engage in virtual battles. When selecting a spawn point, the player cannot directly view the surrounding environment of the spawn point, which does not provide an immersive gaming experience, resulting in a poor user experience. Moreover, after selecting an identity in the plane simplified map, it is necessary to switch back to the local scene corresponding to the player's selected position in the virtual game scene. This method of switching back and forth between the plane simplified map and the virtual game scene to select a spawn point is not only cumbersome to operate, but also requires additional configuration and storage of the plane simplified map on the terminal or server, resulting in the need to occupy a large amount of processing resources of the terminal and server.
[0050] The virtual scene display method provided by the embodiment of the present application displays a first local scene in the birth point selection stage of the virtual game, the first local scene being a local scene of the three-dimensional virtual scene located under the first close-up lens perspective, the first local scene including the target virtual object, and after the target virtual object is displayed, a gradually rising lens picture of the three-dimensional virtual scene is displayed, that is, the three-dimensional virtual scene is located under the gradually rising lens perspective in the process of the lens perspective gradually rising from the first close-up lens perspective and changing to the long-range lens perspective, that is, the lens gradually rises the picture, and when the lens perspective changes to the long-range lens perspective, a second local scene is displayed, the second local scene being a local scene of the three-dimensional virtual scene located under the long-range lens perspective, It includes multiple birth points, and then the target birth point can be directly selected in the three-dimensional virtual scene, that is, the lens perspective of displaying the virtual object is directly converted to the long-range lens perspective of the three-dimensional virtual scene, so that the player can observe the scene environment of the three-dimensional virtual scene when selecting the birth point, and the lens perspective conversion is one shot from beginning to end, the experience is very smooth, and the lens is switched completely in the three-dimensional virtual scene. There is no need to switch to the simplified plane map to select the birth point and move the camera, which avoids interrupting the immersive experience of the three-dimensional virtual scene by switching between the two, greatly improving the player's gaming experience. In addition, there is no need to configure and store the simplified plane map on the terminal or server, and there is no need to know how to render the simplified plane map, thereby reducing the processing resources required for the terminal and server.
[0051] In one embodiment, as shown in FIG4 , a virtual scene display method is provided, which is described by taking the method applied to the terminal in FIG1 as an example, including the following steps:
[0052] Step 402: During the spawn point selection phase of the virtual game, a first partial scene is displayed. The first partial scene is a partial scene of the three-dimensional virtual scene located under the perspective of a first close-up lens. The first partial scene includes a target virtual object.
[0053] A virtual game is a virtual battle between at least two virtual objects in the same three-dimensional virtual scene. A three-dimensional virtual scene is a virtual battle map generated based on the virtual scene. It is a complete virtual scene to which virtual objects can move during a virtual battle. A local scene is a partial scene of a three-dimensional virtual scene, which includes at least one virtual object. A virtual object is a virtual character model controlled by a terminal to implement a virtual game. The at least one virtual object includes a target virtual object controlled by the current terminal, and may also include other virtual objects controlled by other terminals. The at least one virtual object may belong to the same camp in the virtual game, i.e., include a target virtual object and a friendly virtual object, or may belong to different camps in the virtual game, i.e., include a target virtual object and an enemy virtual object, or may include both a friendly virtual object and an enemy virtual object.
[0054] The 3D virtual scene includes multiple selectable spawn points. Players can use the terminal to select a spawn point for the target virtual object they control during virtual combat. This point serves as the starting position for the target virtual object during the virtual combat. The first close-up camera angle is the camera angle used to display the target virtual object.
[0055] In one embodiment, during the birth point selection stage of a virtual game, the terminal will display a first local scene by default. The first local scene is a local scene displayed by the three-dimensional virtual scene under the default first close-up lens perspective when the target virtual object in the three-dimensional virtual scene is used as the observation object.
[0056] At this time, the target object can be located at any position in the three-dimensional virtual scene, or at any position other than the key positions in the three-dimensional virtual scene (such as the birth point, attack area, tower building area), or at any one of several birth points, that is, the target virtual object is located at the default preset birth point.
[0057] The lens perspective is the perspective for observing the three-dimensional virtual scene. Different lens perspectives can observe different scene pictures, and the terminal presents the scene picture. The scene picture displayed by the terminal can be the scene picture when the target virtual object in the three-dimensional virtual scene is observed by the camera model in the three-dimensional virtual scene. Optionally, in the virtual battle stage, the camera model automatically follows the target virtual object in the three-dimensional virtual scene, that is, when the position of the target virtual object in the three-dimensional virtual scene changes, the camera model follows the position of the target virtual object in the three-dimensional virtual scene and changes at the same time. In the birth point selection stage before the virtual battle stage, the camera model can also observe the virtual three-dimensional scene in the three-dimensional virtual scene according to different scene lens parameters (i.e., lens perspective), thereby presenting local scenes in different three-dimensional virtual scenes. A camera model refers to a three-dimensional model located around a target virtual object in a three-dimensional virtual scene. When the camera model's lens perspective adopts a first-person perspective, the camera model is located near or at the target virtual object's head. When the lens perspective adopts a third-person perspective, the camera model can be located behind the target virtual object and bound to the target virtual object, or it can be located at any position at a preset distance from the target virtual object. Through this camera model, the target virtual object in the three-dimensional virtual scene can be observed from different angles. Optionally, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is located behind the target virtual object (e.g., the head and shoulders of the target virtual object). Optionally, in addition to the first-person perspective and the third-person perspective, the camera perspective also includes other perspectives, such as a bird's-eye view or a bird's-eye view. When a bird's-eye view is adopted, the camera model can be located above the target virtual object's head. A bird's-eye view is a perspective from which the three-dimensional virtual scene is viewed from an aerial perspective. Optionally, the camera model is not actually displayed in the three-dimensional virtual scene, that is, the camera model is not displayed in the three-dimensional virtual scene displayed on the user interface.
[0058] The camera model can be rotated with the target virtual object as the rotation center, such as: rotating the camera model with any point of the target virtual object as the rotation center. During the rotation process, the camera model not only rotates in angle but also shifts in displacement. During the rotation, the distance between the camera model and the rotation center remains unchanged, that is, the camera model is rotated on the surface of a sphere with the rotation center as the center of the sphere. Any point of the target virtual object can be its head, torso, or any point around the target virtual object. This embodiment of the present application does not limit this. Optionally, the camera model can also observe the target virtual object at preset angles in different directions of the target virtual object.
[0059] In one embodiment, the first partial scene displayed by the terminal by default is the partial scene displayed when the target virtual object is located at a preset spawn point in the three-dimensional virtual scene, under the default first camera perspective. The preset spawn point is the default spawn point of the three-dimensional virtual scene. Through subsequent steps, the player can reselect a spawn point for the virtual object from a number of spawn points and begin the virtual battle from the selected spawn point. That is, during the spawn point selection phase of the virtual game, displaying the first partial scene includes: during the spawn point selection phase of the virtual game, displaying the virtual game interface; displaying the first partial scene of the three-dimensional virtual scene in the virtual game interface, the first partial scene being the partial scene of the three-dimensional virtual scene located at the first close-up camera perspective, the first partial scene being the partial scene at the preset spawn point of the three-dimensional virtual scene, and the first partial scene including the target virtual object located at the preset spawn point. Optionally, the first partial scene includes virtual objects of a first faction in the virtual game, the virtual objects of the first faction include the target virtual object, and the virtual objects of the first faction are located at the preset spawn point.
[0060] In one embodiment, the first local scene also includes other virtual objects that belong to the same camp as the target virtual object, and the first close-up lens perspective is a lens perspective for displaying all virtual objects in the same camp.
[0061] In some embodiments, the first partial scene is a static scene, i.e., the target virtual object is displayed at a default angle. In other embodiments, the first partial scene is a dynamic scene, i.e., the first close-up lens perspective includes multiple similar lens perspectives, which can be used to observe details of different parts of the target object and display the target virtual object in all directions.
[0062] In one embodiment, displaying a first partial scene of a three-dimensional virtual scene located under a first close-up lens perspective includes: reading scene configuration information of the three-dimensional virtual scene of the virtual game; the scene configuration information includes a preset birth point in the three-dimensional virtual scene and scene lens parameters of the preset birth point, the scene lens parameters indicating that the lens perspective corresponding to the preset birth point of the three-dimensional virtual scene is the first close-up lens perspective; displaying a first partial scene according to the first close-up lens perspective, the first partial scene being a partial scene of a target virtual object located at the preset birth point of the three-dimensional virtual scene.
[0063] Scene configuration information is configuration information about a 3D virtual scene. The scene configuration information includes a preset spawn point in the 3D virtual scene and scene lens parameters for the preset spawn point. The scene lens parameters indicate that the lens perspective corresponding to the 3D virtual scene at the preset spawn point is a first close-up lens perspective. Specifically, the terminal can read the scene configuration information of the 3D virtual scene, obtain the scene lens parameters corresponding to each of multiple spawn points in the 3D virtual scene, and determine a default spawn point among the multiple spawn points. The scene lens parameters may include, for example, the focal length, angle, position, and lens effects of the lens. It is understood that, based on the scene lens parameters, a lens perspective for observing the 3D virtual scene can be determined. Through this lens perspective, a partial scene of the 3D virtual scene can be observed, and the terminal can present this partial scene. The scene lens parameters for the preset spawn point correspond to a first close-up lens perspective. Based on the first close-up lens perspective, the terminal can display a first partial scene of the target virtual object located at the preset spawn point of the 3D virtual scene. Optionally, a game application running on the terminal can provide multiple 3D virtual scenes, each with corresponding scene configuration parameters.
[0064] Figure 5 is a schematic diagram of the first partial scene within a 3D virtual scene in one embodiment. Referring to Figure 5 , during the spawn point selection phase of a virtual match, the interface displays the first partial scene by default. This first partial scene is a portion of the 3D virtual scene. Specifically, virtual object models representing all teammates are displayed within the 3D virtual scene by default, allowing players to fully observe the surrounding 3D virtual scene. Close-ups of individual virtual objects can also be played at this time, fully showcasing the skins, movements, and expressions worn by each virtual object.
[0065] Step 404 displays a gradually ascending lens picture of the three-dimensional virtual scene. The gradually ascending lens picture is a scene picture of the three-dimensional virtual scene under the gradually ascending lens perspective as the lens perspective gradually ascends and changes from a first close-up lens perspective to a long-range lens perspective.
[0066] The first close-up lens perspective mentioned above is a close-up lens perspective. This close-up lens perspective is a lens perspective that can observe the target object located in the three-dimensional virtual scene. The field of view is limited, and it is impossible to observe the distribution of birth points in the three-dimensional virtual scene, nor the global scene of the three-dimensional virtual scene. In order to allow the player to directly select a birth point in the three-dimensional virtual scene, the terminal displays the target virtual object through the first local scene of the three-dimensional virtual scene (i.e., the scene under the first close-up lens perspective), and then begins to display the gradually rising lens picture of the three-dimensional virtual scene. In order to avoid the player having to leave the three-dimensional virtual scene where the virtual battle is being carried out when selecting the birth point, which will interrupt the immersive gaming experience, the gradually rising lens picture displayed by the terminal is the scene picture of the three-dimensional virtual scene that can be observed during the process of the lens perspective gradually rising from the first close-up lens perspective and changing to the long-range lens perspective, that is, the scene picture of the three-dimensional virtual scene under the gradually rising lens perspective. The long-range camera perspective allows for observation of the distribution of spawn points within the 3D virtual scene, and even the overall 3D virtual scene. This facilitates understanding the surrounding environment of the player's chosen spawn point, enabling them to adopt appropriate combat strategies and coordinate combat strategies with fellow players. This avoids wasting time searching for friendly partners to collaborate with or enemy virtual objects to engage in combat, which can lead to prolonged game sessions and the resulting need for each game session to utilize significant processing resources on the terminal and server. In one embodiment, the long-range camera perspective is a bird's-eye view of the 3D virtual scene.
[0067] In one embodiment, after displaying the aforementioned first partial scene, the terminal can directly and automatically display a gradually zooming-out view of the 3D virtual scene, without requiring any player operation, and without requiring the player to manually zoom out of the 3D virtual scene. For example, after displaying the target virtual object through the first partial scene for a preset duration (e.g., 2 seconds), the terminal can directly and automatically display a gradually zooming-out view of the 3D virtual scene. This can reduce the number of active operations required by the player user, shorten the operation time before each game begins, allow the game to begin as quickly as possible, and reduce the duration of each game session.
[0068] In one embodiment, the scene configuration information of the three-dimensional virtual scene also includes a lens raising parameter corresponding to a preset birth point, and the lens raising parameter is used to indicate multiple lens perspectives that are gradually raised; displaying the gradually raised lens picture of the three-dimensional virtual scene includes: reading the scene configuration information of the three-dimensional virtual scene of the virtual game, the scene configuration information includes displaying the scene picture of the three-dimensional virtual scene under the gradually raised lens perspectives in the process of gradually raising from a first close-up lens perspective and changing to a long-range lens perspective based on the gradually raised multiple lens perspectives.
[0069] The scene configuration information for the 3D virtual scene also includes lens lift parameters corresponding to a preset spawn point. The lens lift parameters are used to indicate multiple gradually increasing lens perspectives. Specifically, a game can configure a preset spawn point for the 3D virtual scene and corresponding lens lift parameters for the preset spawn point. The lens lift parameters are used to indicate multiple gradually increasing lens perspectives. Each lens perspective has corresponding scene lens parameters, namely, lens focal length, angle, position, and lens effects, etc. The lens lift parameters can be understood as a collection of scene lens parameters corresponding to each of the multiple gradually increasing lens perspectives. Based on a scene lens parameter, the terminal can determine a lens perspective for observing the 3D virtual scene. Through this lens perspective, a partial scene of the 3D virtual scene can be observed. The terminal can then present this partial scene. The terminal obtains multiple gradually increasing lens perspectives corresponding to the multiple continuously changing scene lens parameters. Based on these multiple scene lens parameters, multiple continuous, gradually increasing lens perspectives for observing the 3D virtual scene can be determined. Through these lens perspectives, a gradually increasing lens image of the 3D virtual scene can be observed.
[0070] FIG6 is a schematic diagram illustrating the process of increasing the lens perspective in one embodiment. Referring to FIG6 , the scene displayed by the terminal gradually increases from a first local scene through the lens perspective. As the lens perspective changes, more and more of the three-dimensional virtual scene is located within the gradually increasing lens perspective, and the elements within the three-dimensional virtual scene become smaller and smaller, gradually revealing the overall three-dimensional virtual scene. During this process, players can clearly understand the surrounding environment of the three-dimensional virtual scene, allowing them to gain a comprehensive understanding of the three-dimensional virtual scene during the point selection phase and before the virtual battle begins. This also facilitates player understanding of the surrounding environment of their chosen spawn point, enabling them to adopt appropriate battle strategies and coordinate their battle strategies with players in the same camp. Furthermore, players will not be separated from the three-dimensional virtual scene where the virtual battle is taking place, thereby interrupting the immersive gaming experience.
[0071] Step 406: When the lens perspective changes to a long-range lens perspective, a second local scene is displayed. The second local scene is a local scene of the three-dimensional virtual scene under the long-range lens perspective. The second local scene includes multiple birth points.
[0072] Specifically, when the camera angle changes to a long-range camera angle, the terminal displays a second local scene. This second local scene is the local scene displayed when the 3D virtual scene is the observation object, and this local scene can present multiple spawn points in the 3D virtual scene. That is, as the camera angle gradually increases and finally changes to a long-range camera angle, the displayed second local scene includes multiple spawn points in the 3D virtual scene, allowing the player to observe the location of these multiple spawn points in the 3D virtual scene and their relationship to the surrounding environment (such as the target area).
[0073] In one embodiment, when the camera angle changes to a long-range camera angle, the terminal may mark multiple birth points in the three-dimensional virtual scene in the displayed second partial scene. The terminal may also mark key points in the three-dimensional virtual scene, such as a target area, in the displayed second partial scene.
[0074] In one embodiment, when the camera angle changes to a long-range camera angle, the terminal can mark the selected points of other virtual objects in the same camp as the target virtual object in the displayed second local scene, so that the player user has a global understanding of the tactical planning and teammate distribution before the virtual battle, improving the gaming experience, and avoiding the time spent on finding teammates to cooperate or finding enemy virtual objects to fight, which causes the entire game to take up too long, thereby causing each game to take up more processing resources of the terminal and server. For example, the terminal can display the object information of the corresponding virtual object, such as nicknames or avatars, near the birth points selected by other players for other virtual objects in the same camp. For another example, the terminal can mark corresponding prompt information at the corresponding birth point based on the selection of each birth point. The prompt information can be the number of player users who selected the birth point, the popularity value corresponding to the number, etc.
[0075] Optionally, the terminal can also determine whether the current player user has permission to view the location selection status of other virtual objects in the same camp based on the game account information of the current player user. If the corresponding permission exists, the terminal can mark the location selection status of other virtual objects in the displayed second partial scene. If the corresponding permission does not exist, the terminal will not mark the location selection status of other virtual objects in the displayed second partial scene. The existence of the corresponding permission can be that the current player user has purchased a specified prop through the game account, the game account is a specified level account, or the current player user has a specified virtual skill, etc.
[0076] In one embodiment, when the lens perspective changes to a long-range lens perspective, the terminal can mark the point selection status of other virtual objects that are in the same camp as the target virtual object, i.e., the first camp, in the displayed second local scene, and at the same time mark the point selection status of other virtual objects that are not in the same camp as the target virtual object, i.e., the second camp. The styles of the marking information of different camps can be different, so that the current toy user can have a global understanding of the tactical planning and teammate distribution before the virtual battle, thereby improving the gaming experience.
[0077] Step 408: Select a target birth point from multiple birth points.
[0078] Specifically, the second local scene includes multiple selectable birth points. In response to a selection operation on a target birth point among the multiple birth points, the terminal can use the selected target birth point as the birth point of the target virtual object in the three-dimensional virtual scene.
[0079] The above-mentioned virtual scene display method, device, computer equipment, storage medium and computer program product, in the birth point selection stage of the virtual game, displays a first partial scene of the three-dimensional virtual scene under the first close-up lens perspective, the first partial scene is a partial scene of the three-dimensional virtual scene under the first close-up lens perspective, the first partial scene includes a target virtual object, after the target virtual object is displayed, the lens gradually rises about the three-dimensional virtual scene. That is, in the process of the lens perspective gradually rising from the first close-up lens perspective and changing to the long-range lens perspective, the three-dimensional virtual scene is located at the scene picture of the gradually rising lens perspective, that is, the lens gradually rises the picture, and when the lens perspective changes to the long-range lens perspective, the second partial scene is displayed, the second partial scene is the three-dimensional virtual scene under the long-range lens perspective. The local scene under the perspective, the second local scene includes multiple birth points, and then the target birth point can be directly selected in the three-dimensional virtual scene, that is, the lens perspective of displaying the virtual object is directly converted to the long-range lens perspective of the three-dimensional virtual scene, so that the player can observe the scene environment of the three-dimensional virtual scene when selecting the birth point, and the lens perspective conversion is one shot from beginning to end, the experience is very smooth, the lens is switched completely in the three-dimensional virtual scene, and there is no need to switch to the plane simplified map to select the birth point and move the camera, avoiding the interruption of the immersive experience of the three-dimensional virtual scene by switching between the two, greatly improving the player's gaming experience. In addition, there is no need to configure and store the plane simplified map on the terminal or server, and there is no need to know how to render the plane simplified map, thereby reducing the processing resources required for the terminal and server.
[0080] In one embodiment, after selecting the target birth point from multiple birth points, the method also includes: displaying a third local scene, the third local scene being a local scene of the three-dimensional virtual scene located under the perspective of the second close-up lens, and the third local scene including the target virtual object located at the target birth point of the three-dimensional virtual scene.
[0081] After the terminal displays the second local scene and selects a target birth point from multiple birth points in the second local scene in response to an interactive operation triggered by the player, the terminal can directly display the third local scene.
[0082] The terminal can display the target virtual object at the target birth point of the three-dimensional virtual scene. The third partial scene is the partial scene displayed in the three-dimensional virtual scene from a second close-up lens perspective when the target virtual object located at the target birth point in the three-dimensional virtual scene is used as the observation object. The second close-up lens perspective is the lens perspective from which the target virtual object "born" at the target birth point in the three-dimensional virtual scene can be observed. In one embodiment, the second close-up lens perspective is the first-person perspective of the target virtual object located at the target birth point.
[0083] Figure 7 is a schematic diagram of a third partial scene in one embodiment. Referring to Figure 7 , the terminal displays the target virtual object at the selected target spawn point. The displayed third partial scene is part of the three-dimensional virtual scene, displaying the target virtual object for the upcoming virtual battle. This allows players to fully observe the surrounding environment of the three-dimensional virtual scene before the virtual battle officially begins.
[0084] In this embodiment, from displaying the target virtual object through the first local scene to displaying the target virtual object at the target birth point through the third local scene after the point selection is completed, this process does not deviate from the three-dimensional virtual scene where the virtual battle is conducted, allowing the player to fully observe the surrounding environment of the three-dimensional virtual scene and enhance the player's immersive gaming experience.
[0085] In one embodiment, before displaying the third partial scene of the three-dimensional virtual scene, the method also includes: displaying a gradually descending lens picture about the three-dimensional virtual scene, the gradually descending lens picture is a scene picture of the three-dimensional virtual scene under the gradually descending lens perspective in the process of the lens perspective gradually descending from the long-range lens perspective and changing to the second close-up lens perspective; displaying the third partial scene includes: when the lens perspective changes to the second close-up lens perspective, displaying the third partial scene, the third partial scene is the partial scene of the three-dimensional virtual scene under the second close-up lens perspective, the third partial scene is the partial scene of the target birth point of the three-dimensional virtual scene, and the third partial scene includes the target virtual object located at the target birth point.
[0086] In this embodiment, after displaying multiple spawn points in the 3D virtual scene through the perspective of a distant camera and selecting a spawn point, a gradually descending image of the 3D virtual scene begins to be displayed, and at the end of the descent, a third partial scene is displayed. To avoid the feeling of discontinuity when the player directly returns to the close-up view after selecting the target spawn point, the gradually descending image displayed on the terminal is the image of the 3D virtual scene that can be observed during the process of the camera perspective gradually descending from the distant camera perspective to the second close-up camera perspective, that is, the image of the 3D virtual scene within the gradually descending camera perspective.
[0087] In one embodiment, after displaying the above-mentioned second local scene, the terminal can automatically display a gradually descending camera image of the three-dimensional virtual scene after the player selects a birth point from the second local scene as the target birth point of the target virtual object, without any operation from the player and without the player having to manually zoom in on the three-dimensional virtual scene.
[0088] In one embodiment, a gradually descending lens picture of a three-dimensional virtual scene is displayed, comprising: reading scene configuration information of the three-dimensional virtual scene of the virtual game, the scene configuration information including lens descent parameters corresponding to each birth point, the lens descent parameters being used to indicate a plurality of gradually descending lens perspectives; and displaying a plurality of scene pictures of the three-dimensional virtual scene under the gradually descending lens perspectives in the process of gradually descending from a long-range lens perspective and changing to a second close-up lens perspective, according to the gradually descending lens perspectives indicated by the lens descent parameters corresponding to the target birth point.
[0089] The scene configuration information for the 3D virtual scene also includes a lens descent parameter corresponding to the selected target spawn point. The lens descent parameter is used to indicate multiple gradually descending lens perspectives. Specifically, a game can configure a corresponding lens descent parameter for each spawn point in the 3D virtual scene. The lens descent parameter is used to indicate multiple gradually descending lens perspectives. Each lens perspective has corresponding scene lens parameters, namely, lens focal length, angle, position, and lens effects, etc. The lens descent parameter can be understood as a set of scene lens parameters corresponding to each of the multiple gradually descending lens perspectives. Based on a scene lens parameter, the terminal can determine a lens perspective for observing the 3D virtual scene. Through this lens perspective, a partial scene of the 3D virtual scene can be observed. The terminal can then present this partial scene. The terminal obtains multiple gradually descending lens perspectives corresponding to the multiple continuously changing scene lens parameters. Based on these multiple scene lens parameters, multiple continuous, gradually descending lens perspectives for observing the 3D virtual scene can be determined. Through these lens perspectives, multiple gradually descending shots of the 3D virtual scene can be observed.
[0090] FIG8 is a schematic diagram illustrating the process of decreasing the camera angle in one embodiment. Referring to FIG7 , the scene displayed on the terminal gradually decreases from the second local scene through the camera angle. As the camera angle changes, the 3D virtual scene within the gradually decreasing camera angle decreases in size, elements within the 3D virtual scene become larger, and details of the 3D virtual scene at the target spawn point gradually reveal themselves. During this process, players can clearly understand the surrounding environment of the 3D virtual scene, allowing them to gain a comprehensive understanding of the environment surrounding their target spawn point during the point selection phase and before the virtual battle begins, without losing sight of the 3D virtual scene where the virtual battle is taking place, which would interrupt their immersive gaming experience.
[0091] In one embodiment, after displaying the third partial scene of the three-dimensional virtual scene, the method further includes: superimposing an operation control for controlling the target virtual object in the third partial scene; and in response to a triggering operation on the operation control, controlling the target virtual object to move in the three-dimensional virtual scene starting from the target birth point.
[0092] Operation controls are controls that can be used to control the movement of a target virtual object and the loading of virtual props. For example, these controls may include: backpack controls, direction indicators, external voice switches, microphone switches, controls for moving a virtual character, controls for controlling a virtual character to perform preset actions, controls for controlling a virtual character to load virtual props, and so on. Furthermore, the third local scene may also include display elements such as conversation messages, chat controls, and a thumbnail map of the 3D virtual scene.
[0093] As shown in Figure 9, this is a schematic diagram of the operation controls superimposed and displayed in the third local scene in one embodiment. Referring to Figure 9, when the lens perspective changes to the second close-up lens perspective, the operation controls are displayed in the third local scene. At this time, the player can use these operation controls to target the virtual object at the birth point to start a virtual battle, such as controlling the target virtual object to start moving, shooting, and other operations.
[0094] In one embodiment, after displaying a second partial scene of a three-dimensional virtual scene under the perspective of a long-range lens, the method includes: marking multiple birth points located in the second partial scene; the multiple birth points include a preset birth point of a target virtual object, the preset birth point is marked with a first style, and the other birth points among the multiple birth points except the preset birth point are marked with a second style, the first style represents a selected state, and the second style represents an unselected state.
[0095] When the lens perspective changes to a long-range lens perspective, the three-dimensional virtual scene displayed on the terminal is located in the second local scene under the long-range lens perspective, including multiple birth points. The terminal can mark the multiple birth points, and the default selection is a preset birth point among the multiple birth points. The preset birth point is marked with a first style, and the other birth points among the multiple birth points are marked with a second style. The first style represents a selected state, and the second style represents an unselected state.
[0096] FIG10 is a schematic diagram illustrating marking multiple spawn points in one embodiment. Referring to FIG10 , multiple spawn points in the second partial scene are marked with diamonds. Selected spawn point 1 is marked with a solid diamond, while unselected spawn points 2 and 3 are marked with hollow diamonds. Of course, the embodiment of the present application does not limit the marking style of the spawn points, as long as the selected and unselected states are represented by different styles.
[0097] In one embodiment, selecting a target birth point from a plurality of birth points includes: in response to a selection operation on the target birth point from the plurality of birth points, updating a display style of the preset birth point to a second style, and updating a display style of the target birth point to a first style.
[0098] In this embodiment, the player user can trigger a corresponding operation on the marked birth point. When the selection operation is triggered on the target birth point, the display style of the preset birth point in the displayed second local scene will be updated to the second style, and the display style of the selected target birth point will be updated to the first style, to indicate that the target birth point is currently selected as the birth point of the target virtual object for virtual battle.
[0099] In one embodiment, the method further includes: superimposing and displaying a birth point prompt area in a second local scene; displaying a selection box corresponding to each birth point in the birth point prompt area, wherein the object information within the selection box indicates that the corresponding virtual object has selected the corresponding birth point, and the object information of the target virtual object is within the selection box corresponding to the preset birth point.
[0100] The spawn point prompt area is used to display prompt information indicating whether each spawn point has been selected by multiple virtual objects participating in the virtual match (which may be virtual objects belonging to the same faction as the target virtual object). The terminal can obtain from the server which spawn point has been selected by the virtual objects belonging to the same faction as the target virtual object. The spawn point prompt area includes a checkbox corresponding to each spawn point, which displays the object information of the virtual object that selected that spawn point. The object information can include attribute information of the virtual object, such as a representative avatar of the virtual object, or account information of the virtual object's controlling account, such as an account avatar, account nickname, etc. The object information within the corresponding checkbox indicates that the corresponding virtual object has selected that spawn point. In this way, while the player user is selecting a spawn point, the spawn point selection status of other virtual objects (such as other virtual objects in the same faction) can be displayed in real time, allowing the player user to have a comprehensive understanding of the tactical planning and teammate distribution before the virtual match, thereby enhancing the gaming experience. Optionally, in the birth point prompt area, the object information of the target virtual object controlled by the terminal and the object information of other virtual objects are displayed in the corresponding selection box in different styles. For example, the object information of the teammate's virtual object (color value such as 75FBC3 100%) and the target virtual object controlled by the player user himself (color value such as FF874D 100%) are distinguished by color value.
[0101] In one embodiment, in response to the selection operation of the target birth point in the second local scene, the display style of the preset birth point is updated to the second style, the display style of the target birth point is updated to the first style, and the object information of the target virtual object is switched to the selection box corresponding to the target birth point.
[0102] Specifically, when the player user triggers a click operation on the birth point marked in the second local scene, the object information will be synchronously updated to the selection box corresponding to the clicked birth point.
[0103] In one embodiment, the method further includes: in the birth point prompt area, displaying the object information of other virtual objects in the first camp where the target virtual object is located in the selection box corresponding to the selected birth point, where the other virtual objects are virtual objects in the first camp other than the target virtual object.
[0104] Figure 11 shows a schematic diagram of a spawn point prompt area superimposed on a second partial scene in one embodiment. Referring to part (a) of Figure 11 , the default selected preset spawn point 1 is marked with a solid diamond, while the unselected spawn points 2 and 3 are marked with hollow diamonds. The selected box corresponding to spawn point 1 in the spawn point prompt area includes object information for the target virtual object and other virtual objects in the same faction. The selected box corresponding to spawn point 2 also includes object information for other virtual objects in the same faction. The selected box corresponding to spawn point 3 does not include any object information, indicating that no other virtual objects in the same faction have selected spawn point 3. When the player selects spawn point 2, spawn point 2 is marked with a solid diamond, while the unselected spawn points 1 and 3 are marked with hollow diamonds. Simultaneously, the object information for the target virtual object moves from the selected box corresponding to spawn point 1 to the selected box corresponding to spawn point 2. Once the player confirms the selection of spawn point 2 as the spawn point for the target virtual object using the confirmation control, the camera gradually descends, and the 3D virtual scene begins to display.
[0105] In one embodiment, in response to a triggering operation on a check box corresponding to a target birth point among multiple birth points, the object information of the target virtual object is switched to the check box corresponding to the target birth point, and the display style of the preset birth point in the second local scene is updated to the second style, and the display style of the target birth point in the second local scene is updated to the first style.
[0106] Specifically, when the player user selects the birth point through the birth point prompt area displayed in the second local scene, the style of the selected birth point in the second local scene will also synchronously change to the second style representing the selected state.
[0107] In one embodiment, the method further includes: marking a plurality of target areas in the second local scene; and displaying a recommended path from a preset birth point to each target area in the second local scene in an overlay manner.
[0108] The target area is the area that the virtual object needs to advance to during the virtual game. The multiple spawn points marked in the second local scene can be located near the target area. During the player user's point selection process, the terminal can mark the multiple spawn points and target areas in the second local scene. Recommended routes from the selected spawn point to each target area are also displayed.
[0109] In one embodiment, the method further includes canceling the display of the recommended paths from the preset birth point to each target area in response to a selection operation on a target birth point among multiple birth points, and superimposing the display of the recommended paths from the target birth point to each target area in the second local scene.
[0110] In this embodiment, when the player user switches between multiple birth points, the recommended path displayed in the second local scene will also switch with the selected birth point.
[0111] Figure 12 is a schematic diagram of recommended routes displayed in one embodiment. Referring to part (a) of Figure 12 , when spawn point 1 is selected, recommended routes from spawn point 1 to target area A and from spawn point 1 to target area B are displayed. Referring to part (b) of Figure 12 , when spawn point 2 is selected, recommended routes from spawn point 2 to target area A and from spawn point 2 to target area B are displayed.
[0112] As shown in Figure 13, it is a schematic diagram of the scene configuration information of a three-dimensional virtual map in an embodiment. Referring to Figure 13, the scene configuration information indicates three birth points 1, 2, and 3 in the three-dimensional virtual scene, and also indicates the scene lenses v1, v2, and v3 corresponding to each birth point. The scene lens corresponding to each birth point is determined by the corresponding scene lens parameters.
[0113] FIG14 shows a timing diagram of a virtual scene display method according to one embodiment. Referring to FIG14 , at the initial point selection stage of a virtual game, after the player selects a virtual character as the control object for the virtual game, the game client reads the scene configuration information of the three-dimensional virtual scene. The scene configuration information includes the preset spawn point in the three-dimensional virtual scene and the scene lens parameters for the preset spawn point, as well as the lens elevation parameters corresponding to the preset spawn point and the lens descent parameters corresponding to each spawn point. The scene lens parameters indicate that the lens perspective corresponding to the preset spawn point in the three-dimensional virtual scene is a first close-up lens perspective. The terminal displays the first partial scene of the preset spawn point where the target virtual object is located based on this first close-up lens perspective. Then, without any player operation, the terminal displays the corresponding lens elevation screen based on the lens elevation parameters corresponding to the preset spawn point. The lens perspective gradually rises until it reaches a long-range lens perspective that provides a bird's-eye view of the three-dimensional virtual scene. The bird's-eye view includes multiple birth points in the three-dimensional virtual scene. What is displayed at this time is the second local scene. The preset birth point is selected by default in the second local scene. When the player user switches to select another birth point, the style of each birth point in the second local scene changes accordingly, the recommended path is also displayed synchronously, and the objects in the selected box corresponding to each birth point in the birth point prompt area also change synchronously. After the player user confirms that the target birth point is the birth point of the target virtual object, the terminal triggers the point selection completion instruction. This instruction will trigger the terminal to read the lens descent parameters corresponding to the target birth point. According to the lens descent parameters, the corresponding lens gradually descends. The lens angle gradually descends until it switches back to the first-person perspective of the target virtual object at the target birth point, that is, the second close-up lens angle. At this time, the terminal displays the third local scene, that is, the scene screen where the lens angle switches back. The terminal can overlay the operation controls for controlling the target virtual object in the third local scene, thereby conducting the battle stage of the virtual game.
[0114] In a specific embodiment, the virtual scene display method executed by the terminal includes the following steps:
[0115] 1. During the virtual game's spawn point selection phase, the virtual game interface will be displayed;
[0116] 2. Reading scene configuration information of the three-dimensional virtual scene of the virtual game; the scene configuration information includes a preset spawn point in the three-dimensional virtual scene and scene lens parameters of the preset spawn point, wherein the scene lens parameters indicate that the lens perspective corresponding to the preset spawn point of the three-dimensional virtual scene is a first close-up lens perspective;
[0117] 3. Displaying a first partial scene in the virtual game interface based on the first close-up lens perspective. The first partial scene is a partial scene where the target virtual object is located at a preset spawn point in the three-dimensional virtual scene.
[0118] 4. Displaying virtual objects of the first camp of the virtual game in the first local scene, where the virtual objects of the first camp include the target virtual object;
[0119] 5. After the virtual object display is complete, the scene configuration information of the three-dimensional virtual scene of the virtual game is read. The scene configuration information includes the lens enhancement parameters corresponding to the preset spawn point. The lens enhancement parameters are used to indicate multiple lens angles that are gradually enhanced.
[0120] 6. Displaying, based on the gradually increasing lens perspectives, multiple scene images of the three-dimensional virtual scene located at the gradually increasing lens perspectives as the first close-up lens perspective gradually increases and changes to the long-range lens perspective;
[0121] 7. When the camera angle changes to a long-range camera angle, a second partial scene of the three-dimensional virtual scene located under the long-range camera angle is displayed, wherein the second partial scene includes multiple birth points;
[0122] 8. Mark multiple spawn points in the second partial scene; the multiple spawn points include a preset spawn point of the target virtual object, the preset spawn point is marked with a first pattern, and the other spawn points in the multiple spawn points are marked with a second pattern, where the first pattern indicates a selected state, and the second pattern indicates an unselected state;
[0123] 9. A spawn point prompt area is superimposed on the second partial scene. A check box corresponding to each spawn point is displayed in the spawn point prompt area. Object information within the check box indicates that the corresponding spawn point has been selected. The object information of the target virtual object is located within the check box corresponding to the preset spawn point.
[0124] 10. In response to an operation of switching a spawn point among multiple spawn points, the display style of the preset spawn point is updated to the second style, the display style of the spawn point switched to is updated to the first style, and the object information of the target virtual object is switched to the selected box corresponding to the spawn point switched to;
[0125] 11. In response to a triggering operation on a check box corresponding to a target spawn point among the multiple spawn points, the object information of the target virtual object is switched to the check box corresponding to the target spawn point, and the display style of the preset spawn point in the second local scene is updated to the second style, and the display style of the target spawn point in the second local scene is updated to the first style;
[0126] 12. In response to the confirmation selection operation of the target birth point, the target birth point is used as the birth point of the target virtual object during the virtual battle;
[0127] 13. Read the scene configuration information of the 3D virtual scene of the virtual game. The scene configuration information includes the lens descent parameters corresponding to each spawn point. The lens descent parameters are used to indicate multiple lens angles that gradually descend.
[0128] 14. Displaying the three-dimensional virtual scene from the multiple gradually descending lens perspectives as it gradually descends from the distant lens perspective to the second close-up lens perspective, based on the multiple gradually descending lens perspectives indicated by the lens descending parameters corresponding to the target birth point;
[0129] 15. When the camera angle changes to the second close-up camera angle, a third partial scene is displayed in which the target virtual object is located at the target birth point of the three-dimensional virtual scene. The third partial scene is a partial scene in which the camera angle is the second close-up camera angle and the target virtual object is located at the target birth point of the three-dimensional virtual scene.
[0130] 16. Overlaying and displaying operation controls for controlling the target virtual object in the third partial scene;
[0131] 17. In response to a triggering operation on the operating control, control the target virtual object to move in the three-dimensional virtual scene starting from the target birth point.
[0132] The embodiment of the present application also provides an application scenario. When the battle game client is started and the birth point selection phase is entered, the battle game client begins to read the scene configuration parameters corresponding to the current three-dimensional map in the birth point selection phase. The scene configuration information includes the preset birth point in the current three-dimensional map, the scene lens parameters of the preset birth point, and the lens enhancement parameters corresponding to the preset birth point, so as to confirm the character display lens perspective and the bird's-eye lens perspective of the three-dimensional map. Then, according to the read lens enhancement parameters, the lens animation is played, and the lens perspective will eventually stay at a perspective overlooking the entire three-dimensional map, thereby facilitating the player user to obtain the key point information of the entire three-dimensional map (such as multiple selectable birth points, target areas, travel paths, etc.). After the lens animation stays at the bird's-eye view, the list on the right side of the interface displays the respective check boxes of the optional birth points of this three-dimensional map, and the preset birth point is selected by default. The selected state and the unselected state will be synchronized to the display style of the birth point in the three-dimensional map. The object information of the selected virtual object is read and displayed to the right of the selected birth point option. When the player clicks on the checkbox of an unselected spawn point, the checkbox of the clicked spawn point and the style of the spawn point in the three-dimensional map will also switch to the selected state. Then, the terminal generates a recommended path based on the connection between the position of the player's selected spawn point and the target area of the map and renders it in the current scene. After the terminal clicks the "Confirm" button, it sends an end instruction to the opposing game client, the camera perspective returns to the first-person perspective, and the three-dimensional model of the target virtual object is transmitted to the target spawn point in the scene. After the three-dimensional model of the target virtual object and the camera perspective are returned to their original positions, the operation controls for controlling the virtual object are displayed. At this time, the operation controls are all activated, and the player user enters the virtual battle state.
[0133] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially as indicated by the arrows, these steps are not necessarily executed sequentially in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times. The order of execution of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with other steps or at least a portion of steps or stages in other steps.
[0134] Based on the same inventive concept, the present application also provides a virtual scene display device for implementing the aforementioned virtual scene display method. The solution provided by this device is similar to the solution described in the aforementioned method, so the specific limitations of one or more virtual scene display device embodiments provided below can be referenced to the limitations of the virtual scene display method described above.
[0135] In one embodiment, as shown in FIG15 , a virtual scene display device 1500 is provided, comprising: a first display module 1502 , a lens raising module 1504 , a second display module 1506 , and a birth point selection module 1508 , wherein:
[0136] A first display module 1502 is configured to display a first partial scene during the spawn point selection phase of the virtual game, wherein the first partial scene is a partial scene of the 3D virtual scene located within the perspective of the first close-up lens and includes a target virtual object.
[0137] The lens raising module 1504 is configured to display a gradually raising lens image of the 3D virtual scene. The gradually raising lens image is a scene image of the 3D virtual scene under the gradually raising lens perspective as the lens perspective gradually rises from a first close-up lens perspective to a long-range lens perspective;
[0138] The second display module 1506 is configured to display a second partial scene when the lens perspective changes to a long-range lens perspective. The second partial scene is a partial scene of the three-dimensional virtual scene located under the long-range lens perspective. The second partial scene includes multiple birth points.
[0139] The birth point selection module 1508 is used to select a target birth point from multiple birth points.
[0140] In one embodiment, the first display module 1502 is also used to display a virtual game interface during the birth point selection stage of the virtual game; in the virtual game interface, a first partial scene of the three-dimensional virtual scene is displayed, the first partial scene is a partial scene of the three-dimensional virtual scene under the perspective of the first close-up lens, the first partial scene is a partial scene at a preset birth point of the three-dimensional virtual scene, and the first partial scene includes a target virtual object located at the preset birth point.
[0141] In one embodiment, the first display module 1502 is also used to read the scene configuration information of the three-dimensional virtual scene of the virtual game; the scene configuration information includes a preset birth point in the three-dimensional virtual scene and the scene lens parameters of the preset birth point, and the scene lens parameters indicate that the lens perspective corresponding to the preset birth point of the three-dimensional virtual scene is a first close-up lens perspective; according to the first close-up lens perspective, a first local scene of the target virtual object at the preset birth point of the three-dimensional virtual scene is displayed.
[0142] In one embodiment, the scene configuration information further includes a lens raising parameter corresponding to a preset birth point, where the lens raising parameter is used to indicate a plurality of lens viewing angles that are gradually raised;
[0143] The lens raising module 1504 is also used to display multiple scene images of the three-dimensional virtual scene under the gradually rising lens perspectives in the process of gradually raising and changing from the first close-up lens perspective to the long-range lens perspective according to the gradually rising lens perspectives.
[0144] In one embodiment, as shown in FIG16 , the apparatus 1500 further includes:
[0145] The third display module 1512 is used to display a third partial scene, which is a partial scene of the 3D virtual scene located at the second close-up lens perspective, and includes a target virtual object located at a target birth point of the 3D virtual scene.
[0146] In one embodiment, as shown in FIG16 , the apparatus 1500 further includes:
[0147] The lens descending module 1510 is configured to display a gradually descending lens image of the 3D virtual scene. The gradually descending lens image is a scene image of the 3D virtual scene under the gradually descending lens perspective as the lens perspective gradually descends from a long-range lens perspective to a second close-up lens perspective;
[0148] The third display module 1512 is also used to display a third local scene when the lens perspective changes to a second close-up lens perspective. The third local scene is a local scene of the three-dimensional virtual scene located under the second close-up lens perspective. The third local scene is a local scene at the target birth point of the three-dimensional virtual scene. The third local scene includes a target virtual object located at the target birth point.
[0149] In one embodiment, the third display module 1512 is also used to read the scene configuration information of the three-dimensional virtual scene of the virtual game, where the scene configuration information includes a lens descent parameter corresponding to each birth point, where the lens descent parameter is used to indicate a plurality of gradually descending lens perspectives; and according to the plurality of gradually descending lens perspectives indicated by the lens descent parameter corresponding to the target birth point, a plurality of scene images of the three-dimensional virtual scene under the plurality of gradually descending lens perspectives in the process of gradually descending from a long-range lens perspective and changing to a second close-up lens perspective are displayed.
[0150] In one embodiment, the apparatus 1500 further includes:
[0151] The operation control display module is used to superimpose and display the operation control for controlling the target virtual object in the third local scene; in response to the triggering operation of the operation control, the target virtual object is controlled to move in the three-dimensional virtual scene starting from the target birth point.
[0152] In one embodiment, the second display module 1506 is also used to mark multiple birth points located in the second local scene, the multiple birth points including a preset birth point of the target virtual object, the preset birth point is marked with a first style, and the other birth points among the multiple birth points except the preset birth point are marked with a second style, the first style represents a selected state, and the second style represents an unselected state.
[0153] In one embodiment, the birth point selection module 1508 is further configured to update the display style of the preset birth point to the second style and update the display style of the target birth point to the first style in response to a selection operation on a target birth point from among the multiple birth points.
[0154] In one embodiment, the birth point selection module 1508 is also used to superimpose the birth point prompt area in the second local scene; a selection box corresponding to each birth point is displayed in the birth point prompt area, and the object information located in the selection box indicates that the corresponding virtual object has selected the corresponding birth point, and the object information of the target virtual object is located in the selection box corresponding to the preset birth point.
[0155] In one embodiment, the birth point selection module 1508 is also used to respond to the triggering operation of the selection box corresponding to the target birth point among multiple birth points, switch the object information of the target virtual object to the selection box corresponding to the target birth point, and update the display style of the preset birth point in the second local scene to the second style, and update the display style of the target birth point in the second local scene to the first style.
[0156] In one embodiment, the birth point selection module 1508 is also used to update the display style of the preset birth point to the second style, update the display style of the target birth point to the first style, and switch the object information of the target virtual object to the selection box corresponding to the target birth point in the second local scene.
[0157] In one embodiment, the birth point selection module 1508 is further configured to display object information of other virtual objects in the first camp where the target virtual object is located in a selection box corresponding to the selected birth point in the birth point prompt area.
[0158] In one embodiment, the birth point selection module 1508 is further configured to mark multiple target areas in the second local scene; and in the second local scene, a recommended path from the preset birth point to each target area is displayed in an overlay manner.
[0159] In one embodiment, the birth point selection module 1508 is further used to cancel the display of the recommended paths from the preset birth point to each target area in response to the selection operation of the target birth point among multiple birth points, and superimpose the recommended paths from the target birth point to each target area in the second local scene.
[0160] The above-mentioned virtual scene display device 1500 displays a first local scene during the birth point selection stage of the virtual game. The first local scene is a local scene of the three-dimensional virtual scene located under the first close-up lens perspective. The first local scene includes a target virtual object. After the target virtual object is displayed, a gradually rising lens picture of the three-dimensional virtual scene is displayed, that is, the three-dimensional virtual scene is located under the gradually rising lens perspective during the process of the lens perspective gradually rising from the first close-up lens perspective and changing to the long-range lens perspective. That is, the lens gradually rises and displays a second local scene when the lens perspective changes to the long-range lens perspective. The second local scene is a local scene of the three-dimensional virtual scene located under the long-range lens perspective. The second local scene includes Multiple birth points are included, and then the target birth point can be directly selected in the three-dimensional virtual scene, that is, the lens perspective of displaying the virtual object is directly converted to the long-range lens perspective of the three-dimensional virtual scene, so that the player can observe the scene environment of the three-dimensional virtual scene when selecting the birth point, and the conversion of the lens perspective is one shot to the end, and the experience is very smooth. The lens is switched completely in the three-dimensional virtual scene, and there is no need to switch to the plane simplified map to select the birth point and move the camera, which avoids interrupting the immersive experience of the three-dimensional virtual scene by switching between the two, greatly improving the player's gaming experience. In addition, there is no need to configure and store the plane simplified map on the terminal or server, and there is no need to know how to render the plane simplified map, thereby reducing the processing resources required for the terminal and server.
[0161] Each module in the virtual scene display device 1500 can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software so that the processor can call and execute the corresponding operations of each module.
[0162] In one embodiment, a computer device is provided, which may be a terminal. A diagram of its internal structure may be shown in FIG17 . The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The input / output interface of the computer device is configured to exchange information between the processor and an external device. The communication interface of the computer device is configured to communicate with an external terminal via wired or wireless communication, where the wireless communication may be implemented via Wi-Fi, a mobile cellular network, NFC (near-field communication), or other technologies. When executed by the processor, the computer-readable instructions implement a method for displaying a virtual scene. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.
[0163] Those skilled in the art will understand that the structure shown in Figure 17 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0164] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, the steps of the virtual scene display method provided in the embodiment of the present application are implemented.
[0165] In one embodiment, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the steps of the virtual scene display method provided in the embodiment of the present application are implemented.
[0166] In one embodiment, a computer program product is provided, comprising computer-readable instructions, which, when executed by a processor, implement the steps of the virtual scene display method provided in an embodiment of the present application.
[0167] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0168] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile computer-readable storage medium. When the computer-readable instructions are executed, they can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0169] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0170] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A virtual scene display method, executed by a terminal, the method comprising: In the birth point selection stage of the virtual game, a first local scene is displayed, where the first local scene is a local scene of the three-dimensional virtual scene under the perspective of a first close-up lens, and the first local scene includes a target virtual object; Displaying a gradually-rising lens picture of the three-dimensional virtual scene, wherein the gradually-rising lens picture is a scene picture of the three-dimensional virtual scene under the gradually-rising lens perspective during the process in which the lens perspective gradually rises from the first close-up lens perspective and changes to the long-range lens perspective; When the lens perspective changes to the long-range lens perspective, displaying a second local scene, the second local scene being a local scene of the three-dimensional virtual scene under the long-range lens perspective, and the second local scene including a plurality of birth points; A target birth point is selected from the multiple birth points.
2. The method according to claim 1, characterized in that In the virtual game birth point selection stage, the first local scene is displayed, including: During the virtual game's birth point selection phase, the virtual game interface is displayed; In the virtual game interface, a first partial scene of a three-dimensional virtual scene is displayed, wherein the first partial scene is a partial scene of the three-dimensional virtual scene under the perspective of the first close-up lens, and the first partial scene is a partial scene at a preset birth point of the three-dimensional virtual scene, and the first partial scene includes the target virtual object located at the preset birth point.
3. The method according to claim 2, characterized in that The step of displaying a first partial scene of a three-dimensional virtual scene in the virtual game interface includes: In the virtual game interface, a first partial scene of a three-dimensional virtual scene is displayed, wherein the first partial scene includes virtual objects of a first camp of the virtual game, the virtual objects of the first camp include the target virtual object, and the virtual objects of the first camp are located at the preset birth point.
4. The method according to any one of claims 1 to 3, characterized in that The displaying of the first local scene comprises: Reading scene configuration information of the three-dimensional virtual scene of the virtual game, the scene configuration information including a preset birth point in the three-dimensional virtual scene and a scene lens parameter of the preset birth point, the scene lens parameter indicating that the lens perspective of the three-dimensional virtual scene corresponding to the preset birth point is the first close-up lens perspective; According to the first close-up lens perspective, a first local scene is displayed, where the first local scene is a local scene where the target virtual object is located at the preset birth point of the three-dimensional virtual scene.
5. The method according to claim 4, characterized in that The scene configuration information further includes a lens enhancement parameter corresponding to the preset birth point, wherein the lens enhancement parameter is used to indicate a plurality of lens viewing angles that are gradually enhanced; The step of gradually raising the camera lens of the three-dimensional virtual scene includes: According to the gradually increasing multiple lens perspectives, multiple scene images of the three-dimensional virtual scene located under the gradually increasing multiple lens perspectives are displayed in the process of gradually increasing and changing from the first close-up lens perspective to the long-range lens perspective.
6. The method according to any one of claims 1 to 5, characterized in that After selecting the target birth point from the multiple birth points, the method further includes: Display a third local scene, wherein the third local scene is the three-dimensional virtual scene located under the perspective of the second close-up lens. A local scene of the third local scene, wherein the third local scene includes the target virtual object located at the target birth point of the three-dimensional virtual scene.
7. The method according to claim 6, characterized in that Before displaying the third partial scene, the method further includes: Displaying a gradually descending lens picture about the three-dimensional virtual scene, wherein the gradually descending lens picture is a scene picture of the three-dimensional virtual scene under the gradually descending lens perspective during the process in which the lens perspective gradually descends from the long-range lens perspective and changes to the second close-range lens perspective; The displaying of the third local scene comprises: When the lens perspective changes to the second close-up lens perspective, a third local scene is displayed, wherein the third local scene is a local scene of the three-dimensional virtual scene under the second close-up lens perspective, and the third local scene is a local scene at the target birth point of the three-dimensional virtual scene, and the third local scene includes the target virtual object located at the target birth point.
8. The method according to claim 7, characterized in that The step of displaying a gradually descending camera image of the three-dimensional virtual scene includes: Reading scene configuration information of the three-dimensional virtual scene of the virtual game, wherein the scene configuration information includes a lens descent parameter corresponding to each birth point, wherein the lens descent parameter is used to indicate a plurality of lens viewing angles that gradually descend; According to the gradually descending multiple lens perspectives indicated by the lens descent parameters corresponding to the target birth point, multiple scene images of the three-dimensional virtual scene under the gradually descending multiple lens perspectives are displayed in the process of gradually descending from the distant lens perspective and changing to the second close-up lens perspective.
9. The method according to claim 6, characterized in that After displaying the third partial scene, the method further includes: Overlaying and displaying an operation control for controlling the target virtual object in the third local scene; In response to a triggering operation on the operation control, the target virtual object is controlled to move in the three-dimensional virtual scene starting from the target birth point.
10. The method according to any one of claims 1 to 9, characterized in that After displaying the second local scene, the method further comprises: Mark multiple birth points located in the second local scene, the multiple birth points include a preset birth point of the target virtual object, the preset birth point is marked with a first style, and the other birth points among the multiple birth points except the preset birth point are marked with a second style, the first style represents a selected state, and the second style represents an unselected state.
11. The method according to claim 10, characterized in that The step of selecting a target birth point from the multiple birth points includes: In response to a selection operation of a target birth point among the multiple birth points, the display style of the preset birth point is updated to the second style, and the display style of the target birth point is updated to the first style.
12. The method according to claim 10, characterized in that The method further comprises: Overlaying and displaying a birth point prompt area in the second local scene; A selection box corresponding to each birth point is displayed in the birth point prompt area, and the object information located in the selection box indicates that the corresponding virtual object has selected the corresponding birth point, and the object information of the target virtual object is located in the selection box corresponding to the preset birth point.
13. The method according to claim 12, characterized in that The method further comprises: In response to a triggering operation on a selection box corresponding to a target birth point among the multiple birth points, the object information of the target virtual object is switched to the selection box corresponding to the target birth point, and the display style of the preset birth point in the second local scene is updated to the second style, and the display style of the target birth point in the second local scene is updated to the first style.
14. The method according to claim 12, characterized in that The method further comprises: In response to the selection operation of the target birth point in the second local scene, the display style of the preset birth point is updated to the second style, the display style of the target birth point is updated to the first style, and the object information of the target virtual object is switched to the selection box corresponding to the target birth point.
15. The method according to claim 12, characterized in that The method further comprises: In the birth point prompt area, object information of other virtual objects in the first camp where the target virtual object is located is displayed in a selection box corresponding to the selected birth point, and the other virtual objects are virtual objects in the first camp except the target virtual object.
16. The method according to claim 10, characterized in that The method further comprises: marking a plurality of target areas located in the second local scene; In the second local scene, a recommended path from the preset birth point to each of the target areas is superimposed and displayed.
17. The method according to claim 16, characterized in that The method further comprises: In response to a selection operation of a target birth point among the multiple birth points, the recommended path from the preset birth point to each of the target areas is canceled, and the recommended path from the target birth point to each of the target areas is superimposed and displayed in the second local scene.
18. A virtual scene display device, comprising: A first display module is used to display a first local scene during the birth point selection phase of the virtual game, wherein the first local scene is a local scene of the three-dimensional virtual scene under the perspective of a first close-up lens, and the first local scene includes a target virtual object; A lens raising module, used for displaying a gradually raising lens picture about the three-dimensional virtual scene, wherein the gradually raising lens picture is a scene picture of the three-dimensional virtual scene under the gradually raising lens perspective in the process that the lens perspective gradually rises from the first close-up lens perspective and changes to the long-range lens perspective; A second display module, configured to display a second local scene when the lens viewing angle changes to the distant lens viewing angle, wherein the second local scene is a local scene of the three-dimensional virtual scene under the distant lens viewing angle, and the second local scene includes a plurality of birth points; The birth point selection module is used to select a target birth point from the multiple birth points.
19. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the method according to any one of claims 1 to 17 when executing the computer-readable instructions.
20. A computer-readable storage medium having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by a processor, implement the steps of the method according to any one of claims 1 to 17.
Citation Information
Patent Citations
Rendering display method and device of game pictures, terminal and storage medium
CN109621413A
Virtual object control method, virtual object control device, terminal and storage medium
CN110465090A
Switching method and device of scenes in game, electronic equipment and readable storage medium
CN114225399A
Method and apparatus for dynamically controlling camera parameters based on game play events
US20040219980A1
