Scene screen display method, device, terminal, and computer program

By determining the target position and posture of virtual objects in 2D scenes based on 3D skill animations, the method addresses the challenge of inconsistent transitions in side-scrolling games, improving screen smoothness and display effects.

JP2024539192AActive Publication Date: 2024-10-28TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024523780
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-01-07
Filing Date
2022-10-27
Publication Date
2024-10-28
Estimated Expiration
2042-10-27

AI Technical Summary

Technical Problem

Existing side-scrolling mobile games face challenges in smoothly connecting 3D skill animations to 2D virtual scenes, leading to discomfort and low display effects due to inconsistent perspective and transitions.

Method used

A method and device that determine the target position and posture of virtual objects in a 2D virtual scene based on the target segment of a 3D skill animation, ensuring smooth transitions and improved display effects by aligning the position and orientation of virtual objects.

Benefits of technology

Enhances the smoothness of screen connections and display quality by matching the position and orientation of virtual objects between 3D skill animations and 2D virtual scenes, providing a seamless user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024539192000001_ABST
    Figure 2024539192000001_ABST
Patent Text Reader

Abstract

The present application relates to a method, device, terminal, and storage medium for displaying a scene screen, which belongs to the technical field of computers. The method includes a step of displaying a scene screen of a two-dimensional virtual scene (201), a step of playing a three-dimensional skill animation corresponding to a target skill of the virtual object (202) in response to a use operation for the target skill of the virtual object (203), and a step of displaying the virtual object (204) in a target position and a target posture on the scene screen of the two-dimensional virtual scene in response to completion of the playback of the three-dimensional skill animation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to Chinese Patent Application No. 202210016658.6, filed on January 7, 2022, entitled "Scene Screen Display Method, Apparatus, Terminal and Storage Medium," the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of computer technology, and in particular to a scene screen display method, device, terminal, and storage medium. [Background technology]

[0003] As device capabilities become more diverse, the types of games that can be run on devices are increasing. Side-scrolling action mobile games are popular games, in which users can control virtual objects to move within a 2D virtual scene. Such games generally include 3D scenario animation and 3D skill animation, and how to connect the 3D animation and the 2D scene screen is a problem to be solved. Summary of the Invention [Problem to be solved by the invention]

[0004] The embodiments of the present application provide a scene screen display method, device, terminal and storage medium, which smoothly connects when switching from 3D skill animation to 2D virtual scene scene screen, improves the smoothness of screen connection, and improves the display effect. The technical means are as follows: [Means for solving the problem]

[0005] According to one aspect, the present embodiment comprises: displaying a scene screen of a two-dimensional virtual scene, the scene screen displaying a virtual object; In response to a use operation of the virtual object for a target skill, a three-dimensional skill animation corresponding to the target skill is played, the three-dimensional skill animation being generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene; The present invention provides a method for displaying a scene screen, the method including: in response to completion of playback of the three-dimensional skill animation, displaying the virtual object at a target position and with a target posture on a scene screen of the two-dimensional virtual scene, the target position and the target posture being determined based on a target segment of the three-dimensional skill animation.

[0006] According to another aspect, the present embodiment comprises: a first display module for displaying a scene screen of a two-dimensional virtual scene, the scene screen displaying a virtual object; a first playback module that plays a three-dimensional skill animation corresponding to a target skill in response to a use operation of the virtual object for the target skill, the three-dimensional skill animation being generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene; The first display module further displays the virtual object at a target position and target posture on a scene screen of the two-dimensional virtual scene in response to completion of playback of the three-dimensional skill animation, the target position and the target posture being determined based on a target segment of the three-dimensional skill animation.

[0007] According to another aspect, there is provided a terminal including a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded and executed by the processor to realize a scene screen display method in an embodiment of the present application.

[0008] According to another aspect, there is provided a computer-readable storage medium having stored thereon at least one computer program, the at least one computer program being loaded and executed by a processor to realize a scene screen display method in an embodiment of the present application.

[0009] According to another aspect, there is provided a computer program product including computer program code stored in a computer readable storage medium, the computer program code being read by a processor of a terminal from the computer readable storage medium and executed to cause the terminal to execute the scene screen display method according to various preferred embodiments of each of the above aspects. [Brief description of the drawings]

[0010] [Figure 1] FIG. 2 is a schematic diagram of an implementation environment of a scene screen display method according to an embodiment of the present application. [Diagram 2] 4 is a flowchart of a scene screen display method according to an embodiment of the present application. [Diagram 3] 11 is a flowchart of another scene screen display method according to an embodiment of the present application; [Figure 4] FIG. 2 is a schematic diagram of a scene screen according to an embodiment of the present application; [Diagram 5] 11A-11C are schematic diagrams illustrating the effect of a virtual object before and after translation when performing perspective viewing, according to an embodiment of the present application. [Figure 6] 11A-11C are schematic diagrams illustrating the effect of a virtual object before and after translation when performing perspective correction, according to an embodiment of the present application. [Figure 7] 1 is a schematic diagram of a target segment of a 3D skill animation according to an embodiment of the present application; [Figure 8] FIG. 2 is a schematic diagram of reconciling an object model according to an embodiment of the present application; [Figure 9]FIG. 2 is a schematic diagram of an object model of a virtual object according to an embodiment of the present application. [Figure 10] FIG. 1 is a schematic diagram of adjusting a virtual background according to an embodiment of the present application; [Figure 11] FIG. 13 is a schematic diagram of another scene screen according to an embodiment of the present application; [Figure 12] FIG. 2 is a schematic diagram of trend-based connections according to an embodiment of the present application. [Figure 13] FIG. 2 is a schematic diagram of another trend link according to an embodiment of the present application. [Figure 14] 4 is a flowchart of displaying a virtual scene screen according to an embodiment of the present application. [Figure 15] FIG. 2 is a structural schematic diagram of a scene screen display device according to an embodiment of the present application; [Figure 16] FIG. 2 is a structural schematic diagram of a display device of another scene screen according to an embodiment of the present application; [Figure 17] FIG. 2 is a block diagram of a terminal according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Currently, the transition is generally made by cutting, that is, after the scenario animation or skill animation is finished, the scene screen of the 2D virtual scene is directly switched to, which gives an awkward feeling, the transition of the virtual scene screen is not smooth, and the display effect is poor.

[0012] To facilitate understanding, the following definitions are used in the present application.

[0013] A virtual scene is a virtual scene that is displayed (or provided) when an application program is executed on a terminal. The virtual scene may be a simulated environment of the real world, a semi-simulated semi-fictional virtual scene, or even a purely fictional virtual scene. The virtual scene may be a 2D virtual scene, a 2.5D virtual scene, or a 3D virtual scene. For example, the virtual scene may include sky, land, sea, etc., the land may include environmental elements such as desert, city, etc., and the user can control virtual objects to move within the virtual scene.

[0014] A virtual object is a movable object in a virtual world. The movable object may be at least one of a virtual person, a virtual animal, and an animated character. In some embodiments, when the virtual world is a three-dimensional virtual world, the virtual object is a three-dimensional solid model, and each virtual object has its own shape and volume in the three-dimensional virtual world and occupies a part of the space in the three-dimensional virtual world. In some embodiments, the virtual object is a three-dimensional character constructed based on three-dimensional human body skeleton technology, and the virtual object realizes different external images by wearing different skins. In some embodiments, the virtual object can be realized as a 2.5-dimensional or 2-dimensional model, and the embodiments of the present application are not limited thereto.

[0015] Side-scrolling is a type of game in which the path of movement of the game character is controlled on a horizontal screen, and the game character can only move from left to right or right to left in the virtual scene. In all or most of the virtual scene screens in a side-scrolling game, the path of movement of the game character is along the horizontal direction. According to the content, side-scrolling games can be divided into games such as side-scrolling clear, side-scrolling adventure, side-scrolling competition, and side-scrolling strategy, and according to the technology, side-scrolling games can be divided into 2D side-scrolling games and 3D side-scrolling games.

[0016] Action games are a type of game that emphasizes the user's reaction abilities and hand-eye coordination.

[0017] Mobile games refer to games that run on a mobile device (such as a tablet computer or mobile phone) and are often referred to as handheld games.

[0018] A special skill refers to the skill of a virtual object in a game. Each virtual object operated by a user has a skill called a special skill, and the virtual object operated by a user can activate the special skill when certain conditions are met during battle. Compared to general skills, special skills have more spectacular visual effects such as lens transformation and character close-up.

[0019] Perspective refers to a method of depicting the spatial relationship of objects on a plane. When a virtual object translates from left to right, virtual objects at different positions on the virtual scene screen will not appear to match due to perspective, and virtual objects at different positions will not overlap.

[0020] Perspective correction is a method for removing the perspective effect of virtual objects. In order to allow players to better grasp the key information of virtual objects in side-scrolling games and achieve the best presentation effect, the perspective effect of virtual objects is removed by special means so that the size and angle of the virtual objects after perspective correction appear to be the same when they move to different positions on the virtual scene screen.

[0021] The horizontal scroll lens is a lens that can move in two-dimensional directions, and uses perspective correction technology for the virtual scene screen when the user operates the virtual object, so that the viewing angle of the virtual scene screen is fixed, and the size displayed on the virtual scene screen does not change when the virtual object moves within the virtual scene. In the embodiment of the present application, the two-dimensional lens is a horizontal scroll lens.

[0022] A 3D (3-Dimension) lens refers to a lens that can move in three-dimensional directions, and the virtual scene screen captured by the 3D lens is different from the screen at other viewing angles of a horizontally scrolling lens, such as 3D skill animation, 3D scenario animation, etc. Unlike a horizontally scrolling lens, the screen of a 3D lens does not use perspective correction technology. In the embodiment of the present application, the 3D lens is a 3D lens.

[0023] One-shot refers to a common filming technique in movies, in which one scene or one performance is shot in one continuous sequence, with the transition achieved by simply switching the camera angle so there is no cutting.

[0024] 3D software is software used to create 3D animations, and can output character movement and lens information to the engine. For example, Maya (3D animation software applied to professional video advertising, character animation, movie special effects, etc.), 3Dmax (short for 3D Studio Max, 3D animation rendering and production software), Lightwave (3D animation production software), etc.

[0025] An engine is game development software used to create games, for example Unreal Engine 3, Unreal Engine 4, Unreal Engine 5, etc.

[0026] The scene screen display method according to the embodiment of the present application can be executed by a terminal. The implementation environment of the scene screen display method according to the embodiment of the present application is described below. Figure 1 is a schematic diagram of the implementation environment of the scene screen display method according to the embodiment of the present application. Referring to Figure 1, the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 can be directly or indirectly connected by wired or wireless communication, which is not limited in the present application.

[0027] In some embodiments, the terminal 101 is, but is not limited to, a smartphone, a tablet computer, a laptop, a desktop computer, etc. An application program supporting a virtual scene is installed on the terminal 101. The application program may be any one of a side-scrolling action mobile game, a third-person shooter game, a virtual reality application program, a three-dimensional map program, or a multiplayer shooting survival game. The terminal 101 is a terminal used by a user, and the user's account is logged in, and the user uses the terminal 101 to operate a virtual object located in the virtual scene to perform an activity, the activity including, but not limited to, at least one of adjusting a body posture, crawling, walking, running, cycling, jumping, attacking, and skill activation. The virtual object is a virtual person, for example, a simulation character or an anime character. Note that the number of the terminals may be more or less. For example, the terminal is one, or the terminals are tens or hundreds, or more in number. The embodiments of the present application do not limit the number of terminals and the type of equipment.

[0028] In some embodiments, the server 102 may be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server 102 provides background services to application programs supporting virtual scenes. In some embodiments, the server 102 is responsible for the main computing tasks, and the terminal 101 is responsible for the sub-computing tasks, or the server 102 is responsible for the sub-computing tasks, and the terminal 101 is responsible for the main computing tasks, or the server 102 and the terminal 101 use a distributed computing architecture to perform collaborative computing.

[0029] 2 is a flowchart of a scene screen display method according to an embodiment of the present application, and as shown in FIG 2, a description is given of an example in which the method is executed by a terminal in the embodiment of the present application. The scene screen display method includes the following steps 201 to 203.

[0030] In step 201, the terminal displays a scene screen of a two-dimensional virtual scene, in which a virtual object is displayed.

[0031] In an embodiment of the present application, the terminal is the terminal 101 shown in Fig. 1, a game program is installed in the terminal, and the two-dimensional virtual scene is a virtual scene of the game program. A virtual object is displayed on a scene screen of the two-dimensional virtual scene, and the virtual object is a virtual object controlled by an account currently logged in to the terminal, or a virtual object controlled by an account logged in to another terminal, or an NPC (Non-Player-Controlled Character) in the two-dimensional virtual scene, but the embodiment of the present application is not limited thereto.

[0032] For example, the virtual object may be located on the left side of the scene screen in a standing position, or the virtual object may be located in the middle of the scene screen in a drawn sword position, or the virtual object may be located on the right side of the scene screen in a prone position, and this is not limited thereto.

[0033] The two-dimensional virtual scene is a three-dimensional virtual space, and the inside of the virtual space is an area in which a virtual object can act. The two-dimensional virtual scene is generally displayed by a two-dimensional lens. The two-dimensional lens is a lens that can move in a two-dimensional direction. The two-dimensional lens can capture the two-dimensional virtual scene from a fixed viewing angle to obtain a scene screen of the two-dimensional virtual scene, so that the displayed two-dimensional virtual scene is a two-dimensional effect. In other words, the scene screen displayed to the user is obtained by capturing at a fixed viewing angle, so that the effect of the virtual object in the two-dimensional virtual scene moving in a two-dimensional direction is displayed, and the virtual background displays different contents with the movement of the two-dimensional lens. In the embodiment of the present application, the virtual scene displayed by such a two-dimensional lens is referred to as a two-dimensional virtual scene.

[0034] In step 202, in response to a use operation on a target skill of a virtual object, the terminal plays a three-dimensional skill animation corresponding to the target skill, and the three-dimensional skill animation is generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene.

[0035] In the embodiment of the present application, the target skill is a secret skill of the virtual object or a general skill of the virtual object. Each target skill corresponds to a three-dimensional skill animation, and the three-dimensional skill animation displays a skill action when the virtual object executes the target skill. A user can trigger the virtual object to activate the target skill by triggering a use operation for the target skill. Then, in response to the use operation, the terminal generates a corresponding play command, and the play command instructs to play the three-dimensional skill animation corresponding to the target skill. The terminal plays the three-dimensional skill animation corresponding to the target skill according to the play command, and displays the three-dimensional skill animation to the user on a display.

[0036] The three-dimensional virtual scene is a three-dimensional virtual space, and for convenience of explanation, it is called the first virtual space. The two-dimensional virtual scene is also a three-dimensional virtual space, and for convenience of explanation, it is called the second virtual space. The second virtual space is a part of the first virtual space, and the content of the other area in the first virtual space is displayed in the second virtual space as a still image, and is the virtual background of the second virtual space. The three-dimensional skill animation is obtained by shooting in the three-dimensional virtual scene with a three-dimensional lens, and the three-dimensional lens is a lens that can move in a three-dimensional direction. The scene screen of the two-dimensional virtual scene is obtained by shooting in the two-dimensional virtual scene with a two-dimensional lens, and the two-dimensional lens is a lens that can move in a two-dimensional direction. When the three-dimensional lens and the two-dimensional lens are in corresponding positions, the animation frame shot by the three-dimensional lens is almost the same as the content displayed on the scene screen shot by the two-dimensional lens.

[0037] In step 203, in response to completion of playback of the 3D skill animation, the terminal displays the virtual object at a target position and target posture on a scene screen of the 2D virtual scene, the target position and target posture being determined based on a target segment of the target skill animation.

[0038] In the embodiment of the present application, since the target segment is captured in a 3D virtual scene, the position and orientation of the virtual object in the target segment do not completely match the position and orientation of the virtual object in the scene screen of the 2D virtual scene. The target position and target orientation can be determined by the target segment, and the position and orientation of the virtual object are made to match the position and orientation in the target segment. This allows the terminal to switch from displaying the 3D skill animation to displaying the scene screen without causing any discomfort.

[0039] The solution of the embodiment of the present application determines the target position and target posture of the virtual object in the scene screen of the 2D virtual scene based on the target segment of the 3D skill animation after the playback of the 3D skill animation is completed, so that the position and posture of the virtual object can be matched with the position and posture in the target segment, thereby achieving a smooth transition when switching from the 3D skill animation to the scene screen of the 2D virtual scene, improving the smoothness of the screen transition and improving the display effect.

[0040] The above Fig. 2 exemplarily illustrates the main flow of the scene screen display method according to the embodiment of the present application, and the scene screen display method will be described in detail below based on one application scene. Fig. 3 is a flowchart of another scene screen display method according to the embodiment of the present application, and as shown in Fig. 3, it is taken as an example that the method is executed by a terminal in the embodiment of the present application. The scene screen display method includes the following steps 301 to 305.

[0041] In step 301, the terminal displays a scene screen of a two-dimensional virtual scene, in which a virtual object is displayed.

[0042] In the embodiment of the present application, the terminal is the terminal 101 shown in Fig. 1, and a game program belonging to a side-scrolling action game is installed on the terminal. If the terminal is a mobile terminal such as a mobile phone or a tablet, the game program is called a side-scrolling action mobile game. The 2D virtual scene is a virtual scene of the game program, and a virtual object is displayed in the 2D virtual scene, and the virtual object is a virtual object controlled by an account currently logged in to the terminal.

[0043] For example, Fig. 4 is a schematic diagram of a scene screen according to an embodiment of the present application. Referring to Fig. 4, the scene screen displays a virtual object 401, a virtual object 402, and a virtual background of the scene screen, where the virtual object 401 is a virtual object controlled by an account currently logged in to the terminal, and the virtual object 402 is an NPC.

[0044] In addition, in a scene screen of a 2D virtual scene, the spatial relationship of virtual objects in the 2D virtual scene is generally displayed by a perspective method. When virtual objects are in different positions, the display size and perspective angle of the virtual objects are different due to the perspective relationship. The perspective angle indicates the angle at which the virtual object is photographed. For example, when a virtual object translates in the 2D virtual scene, the display size and perspective angle of the virtual object change, so that the virtual objects before and after the translation do not overlap, and the appearance displayed to the user does not match, resulting in a low display effect.

[0045] For example, FIG. 5 is a schematic diagram showing the effect of a virtual object before and after translation when performing perspective viewing according to an embodiment of the present application. Referring to FIG. 5, when a virtual object translates from left to right in a two-dimensional virtual scene, it moves from the position shown in FIG. 5(a) to the position shown in FIG. 5(b). Since the position of the two-dimensional lens does not change, the size and perspective angle of the virtual object displayed on the scene screen captured by the two-dimensional lens change as follows. From a large body displaying the front of the virtual object, to a small body displaying the side of the virtual object, and finally to a large body displaying the back of the virtual object, the size and perspective angle of the virtual object before and after translation do not match. Referring to FIG. 5(c), FIG. 5(c) exemplarily shows a state in which the position of the virtual object in FIG. 5(a) and the position of the virtual object in FIG. 5(b) are superimposed, and it is clear that the display size and perspective angle of the virtual object do not match.

[0046] In some embodiments, in order to improve the display effect, the perspective correction is performed on the virtual object in the two-dimensional virtual scene, so that the effect of the perspective method on the virtual object can be eliminated. The perspective correction is to instruct the size and perspective angle of the virtual object not to change when the virtual object translates in the two-dimensional virtual scene. By performing the perspective correction on the virtual object in the two-dimensional virtual scene, the size and perspective angle of the virtual object before and after the translation can be matched, so that the display effect of the virtual object can be improved.

[0047] For example, FIG. 6 is a schematic diagram showing the effect of a virtual object before and after translation when performing perspective correction according to an embodiment of the present application. Referring to FIG. 6, when a virtual object translates from left to right in a two-dimensional virtual scene, it moves from the position shown in FIG. 6(a) to the position shown in FIG. 6(b). Due to the use of perspective correction technology, the display size and perspective angle of the virtual object do not change in the scene screen captured by the two-dimensional lens. Referring to FIG. 6(c), FIG. 6(c) illustratively shows a state in which the position of the virtual object in FIG. 6(a) and the position of the virtual object in FIG. 6(b) are superimposed, and it is clear that the display size and perspective angle of the virtual object match.

[0048] In step 302, in response to a use operation on a target skill of the virtual object, the terminal plays a three-dimensional skill animation corresponding to the target skill, where the three-dimensional skill animation is generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene.

[0049] In the embodiment of the present application, the target skill is a secret skill possessed by the virtual object or a general skill possessed by the virtual object. Each target skill corresponds to a 3D skill animation, and the 3D skill animation displays the skill action when the virtual object executes the target skill. For the correspondence between the 3D virtual scene and the 2D virtual scene, please refer to step 202 above, and the description will be omitted here.

[0050] In some embodiments, the 3D skill animation is generated by the terminal based on the 3D virtual scene, or is generated by the server based on an animation acquisition request uploaded from the terminal. The animation acquisition request includes the position of the virtual object in the scene screen of the 2D virtual scene. The terminal can obtain the 3D skill animation from the server. In the embodiments of the present application, an example is described in which the 3D skill animation is generated by the terminal. In response to a use operation on a target skill of a virtual object, the terminal photographs a skill action when the virtual object performs the target skill in the 3D virtual scene to obtain a 3D skill animation corresponding to the target skill. Then, the terminal plays the 3D skill animation. Different target skills correspond to different 3D skill animations. By photographing the 3D skill animation in the 3D virtual scene, the 3D skill animation can stereoscopically display the skill action when the virtual object performs the target skill from multiple angles, and the display effect is high. In addition, since the 3D virtual scene corresponds to the 2D virtual scene, the photographed 3D skill animation and the 2D virtual scene are closely related to each other, which improves the user experience.

[0051] In some embodiments, the terminal can capture the 3D skill animation based on the correspondence between the 3D virtual scene and the 2D virtual scene. In response to a use operation for a target skill of a virtual object, the terminal captures a skill action when the virtual object performs the target skill in the 3D virtual scene to obtain a 3D skill animation corresponding to the target skill, which is realized based on the following steps (1) to (3).

[0052] In step (1), in response to a use operation for a target skill of a virtual object, the terminal determines a second position of the virtual object in a three-dimensional virtual scene based on a first position of the virtual object in the two-dimensional virtual scene.

[0053] The terminal can obtain a first position of the virtual object in the two-dimensional virtual scene. Since the three-dimensional virtual scene and the two-dimensional virtual scene have a corresponding relationship, the terminal can determine a second position of the virtual object in the three-dimensional virtual scene based on the corresponding relationship and the first position. That is, the terminal can determine a second position of the virtual object in the three-dimensional virtual scene based on the first position and the corresponding relationship according to the first position of the virtual object in the two-dimensional virtual scene. Both the first position and the second position are three-dimensional coordinates.

[0054] In step (2), the terminal determines shooting parameter information based on the second position and the motion trajectory of the skill motion, where the shooting parameter information includes a shooting start position, a shooting end position, and a shooting trajectory in the three-dimensional virtual scene.

[0055] The skill action of the target skill of the virtual object is a predetermined action. The terminal can obtain a motion trajectory of the skill action based on the skill identifier of the target skill. The terminal can determine shooting parameters such as a shooting start position, a shooting end position, and a shooting trajectory based on the motion trajectory. The shooting parameters may further include parameters such as a lens moving speed and a lens focal length. The terminal can shoot the 3D skill animation in a 3D virtual scene by a 3D lens. The shooting start position is a position where the 3D lens starts shooting the 3D skill animation in the 3D virtual scene. The shooting end position is a position where the 3D lens ends shooting the 3D skill animation in the 3D virtual scene. The 3D lens can move from the shooting start position to the shooting end position along the shooting trajectory.

[0056] In step (3), the terminal photographs a skill action when the virtual object performs a target skill in the three-dimensional virtual scene based on the photographing parameter information, to obtain a three-dimensional skill animation.

[0057] When the virtual object starts to perform the skill action of the target skill, the terminal controls the three-dimensional lens to start shooting from the shooting start position. In the process of the virtual object performing the skill action, the terminal controls the three-dimensional lens to move along the shooting trajectory to the shooting end position, that is, the terminal controls the three-dimensional lens to continuously shoot the skill action when the virtual object performs the target skill, and obtains a three-dimensional skill animation corresponding to the target skill. The virtual object starts to perform the action from a second position in the three-dimensional virtual scene, and finally reaches an action end position, which may be the same as the second position or may be different from the second position, and is not limited here.

[0058] For example, the shooting start position of the three-dimensional lens is located just before the virtual object. When the virtual object executes the skill action, it spurts forward from the second position for three seconds, and at this time, the three-dimensional lens shoots at the shooting start position for three seconds. Then, the virtual object returns to the second position. In the process of the virtual object retreating, the three-dimensional lens moves from the shooting start position along the shooting trajectory, and when the virtual object returns to the second position, it moves to the shooting end position. The shooting end position is located immediately to the left of the virtual object, and the three-dimensional lens continuously shoots the virtual object while moving.

[0059] In addition, the virtual object in the 3D skill animation is displayed in a perspective manner, that is, when the virtual object is close to the 3D lens, the displayed virtual object is large, and when the virtual object is far from the 3D lens, the displayed virtual object is small; when the 3D lens is immediately in front of the virtual object, the perspective angle of the virtual object is immediately in front, and at this time, the front of the virtual object is displayed, that is, both sides and the back of the virtual object are not visible; when the 3D lens is directly to the left of the virtual object, the perspective angle of the virtual object is directly to the left, and at this time, the left of the virtual object is displayed, that is, part of the front of the virtual object is visible, and the right and back of the virtual object are not visible. Since the virtual object in the scene screen is processed by a perspective correction technology, the size and perspective angle of the virtual object in the scene screen of the 2D virtual scene are both different from the size and perspective angle of the virtual object in the 3D skill animation. After the playback of the 3D skill animation is finished, if the 3D skill animation is directly switched to the scene screen of the 2D virtual scene, a perspective change occurs, which makes the screen switching feel strange. Therefore, it is necessary to determine the target position and target posture of the virtual object on the scene screen of the two-dimensional virtual scene based on the target segment in the three-dimensional skill animation, and the terminal executes steps 303 to 305.

[0060] In step 303, in response to completion of playback of the three-dimensional skill animation, the terminal determines a target position and a target posture based on a target segment of the three-dimensional skill animation.

[0061] In an embodiment of the present application, the target segment may be the last frame of the 3D skill animation, the penultimate frame of the 3D skill animation, or a plurality of image frames in the 3D skill animation, and the embodiment of the present application is not limited thereto.

[0062] In some embodiments, the target segment is the last frame of the three-dimensional skill animation. The step of the terminal determining the target position and the target attitude based on the target segment of the three-dimensional skill animation includes the step of the terminal determining the third position and the first attitude of the virtual object in the three-dimensional virtual scene based on the target segment of the three-dimensional skill animation. The terminal stores the position and attitude of the virtual object in each frame of the three-dimensional skill animation, and the terminal can directly obtain the third position and the first attitude of the virtual object in the three-dimensional virtual scene when capturing the last frame. Alternatively, the terminal can perform image recognition on the last frame of the three-dimensional skill animation to obtain the third position and the first attitude of the virtual object in the three-dimensional virtual scene, and the embodiment of the present application is not limited thereto. Then, the terminal determines the target position and the target attitude of the virtual object in the two-dimensional virtual scene based on the obtained third position and first attitude. By determining a target position and target posture of a virtual object in a 2D virtual scene based on the third position and first posture of the virtual object in the last frame of the 3D skill animation, the target position and target posture can be made to match the third position and first posture, respectively, improving smoothness when switching the 3D skill animation to the scene screen of the 2D virtual scene.

[0063] For example, Fig. 7 is a schematic diagram of a target segment of a 3D skill animation according to an embodiment of the present application. Referring to Fig. 7, the target segment is the last frame of the 3D skill animation, and the last frame of the 3D skill animation displays a virtual object 701, a virtual object 702, and a virtual background. The virtual object 701 is a virtual object controlled by an account logged into a terminal, and the virtual object 702 is an NPC. The position where the virtual object 701 is located is a third position, and the current posture of the virtual object 701 is a first posture.

[0064] In some embodiments, when the target segment is the penultimate frame of the 3D skill animation, the step of the terminal determining a target position and a target attitude based on the target segment of the 3D skill animation is similar to that when the target segment is the last frame. The difference is that the terminal determines a third position and a first attitude of the virtual object in the 3D virtual scene based on the target segment, and then predicts the position and attitude of the virtual object in the 2D virtual scene based on the third position and the first attitude to obtain the target position and attitude. By making the prediction based on the penultimate frame of the 3D skill animation, the predicted target position and target attitude are consistent with the movement tendency of the virtual object, thereby improving the smoothness of switching the 3D skill animation to the scene screen of the 2D virtual scene.

[0065] In some embodiments, when the target segment is a plurality of image frames in a three-dimensional skill animation, the terminal can make a prediction based on the change tendency of the position and attitude of the virtual object in the plurality of image frames to obtain a target position and target attitude of the virtual object in the two-dimensional virtual scene. By making a prediction based on the plurality of image frames in the three-dimensional skill animation, the predicted target position and target attitude are consistent with the movement tendency of the virtual object, thereby improving the smoothness of switching the three-dimensional skill animation to the scene screen of the two-dimensional virtual scene.

[0066] In step 304, the terminal renders a scene screen of a two-dimensional virtual scene based on the target position and the target pose, and the virtual object in the target pose is rendered at the target position in the scene screen.

[0067] In an embodiment of the present application, after a terminal obtains a target position and a target attitude of a virtual object in a 2D virtual scene, the terminal renders an object model of the virtual object and a virtual background of the 2D virtual scene to obtain a scene screen of the 2D virtual scene.

[0068] In some embodiments, the terminal can translate the object model to a target position in a 2D virtual scene based on the target position. Then, the terminal rotates and scales the object model to display the object model at the target attitude. Then, the terminal photographs the 2D virtual scene with a 2D lens to obtain a scene screen to be rendered. Finally, the terminal renders the scene screen. By performing processes such as translation, rotation, and scale on the object model of a virtual object, the virtual object can be displayed at the target position in the scene screen at the target attitude, improving the rendering efficiency of the scene screen.

[0069] In addition, the translation, rotation, and scaling of the object model of the terminal are background processing processes, so that the background processing process will be described below in a visualized manner for ease of understanding. FIG. 8 is a schematic diagram of adjusting an object model according to an embodiment of the present application. Referring to FIG. 8, the terminal translates an object model 801 of a virtual object to move the object model to a target position in a two-dimensional virtual scene. The terminal changes the position of the object model in the two-dimensional virtual scene by adjusting the position parameters in the object conversion interface shown in FIG. 8, i.e., the coordinate values ​​in the X, Y, and Z directions of the object model. The X direction is the horizontal rightward direction, the Y direction is horizontally oriented in the direction of the two-dimensional lens, and the Z direction is vertically upward, and is not limited here. The terminal rotates and scales the object model 801 of the virtual object to display the object model in a target attitude. The terminal changes the attitude of the virtual object by adjusting the rotation parameters and scale parameters in the object conversion interface shown in FIG. 8, i.e., the rotation angles and scale ratios in three directions, the X direction, the Y direction, and the Z direction, of the object model.

[0070] In some embodiments, the object model of the virtual object does not include a virtual item held by the virtual object, such as a virtual sword shown in FIG. 8. The terminal can perform processes such as translation, rotation, and scaling on the virtual item based on the position and shape of the virtual item in the target segment of the 3D skill animation, so that the position and shape of the virtual item in the scene screen of the 2D virtual scene matches the position and shape in the target segment. The adjustment method of the terminal for the virtual item is similar to the adjustment method of the terminal for the object model, so the description is omitted here. By adjusting the position of the virtual item, the scene screen and the content displayed in the target segment of the 3D skill animation are more consistent, and when switching from the 3D skill animation to the scene screen of the 2D virtual scene, the connection of the virtual scene screen is smooth, and the display effect is high.

[0071] For example, still referring to FIG. 8, the terminal can perform translation, rotation and scaling processing on the virtual item 802, and the processing method can refer to the processing method of the terminal for the object model 801, and the description will be omitted here.

[0072] In some embodiments, the terminal may use a model replacement method instead of the step of adjusting the position and attitude. The terminal may obtain a first model of a virtual object in a 3D virtual scene, and generate a second model based on the corresponding attitude of the target segment of the first model. The attitude of the second model is the target attitude. The second model is obtained by adjustment based on the first model, that is, the 3D features in the first model are adjusted to 2D features, for example, the foot of the object model changes from the front sole landing to the whole sole landing, and the fist of the object model changes from pointing upright to pointing straight up. Then, in the process of rendering a scene screen of the 2D virtual scene, the terminal directly uses the second model to replace the original model, thereby displaying the second model at the target position and with the target attitude on the scene screen. The method of directly replacing the model of the virtual object can efficiently realize the rendering of the scene screen.

[0073] In addition, since perspective correction is performed on the virtual object in the 2D virtual scene, the object model of the virtual object in the 3D virtual scene and the object model of the virtual object in the 2D virtual scene do not completely match, that is, there may be a certain amount of error in the target position and target posture determined based on the target segment in the 3D virtual scene.

[0074] For example, Fig. 9 is a schematic diagram of an object model of a virtual object according to an embodiment of the present application. Referring to Fig. 9, 901 is an object model in a 3D virtual scene, 902 is an object model in a 2D virtual scene, and 903 is a comparative schematic diagram after superimposing 901 and 902. As can be seen from 903, the object model of the virtual object in the 3D virtual scene and the object model of the virtual object in the 2D virtual scene do not completely match.

[0075] If the model is directly switched in the static scene screen, the change of the virtual object will be very obvious, and the screen connection will not be smooth. Therefore, the terminal uses a method of combining lens rotation to hide the model replacement. That is, when the terminal shoots the 3D skill animation, the 3D lens rotates all the time, and when the 3D skill animation is switched to the scene screen, the last frame of the 3D skill animation is replaced with the scene screen of the 2D virtual scene, and the model is replaced during the switching process. Because the lens is constantly moving, when the model is switched at this time, it does not feel strange, the screen connection is smooth, and the model switching is not obvious.

[0076] For example, still referring to Fig. 9, 904 is an object model in one frame of a 3D skill animation. By rotating the lens when shooting the 3D skill animation, the posture of the object model is gradually transformed from 904 to 901, i.e., from the front of the virtual object to the side, and just before the rotation is completed, model replacement is performed, i.e., the model shown in 901 is replaced with the object model shown in 902. Since the virtual objects in the two models are almost the same, the connection on the screen is smooth, the model replacement is difficult to notice, and the display effect is high.

[0077] In some embodiments, the terminal can also adjust the virtual background of the scene screen of the two-dimensional virtual scene based on the virtual background in the target segment so that the virtual backgrounds match. The terminal can determine a first virtual background based on the target segment, where the first virtual background indicates a screen other than the virtual object in the target segment, and the terminal aligns a second virtual background in the scene screen of the two-dimensional virtual scene with the first virtual background, and displays the aligned second virtual background on the scene screen of the two-dimensional virtual scene, where the second virtual background indicates a screen other than the virtual object in the scene screen. By adjusting the virtual background of the second scene screen, the scene screen and the target segment are more consistent, and the background does not feel strange when switching from the three-dimensional skill animation to the scene screen, the connection of the screen is smoother, and the display effect is better.

[0078] For example, FIG. 10 is a schematic diagram of a case where a virtual background is adjusted according to an embodiment of the present application. Referring to FIG. 10, 1001 shown in FIG. 10(a) is a display range corresponding to the second virtual background of the scene screen. 1002 shown in FIG. 10(a) is a display range corresponding to the second virtual background of the target segment. The hatched portion indicates a display range in which the first virtual background is larger than the second virtual background. By aligning the first virtual background and the second virtual background, the content displayed in the second virtual background is adjusted so that the content displayed in the second virtual background matches the first virtual background. As shown in FIG. 10(b), a scene screen of a two-dimensional virtual scene can be obtained by rendering based on the replaced object model and the aligned virtual background.

[0079] It should be noted that the terminal can realize this step based on the 3D software installed in the game engine. The embodiment of the present application does not limit the types of the game engine and the 3D software.

[0080] In step 305, in response to the end of playback of the three-dimensional skill animation, the terminal displays the virtual object at the target position and in the target attitude on the scene screen of the two-dimensional virtual scene.

[0081] In an embodiment of the present application, in response to the end of the playback of a 3D skill animation, a scene screen of the 2D virtual scene is switched from the last frame of the 3D skill animation, and a virtual object is displayed at a target position and with a target attitude on the scene screen. The target attitude of the virtual object on the scene screen of the 2D virtual scene matches the attitude of the virtual object at the end of the playback of the 3D skill animation, and the position where the virtual object is located matches the position where the virtual object is located at the end of the playback of the 3D skill animation, so that there is a smooth connection when switching from the 3D skill animation to the scene screen of the 2D virtual scene, which improves the smoothness of the screen connection and the display effect.

[0082] For example, Fig. 11 is a schematic diagram of another scene screen according to an embodiment of the present application. Referring to Fig. 11, a virtual object 1101, a virtual object 1002, and a virtual background are displayed on the scene screen. The virtual background of the scene screen corresponds to the virtual background of the target segment. The position where the virtual object 1101 is located is the target position, and the current posture of the virtual object 1101 is the target posture. The virtual object 1002 is an NPC.

[0083] In some embodiments, the terminal can use a trend-based connection method to connect the 3D skill animation and the scene screen of the 2D virtual scene. In response to the end of the playback of the penultimate frame of the 3D skill animation, the terminal displays the virtual object at the target position and with the target attitude on the scene screen of the 2D virtual scene. The scene screen matches the content of the last frame of the 3D skill animation, so that it is natural to switch directly from the penultimate frame of the 3D skill animation to the scene screen.

[0084] For example, Figure 12 is a schematic diagram of a trend connection according to an embodiment of the present application. Referring to Figure 12, the terminal uses a 3D lens to capture the skill action performed by the game character to obtain a 3D skill animation. Then, the terminal plays the 3D skill animation, and after the penultimate frame of the 3D skill animation is played, the terminal directly displays the first frame of the horizontal scroll lens, that is, the scene screen of the 2D virtual scene, and then enters the battle scene, and the control authority of the game character is handed over to the player, and the game character is controlled by the player.

[0085] In addition, in order to more easily understand the solution according to the embodiment of the present application, FIG. 13 is a schematic diagram of another trend connection according to the embodiment of the present application. Referring to FIG. 13, (a) of FIG. 13 is a virtual object in a certain intermediate frame of a 3D skill animation, and at this time, a 3D lens is located just before the virtual object. The terminal combines two methods of lens rotation and trend connection, and the upper half of (b) of FIG. 13 shows that the 3D lens starts to rotate and move from just before the virtual object, and moves away from the virtual object, that is, the shooting angle of the 3D lens is changed by the one-shot conversion method to shoot the virtual object. In this way, when the 3D skill animation is played up to the penultimate frame over time, the trend connection is used to replace the last frame of the 3D skill animation with the scene screen of the 2D virtual scene. By combining the lens rotation and trend connection to switch the screen, the screen connection is smooth and the display effect is high.

[0086] In addition, the side-scrolling action mobile game also includes a three-dimensional scenario animation, and the terminal can switch the three-dimensional scenario animation to a scene screen of a two-dimensional virtual scene. In response to a trigger operation on the three-dimensional scenario animation, the terminal plays the three-dimensional scenario animation, in which a virtual object is displayed, and the three-dimensional scenario animation is generated based on the three-dimensional virtual scene. The manner of generating the three-dimensional scenario animation is similar to the manner of generating the three-dimensional skill animation, and therefore the description is omitted here. In response to the end of the playback of the three-dimensional scenario animation, the terminal displays the virtual object at a fourth position in the scene screen of the two-dimensional virtual scene and in a second attitude, and the fourth position and the second attitude are determined based on the target segment of the three-dimensional scenario animation. The process of the terminal switching the three-dimensional scenario animation to the scene screen of the two-dimensional virtual scene is the same as the above-mentioned process of switching the three-dimensional skill animation to the scene screen of the two-dimensional virtual scene, and therefore the description is omitted here.

[0087] For example, FIG. 14 is a flow chart for displaying a virtual scene screen according to an embodiment of the present application. Referring to FIG. 14, as time passes, the terminal plays a three-dimensional scenario animation, and at the end of the penultimate frame of the three-dimensional scenario animation, replaces the last frame of the three-dimensional scenario animation with a scene screen of a two-dimensional virtual scene using a trend-based connection method. The user account operates a virtual object. In response to the activation operation of a secret skill, the terminal switches the scene screen of the two-dimensional virtual scene to the playback of a three-dimensional skill animation corresponding to the secret skill through a transition method, and at the end of the penultimate frame of the three-dimensional skill animation, replaces the last frame of the three-dimensional skill animation with a scene screen of a two-dimensional virtual scene using a trend-based connection method, and similarly thereafter, the terminal displays the scene screen by the method.

[0088] The solution of the embodiment of the present application determines the target position and target posture of the virtual object in the scene screen of the 2D virtual scene based on the target segment of the 3D skill animation after the playback of the 3D skill animation is completed, so that the position and posture of the virtual object can be matched with the position and posture in the target segment, thereby achieving a smooth transition when switching from the 3D skill animation to the scene screen of the 2D virtual scene, improving the smoothness of the screen transition and improving the display effect.

[0089] FIG. 15 is a structural schematic diagram of a scene screen display device according to an embodiment of the present application. Referring to FIG. 15, the device includes: a first display module 1501 and a first playback module 1502 .

[0090] The first display module 1501 displays a scene screen of a two-dimensional virtual scene, on which a virtual object is displayed.

[0091] The first playback module 1502 plays a three-dimensional skill animation corresponding to a target skill in response to a use operation of the virtual object for the target skill, and the three-dimensional skill animation is generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene.

[0092] The first display module 1501 further displays the virtual object at a target position and with a target attitude on a scene screen of the two-dimensional virtual scene in response to completion of playback of the three-dimensional skill animation, the target position and the target attitude being determined based on a target segment of the three-dimensional skill animation.

[0093] In some embodiments, FIG. 16 is a structural schematic diagram of another scene screen display device according to an embodiment of the present application. Referring to FIG. 16, the first playback module 1502 includes a generation unit 1601 and a playback unit 1602.

[0094] In response to a use operation of the virtual object with respect to the target skill, the generation unit 1601 captures the skill action of the virtual object when performing the target skill in the three-dimensional virtual scene to obtain the three-dimensional skill animation corresponding to the target skill.

[0095] The playback unit 1602 plays back the three-dimensional skill animation.

[0096] In some embodiments, in response to a use operation of the virtual object for a target skill, the generation unit 1601 determines a second position of the virtual object in the 3D virtual scene based on a first position of the virtual object in the 2D virtual scene, and determines shooting parameter information based on the second position and a motion trajectory of the skill operation, the shooting parameter information including a shooting start position, a shooting end position and a shooting trajectory in the 3D virtual scene, and photographs the skill operation when the virtual object performs the target skill in the 3D virtual scene based on the shooting parameter information to obtain the 3D skill animation.

[0097] In some embodiments, the first display module 1501 includes a determining unit 1603 and a rendering unit 1604.

[0098] The determination unit 1603 determines the target position and the target posture based on a target segment of the three-dimensional skill animation in response to the completion of playback of the three-dimensional skill animation.

[0099] A rendering unit 1604 renders a scene view of the 2D virtual scene based on the target position and the target pose, where the virtual object is rendered at the target position in the scene view at the target pose.

[0100] In some embodiments, the determination unit 1603 determines a third position and a first orientation of the virtual object in the 3D virtual scene based on a target segment of the 3D skill animation, and determines the target position and the target orientation of the virtual object in the 2D virtual scene based on the third position and the first orientation.

[0101] In some embodiments, the apparatus further includes a determining module 1503 and an aligning module 1504 .

[0102] The determination module 1503 determines a first virtual background based on the target segment, where the first virtual background indicates a screen other than the virtual object in the target segment.

[0103] The alignment module 1504 aligns a second virtual background with the first virtual background in a scene screen of the two-dimensional virtual scene, and displays the aligned second virtual background on the scene screen of the two-dimensional virtual scene, where the second virtual background indicates a screen other than the virtual object in the scene screen.

[0104] In some embodiments, the first display module 1502 displays the virtual object at a target position and with a target pose on a scene screen of the two-dimensional virtual scene in response to completion of playback of the penultimate frame of the three-dimensional skill animation, or displays the virtual object at a target position and with a target pose on a scene screen of the two-dimensional virtual scene in response to completion of playback of the last frame of the three-dimensional skill animation.

[0105] In some embodiments, the apparatus further comprises a perspective correction module 1505 .

[0106] The perspective correction module 1505 performs perspective correction on a virtual object displayed on a scene screen of the two-dimensional virtual scene. The perspective correction instructs the size and perspective angle of the virtual object not to change when the virtual object moves parallel to the two-dimensional virtual scene, and the perspective angle instructs the angle at which the virtual object is photographed.

[0107] In some embodiments, the device further includes a second playback module 1506 and a second display module 1507 .

[0108] A second playback module 1506 plays a three-dimensional scenario animation in response to a trigger operation on the three-dimensional scenario animation, in which the virtual object is displayed, and the three-dimensional scenario animation is generated based on the three-dimensional virtual scene.

[0109] In response to completion of playback of the three-dimensional scenario animation, the second display module 1507 displays the virtual object in a fourth position and a second orientation on the scene screen of the two-dimensional virtual scene, the fourth position and the second orientation being determined based on a target segment of the three-dimensional scenario animation.

[0110] An embodiment of the present application provides a scene screen display device, and after the playback of a 3D skill animation is completed, a target position and target posture of a virtual object in a scene screen of a 2D virtual scene is determined based on a target segment of the 3D skill animation, so that the position and posture of the virtual object can be matched with the position and posture in the target segment, thereby achieving a smooth transition when switching from the 3D skill animation to the scene screen of the 2D virtual scene, improving the smoothness of the screen transition, and improving the display effect.

[0111] It should be noted that the scene screen display device according to the above embodiment is described by taking the above functional module division as an example when displaying a virtual scene screen, but in actual application, the above functions can be assigned to different functional modules to complete them as necessary, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the above functions. In addition, the scene screen display device according to the above embodiment belongs to the same concept as the embodiment of the scene screen display method, and the details of the implementation process can be referred to the embodiment of the method, and the detailed description is omitted here.

[0112] 17 is a block diagram of a terminal 1700 according to an embodiment of the present application. The terminal 1700 may be a portable mobile terminal such as a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a notebook computer, or a desktop computer. The terminal 1700 may also be called a user device, a mobile terminal, a laptop terminal, a desktop terminal, or other names.

[0113] Generally, the terminal 1700 includes a processor 1701 and a memory 1702 .

[0114] The processor 1701 may include one or more processing cores, such as, for example, a 4-core processor, an 8-core processor, etc. The processor 1701 may be realized in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). The processor 1701 may include a main processor and a coprocessor, where the main processor is a processor that processes data in an active state and is also called a CPU (Central Processing Unit), and the coprocessor is a low-power processor that processes data in a standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content to be displayed on a display. In some embodiments, the processor 1701 may further include an AI (Artificial Intelligence) processor, which processes computational operations related to machine learning.

[0115] The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 may further include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1702 stores at least one computer program, which, when executed by the processor 1701, realizes a scene screen display method according to the method embodiment of the present application.

[0116] In some embodiments, the terminal 1700 preferably further includes a peripheral interface 1703 and at least one peripheral. The processor 1701, the memory 1702, and the peripheral interface 1703 may be connected via a bus or signal lines. Each peripheral may be connected to the peripheral interface 1703 via a bus, signal lines, or a circuit board. The peripherals include at least one of a radio frequency circuit 1704, a display 1705, a camera component 1706, an audio circuit 1707, and a power supply 1709.

[0117] The peripheral interface 1703 is used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1701 and the memory 1702. In some embodiments, the processor 1701, the memory 1702, and the peripheral interface 1703 are integrated on the same chip or circuit board, and in some other embodiments, any one or two of the processor 1701, the memory 1702, and the peripheral interface 1703 may be implemented on a single chip or circuit board, and this embodiment is not limited thereto.

[0118] The radio frequency circuit 1704 transmits and receives radio frequency (RF) signals, also called electromagnetic signals. The radio frequency circuit 1704 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. In some embodiments, the radio frequency circuit 1704 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a SIM card, and the like. The radio frequency circuit 1704 can communicate with other terminals by at least one wireless communication protocol, including, but not limited to, the World Wide Web, metro area networks, intranets, mobile communication networks of various generations (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuitry 1704 may include circuitry related to Near Field Communication (NFC), although this application is not limited in this respect.

[0119] The display 1705 displays a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. If the display 1705 is a touch display, the display 1705 may further collect touch signals on or above the surface of the display 1705. The touch signals may be input as control signals to the processor 1701 for processing. In this case, the display 1705 may provide virtual buttons and / or virtual keyboards, also called soft buttons and / or soft keyboards. In some embodiments, the display 1705 may be one and is provided on the front panel of the terminal 1700, and in other embodiments, the display 1705 may be at least two and each is provided on a different surface of the terminal 1700 or designed to be folded, and in other embodiments, the display 1705 may be a flexible display and is provided on a curved or folded surface of the terminal 1700. Furthermore, the display 1705 may be configured as an irregular display that is a non-rectangular irregular shape. The display 1705 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.

[0120] The camera component 1706 collects images or videos. In some embodiments, the camera component 1706 includes a front camera and a rear camera. Generally, the front camera is provided on the front panel of the terminal, and the rear camera is provided on the back of the terminal. In some embodiments, there are at least two rear cameras, each of which is one of a main camera, a depth camera, a wide-angle camera, and a long-focus camera. In this way, the main camera and the depth camera are combined to realize a background blur function. The main camera and the wide-angle camera are combined to realize a panoramic shooting and a VR (Virtual Reality) shooting function, or a shooting function by other combinations. In some embodiments, the camera component 1706 may further include a flash. The flash lamp may be a single-color flash or a two-color flash. The two-color flash refers to a combination of a warm-color light flash and a cold-color light flash, and is used for light compensation at various color temperatures.

[0121] The audio circuit 1707 may include a microphone and a speaker. The microphone collects sound waves of the user and the environment, converts the sound waves into electrical signals, and inputs them to the processor 1701 for processing, or to the radio frequency circuit 1704 for voice communication. To collect stereo sound or reduce noise, the number of microphones may be multiple, and each microphone may be provided at various locations on the terminal 1700. The microphone may be an array microphone or an omnidirectional microphone. The speaker is for converting electrical signals from the processor 1701 or the radio frequency circuit 1704 into sound waves. The speaker may be a conventional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for use in distance measurement and other applications. In some embodiments, the audio circuit 1707 may further include an earphone jack.

[0122] The power source 1709 supplies power to each component in the terminal 1700. The power source 1709 may be an AC power source, a DC power source, a disposable battery, or a rechargeable battery. When the power source 1709 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is recharged by a wired line, and a wireless rechargeable battery is a battery that is recharged by a wireless coil. The rechargeable battery may support a quick-charging technology.

[0123] The embodiment of the present application further provides a computer-readable storage medium having at least one computer program stored therein, the at least one computer program being loaded and executed by a processor of a terminal so as to realize the operations performed by the terminal in the scene screen display method of the embodiment. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0124] An embodiment of the present application further provides a computer program product including a computer program code, the computer program code being stored in a computer-readable storage medium, wherein a processor of a terminal reads the computer program code from the computer-readable storage medium and executes the computer program code, thereby causing the terminal to execute the scene screen display method according to the various preferred embodiments.

[0125] As will be understood by those skilled in the art, all or part of the steps for realizing the above embodiments may be completed by hardware, or may be completed by instructing related hardware with a program, and the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk, an optical disk, etc.

[0126] The above are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application should be included within the protection scope of the present application.

Claims

1. displaying a scene screen of a two-dimensional virtual scene, the scene screen displaying a virtual object; In response to a use operation of the virtual object for a target skill, a three-dimensional skill animation corresponding to the target skill is played, the three-dimensional skill animation being generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene; A method for displaying a scene screen, comprising: a step of displaying the virtual object at a target position and target posture on a scene screen of the two-dimensional virtual scene in response to completion of playback of the three-dimensional skill animation, the target position and the target posture being determined based on a target segment of the three-dimensional skill animation.

2. The step of playing a three-dimensional skill animation corresponding to a target skill in response to a use operation of the virtual object with respect to the target skill includes: In response to a use operation of the virtual object with respect to a target skill, a skill action of the virtual object when performing the target skill in the three-dimensional virtual scene is captured to obtain the three-dimensional skill animation corresponding to the target skill; and playing the three-dimensional skill animation.

3. The step of capturing a skill action of the virtual object when the virtual object executes the target skill in the three-dimensional virtual scene in response to a use operation for the target skill of the virtual object to obtain the three-dimensional skill animation corresponding to the target skill, determining a second position of the virtual object in the three-dimensional virtual scene based on a first position of the virtual object in the two-dimensional virtual scene in response to a use operation of the virtual object with respect to a target skill; determining shooting parameter information based on the second position and a motion trajectory of the skill motion, the shooting parameter information including a shooting start position, a shooting end position, and a shooting trajectory in the three-dimensional virtual scene; and capturing a skill action of the virtual object performing the target skill in the three-dimensional virtual scene based on the capturing parameter information to obtain the three-dimensional skill animation.

4. the step of displaying the virtual object at a target position and in a target attitude on a scene screen of the two-dimensional virtual scene in response to completion of playback of the three-dimensional skill animation, determining the target position and the target posture based on a target segment of the three-dimensional skill animation in response to completion of playback of the three-dimensional skill animation; and rendering a scene view of the two-dimensional virtual scene based on the target position and the target pose, wherein the virtual object is rendered at the target position in the scene view at the target pose.

5. determining the target position and the target posture based on a target segment of the three-dimensional skill animation, determining a third position and a first pose of the virtual object in the three-dimensional virtual scene based on a target segment of the three-dimensional skill animation; and determining the target position and the target pose of the virtual object in the two-dimensional virtual scene based on the third position and the first pose.

6. determining a first virtual background based on the target segment, the first virtual background indicating a screen other than the virtual object in the target segment; The method of claim 1, further comprising a step of aligning a second virtual background with the first virtual background in a scene screen of the two-dimensional virtual scene, and displaying the aligned second virtual background on the scene screen of the two-dimensional virtual scene, wherein the second virtual background indicates a screen other than the virtual object in the scene screen.

7. displaying the virtual object at a target position and in a target attitude on a scene screen of the two-dimensional virtual scene in response to completion of playback of the three-dimensional skill animation, displaying the virtual object at a target position and in a target attitude on a scene screen of the two-dimensional virtual scene in response to completion of playback of the penultimate frame of the three-dimensional skill animation; or The method of claim 1 , further comprising a step of displaying the virtual object at a target position and with a target pose on a scene screen of the two-dimensional virtual scene in response to completion of playback of a final frame of the three-dimensional skill animation.

8. 2. The method of claim 1, further comprising: a step of performing perspective correction on a virtual object displayed on a scene screen of the two-dimensional virtual scene, the perspective correction instructing that a size and a perspective angle of the virtual object do not change when the virtual object moves in a parallel manner within the two-dimensional virtual scene, and the perspective angle instructing an angle at which the virtual object is photographed.

9. playing a three-dimensional scenario animation in response to a trigger operation on the three-dimensional scenario animation, the three-dimensional scenario animation displaying the virtual object, and the three-dimensional scenario animation being generated based on the three-dimensional virtual scene; 2. The method of claim 1, further comprising: in response to completion of playback of the three-dimensional scenario animation, displaying the virtual object in a fourth position and a second orientation on a scene screen of the two-dimensional virtual scene, the fourth position and the second orientation being determined based on a target segment of the three-dimensional scenario animation.

10. a first display module for displaying a scene screen of a two-dimensional virtual scene, the scene screen displaying a virtual object; a first playback module that plays a three-dimensional skill animation corresponding to a target skill in response to a use operation of the virtual object with respect to the target skill, the three-dimensional skill animation being generated based on a three-dimensional virtual scene corresponding to the two-dimensional virtual scene; The first display module further displays the virtual object at a target position and with a target posture on a scene screen of the two-dimensional virtual scene in response to completion of playback of the three-dimensional skill animation, the target position and the target posture being determined based on a target segment of the three-dimensional skill animation, the scene screen display device.

11. A terminal including a processor and a memory, wherein the memory stores at least one computer program, and the at least one computer program is loaded by the processor to execute the scene screen display method according to any one of claims 1 to 9.

12. A computer-readable storage medium having stored thereon at least one computer program, the at least one computer program executing the scene screen display method according to any one of claims 1 to 9.

13. A computer program product including computer program code, the computer program code being stored in a computer-readable storage medium, and a processor of a terminal reading and executing the computer program code from the computer-readable storage medium, thereby causing the terminal to execute the scene screen display method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Image generating method, recording medium, image generator, and program

    JP2003141560A

  • Video game device and method for controlling switching of display mode

    JP2011024636A

  • Game machine, control method of game machine, and program of game machine

    JP2016067923A