STREAK VISUAL EFFECT GENERATING METHOD, VIDEO GENERATING METHOD, AND ELECTRONIC DEVICE

    公开(公告)号:US20240320895A1

    公开(公告)日:2024-09-26

    申请号:US18269866

    申请日:2021-11-24

    Abstract: A method for generating a trailing visual effect based on a particle flow, a method for generating a video, an electronic device, and a non-transitory computer-readable storage medium are provided. The method for generating the trailing visual effect based on the particle flow includes: acquiring an extending trajectory of the particle flow; generating, in a three-dimension space for generating the trailing visual effect, a plurality of particles for forming the particle flow according to the extending trajectory; rendering the plurality of particles to obtain a plurality of particle primitive models; and generating the trailing visual effect based on the plurality of particle primitive models. The method for generating the trailing visual effect based on the particle flow can generate particles along the extending trajectory of the particle flow to form the trailing visual effect.

    METHOD FOR GENERATING FIREWORK VISUAL EFFECT, ELECTRONIC DEVICE, AND STORAGE MEDIUM

    公开(公告)号:US20240037830A1

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

    申请号:US18268027

    申请日:2021-11-24

    CPC classification number: G06T13/60 G06T19/20 G06T2210/56 G06T2219/2012

    Abstract: A method for generating a firework visual effect, an electronic device, and a non-transitory computer readable storage medium are disclosed. The method for generating the firework visual effect includes: determining a visual effect trajectory; according to the visual effect trajectory, generating a firework particle set and a trail particle set in a three-dimensional space used for generating the firework visual effect; rendering the firework particle set to obtain a firework particle primitive model set; rendering the trail particle set to obtain a trail particle primitive model set; and performing superposition processing on the firework particle primitive model set and the trail particle primitive model set to generate a firework visual effect, wherein at least some trail particle primitive models in the trail particle primitive model set are at least displayed for a preset time period.

    PARTICLE RENDERING METHOD AND APPARATUS
    3.
    发明公开

    公开(公告)号:US20240169650A1

    公开(公告)日:2024-05-23

    申请号:US18551321

    申请日:2022-04-13

    Inventor: Jinyuan WU Yi GUO

    CPC classification number: G06T15/005 G06T2210/56

    Abstract: The present disclosure discloses a particle rendering method and apparatus. The particle rendering method includes: obtaining a first coordinate value and a second coordinate value of an initial position of a particle, wherein the first coordinate value is a coordinate value of the particle on a first coordinate axis, and the second coordinate value is a coordinate value of the particle on a second coordinate axis, the first coordinate axis and the second coordinate axis being two coordinate axes mutually perpendicular within a horizontal plane in a local coordinate system; obtaining a first pseudo-random number corresponding to the first coordinate value and a second pseudo-random number corresponding to the second coordinate value based on a preset pseudo-random algorithm; obtaining a coordinate value of the particle on the first coordinate axis at a target motion time based on the first pseudo-random number, the second pseudo-random number and a first fitting algorithm; obtaining a coordinate value of the particle on the second coordinate axis at the target motion time based on the first pseudo-random number, the second pseudo-random number and a second fitting algorithm; and rendering the particle at the target motion time according to the coordinate value of the particle on the first coordinate axis and the coordinate value of the second coordinate is at the target motion time.

    METHOD AND APPARATUS FOR RENDERING TRANSPARENT POLYHEDRON

    公开(公告)号:US20240265623A1

    公开(公告)日:2024-08-08

    申请号:US18567263

    申请日:2022-07-20

    CPC classification number: G06T15/10 G06T15/50

    Abstract: There is provided a solution for rendering a transparent polyhedron. In a method, obtaining reflected light colors of respective positions on a back face of the transparent polyhedron; sampling on a background image or an ambient map according to the refracted light directions of respective positions on the back face to obtain refracted light colors; obtaining colors of respective positions on the back face according to the reflected light colors and the refracted light colors of respective positions on the back face; obtaining colors of respective positions on a front face of the transparent polyhedron; weighted-mixing the colors of respective positions on the back face and the colors of respective positions on the front face according to a first weighting coefficient to obtain rendering colors of respective positions of the transparent polyhedron; rendering the transparent polyhedron according to the rendering colors of respective positions of the transparent polyhedron.

    IMAGE RENDERING METHOD AND APPARATUS
    5.
    发明公开

    公开(公告)号:US20240185500A1

    公开(公告)日:2024-06-06

    申请号:US18552777

    申请日:2022-04-13

    Inventor: Jinyuan WU Yi GUO

    CPC classification number: G06T15/00 G06T7/50 G06V10/761

    Abstract: This disclosure discloses an image rendering method and apparatus. The image rendering method includes: obtaining a first depth and a second depth corresponding to each pixel point of pixel points in an image to be rendered, wherein the first depth corresponding to the pixel point is a depth of a real scene corresponding to the pixel point in a Normalized Device Coordinate system, and the second depth corresponding to the pixel point is a depth of a virtual scene corresponding to the pixel point in the Normalized Device Coordinate system; obtaining a depth difference corresponding to the each pixel point based on the first depth and the second depth corresponding to the each pixel point, wherein the depth difference corresponding to the pixel point is a difference between a depth of a real scene corresponding to the pixel point and a depth of a virtual scene corresponding to the pixel point in a camera coordinate system; determining an opacity corresponding to the each pixel point according to the depth difference corresponding to the each pixel point, wherein the depth difference corresponding to the each pixel point is positively correlated with the opacity corresponding to the each pixel point; and rendering a layer corresponding to the virtual scene over a layer corresponding to the real scene to generate the image to be rendered based on the opacity corresponding to the each pixel point.

Patent Agency Ranking