Display method and apparatus of scene picture, terminal, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorYixi Huo
Life of this patent
Estimating the term…
Abstract
This application relates to a method of displaying a scene picture performed by a computer device. The method includes: displaying a two-dimensional scene picture of a virtual scene, the scene picture including a virtual object; in response to a triggering condition being met, playing a three-dimensional animation corresponding to the virtual scene; and in response to completing playing the three-dimensional animation, displaying the virtual object in a target posture at a target position in the two-dimensional scene picture corresponding to an ending segment of the three-dimensional animation.
Claims18
A method of displaying a scene picture performed by a computer device, the method comprising:
- displaying a two-dimensional scene picture of a three-dimensional virtual scene, the scene picture including a virtual object;
- in response to a triggering condition being met,
- photographing a sequence of actions performed by the virtual object in the three-dimensional virtual scene based on a photographing trajectory of a virtual camera to obtain a three-dimensional animation corresponding to the virtual scene;
- playing the three-dimensional animation corresponding to the virtual scene;
- in response to completing playing the three-dimensional animation, rendering the virtual object in a preset size and a preset perspective angle in the two-dimensional scene picture of the virtual scene, the size and the perspective angle of the virtual object remaining the same as a last size and a last perspective angle of the virtual object at an end of the photographing trajectory of the virtual camera;
- performing perspective correction on the virtual object displayed in the two-dimensional scene picture of the virtual scene;
- and
- displaying the virtual object in a target posture at a target position in the two-dimensional scene picture, the size and the perspective angle of the virtual object remaining unchanged when the virtual object translates in the two-dimensional scene picture.
A computer device comprising a processor and a memory, the memory storing at least one computer program, the at least one computer program being executed by the processor and causing the computer device to perform a method of displaying a scene picture including:
- displaying a two-dimensional scene picture of a three-dimensional virtual scene, the scene picture including a virtual object;
- in response to a triggering condition being met,
- photographing a sequence of actions performed by the virtual object in the three-dimensional virtual scene based on a photographing trajectory of a virtual camera to obtain a three-dimensional animation corresponding to the virtual scene;
- playing the three-dimensional animation corresponding to the virtual scene;
- in response to completing playing the three-dimensional animation, rendering the virtual object in a preset size and a preset perspective angle in the two-dimensional scene picture of the virtual scene, the size and the perspective angle of the virtual object remaining the same as a last size and a last perspective angle of the virtual object at an end of the photographing trajectory of the virtual camera;
- performing perspective correction on the virtual object displayed in the two-dimensional scene picture of the virtual scene;
- and
- displaying the virtual object in a target posture at a target position in the two-dimensional scene picture, the size and the perspective angle of the virtual object remaining unchanged when the virtual object translates in the two-dimensional scene picture.
A non-transitory computer-readable storage medium storing at least one computer program, the at least one computer program being executed by a processor of a computer device and causing the computer device to perform a method of displaying a scene picture including:
- displaying a two-dimensional scene picture of a three-dimensional virtual scene, the scene picture including a virtual object;
- in response to a triggering condition being met,
- photographing a sequence of actions performed by the virtual object in the three-dimensional virtual scene based on a photographing trajectory of a virtual camera to obtain a three-dimensional animation corresponding to the virtual scene;
- playing the three-dimensional animation corresponding to the virtual scene;
- in response to completing playing the three-dimensional animation, rendering the virtual object in a preset size and a preset perspective angle in the two-dimensional scene picture of the virtual scene, the size and the perspective angle of the virtual object remaining the same as a last size and a last perspective angle of the virtual object at an end of the photographing trajectory of the virtual camera;
- performing perspective correction on the virtual object displayed in the two-dimensional scene picture of the virtual scene;
- and
- displaying the virtual object in a target posture at a target position in the two-dimensional scene picture, the size and the perspective angle of the virtual object remaining unchanged when the virtual object translates in the two-dimensional scene picture.
Dependencies are inferred from the claim text.