Viewing angle adjustment method and device, storage medium, and electronic device

    公开(公告)号:US11877049B2

    公开(公告)日:2024-01-16

    申请号:US16894046

    申请日:2020-06-05

    IPC分类号: H04N21/472 H04N23/62

    CPC分类号: H04N23/62 H04N21/472

    摘要: This application discloses a viewing angle adjustment method and device, a storage medium, and an electronic device. The method may include: detecting, by a terminal by using a sensor in the terminal, that the terminal changes from a first position to a second position, the terminal displaying a first image in a virtual scene at a first viewing angle when the terminal is located at the first position, and the first image displaying an object targeting identifier; determining a second viewing angle according to the first position, the second position, the first viewing angle, a second variation quantity from the first viewing angle to the second viewing angle corresponding to a first variation quantity from the first position to the second position; and displaying, by the terminal, a second image in the virtual scene at the second viewing angle when the terminal is located at the second position, the second image also displaying the object targeting identifier.

    Virtual object control method and apparatus, electronic apparatus, and storage medium

    公开(公告)号:US11161041B2

    公开(公告)日:2021-11-02

    申请号:US16893773

    申请日:2020-06-05

    发明人: Yang Deng

    摘要: The present disclosure provides method and apparatus, an electronic apparatus, and a storage medium for a virtual object control, and relates to the field of computer technologies. In the present disclosure, when a touch operation in a control region is detected, a viewing angle of a virtual scene is determined; an acceleration of a virtual object during a falling process is obtained with reference to the touch operation, the viewing angle, and the gravitational acceleration; and the virtual object is controlled to fall according to the acceleration. In this way, an action of a character can be realistically simulated by determining non-fixed moving directions and speeds.

    Method, device and medium for determining posture of virtual object in virtual environment

    公开(公告)号:US11087537B2

    公开(公告)日:2021-08-10

    申请号:US16882515

    申请日:2020-05-24

    发明人: Yang Deng

    摘要: This application discloses a method for determining a posture of a virtual object in a virtual environment performed at an electronic device. The method includes: determining at least one sampling point of the virtual object; determining a normal direction of the virtual object relative to the ground according to the at least one sampling point and the ground on which the virtual object is located; determining a ground-hugging posture of the virtual object in the virtual environment according to the normal direction; and rendering the virtual object in the virtual environment according to the ground-hugging posture. The normal direction of the ground on which the virtual object is located is determined according to the sampling point, and the ground-hugging posture of the virtual object in the virtual environment is obtained according to the normal direction.

    Method and apparatus for processing display of resource in animation, and terminal

    公开(公告)号:US10769833B2

    公开(公告)日:2020-09-08

    申请号:US16356579

    申请日:2019-03-18

    发明人: Yang Deng

    摘要: A method, apparatus, and non-transitory computer-readable medium for display processing are provided. A projection trajectory of a projectile to a target is calculated. The projectile is moved to the target when the calculated projection trajectory satisfies a shooting condition. A current viewpoint is switched to a viewpoint from the projectile, and a first animation in which the projectile is tracked is played in slow motion. The viewpoint from the projectile is then switched to a viewpoint from the target at a preset time prior to when the projectile hits the target. A second animation is subsequently played in which the target is hit by the projectile.

    Virtual scene display method, electronic apparatus, and storage medium

    公开(公告)号:US11219828B2

    公开(公告)日:2022-01-11

    申请号:US16904422

    申请日:2020-06-17

    摘要: Embodiments of this application disclose a virtual scene display method performed at an electronic apparatus, and a storage medium, and belong to the field of computer technologies. The method includes: displaying a focusing button in a terminal screen in a case that a virtual scene is in a scaling display mode based on a scope, the focusing button being configured to adjust a scaling ratio of the virtual scene; obtaining an adjusted target field of view (FOV) corresponding to the scope according to a touch operation on the focusing button; obtaining the scaling ratio of the virtual scene according to the target FOV, the target FOV and the scaling ratio being in a negative correlation; and updating the virtual scene in the terminal screen according to the scaling ratio.