-
公开(公告)号:US20230343018A1
公开(公告)日:2023-10-26
申请号:US18214634
申请日:2023-06-27
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xindong SHI , Chang LIU , Yunfei ZHANG , Xiaofeng YU
CPC classification number: G06T15/06 , G06T7/60 , G06T7/70 , G06T15/005 , G06T15/08 , G06T15/506 , G06T2207/10024
Abstract: An image rendering method and a related device thereof are disclosed. The method includes: performing ray tracing based on rendering information of a reflecting object, and storing an obtained image of a reflection in the reflecting object in a first frame buffer, where the first frame buffer is used for storing an image that does not need to be displayed temporarily; performing rasterization separately based on the rendering information of the reflecting object and rendering information of a reflected object, and storing an obtained image of the reflecting object and an obtained image of the reflected object in a second frame buffer, where the second frame buffer is used for storing an image to be displayed; and obtaining, from the first frame buffer, the image of the reflection in the reflecting object, and storing the image of the reflection in the reflecting object in the second frame buffer.
-
公开(公告)号:US20240378793A1
公开(公告)日:2024-11-14
申请号:US18696019
申请日:2022-09-29
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Xiaofeng YU , Xindong SHI , Chang LIU
Abstract: An image rendering method in this application includes S1: performing ray tracing-based intersection calculation based on space information of a reflective object and space information of a reflected object to obtain M intersecting points on the reflected object, where the reflected object corresponds to at least one piece of material information, and M≥1; and S2: determining, in the M intersecting points, a plurality of intersecting points corresponding to target material information, and performing shading based on the target material information and space information of the plurality of intersecting points corresponding to the target material information, to obtain an image of a reflection that is of the reflected object and that is in the reflective object, where the target material information is the at least one piece of material information.
-