| CPC G06T 19/20 (2013.01) [G06T 7/70 (2017.01); G06V 10/141 (2022.01); G06T 2219/2004 (2013.01); G06T 2219/2016 (2013.01)] | 16 Claims |

|
1. A virtual scene-based beam display method, performed by a computer device, comprising:
displaying a virtual scene, a target virtual object and a virtual prop launcher held by the target virtual object being displayed in the virtual scene;
in response to a mounting operation for the virtual prop launcher in the virtual scene, displaying a mounted virtual beam emitter based on a target mounting position determined by the mounting operation, the virtual beam emitter being configured to assist the virtual prop launcher in aiming; and
displaying a beam emitted by the virtual beam emitter in the virtual scene based on the target virtual object, the virtual prop launcher, and the target mounting position, the beam pointing to an aim position of the virtual prop launcher, comprising:
determining a target position of the virtual beam emitter based on first positioning information of the target virtual object in the virtual scene and the target mounting position, the first positioning information including a position and a pointing direction of a hand of the target virtual object in the virtual scene;
determining an emission direction of the beam based on the first positioning information, second positioning information of the target virtual object, a target launching distance of the virtual prop launcher, and the target position, the second positioning information including a position and an orientation of a virtual camera of the target virtual object in the virtual scene; and
controlling the virtual beam emitter to emit the beam in the emission direction.
|