-
公开(公告)号:US20250005850A1
公开(公告)日:2025-01-02
申请号:US18882497
申请日:2024-09-11
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Shu WANG , Qihang YANG , Chengyun YANG , Shaobo FENG
IPC: G06T15/80
Abstract: Embodiments of this application provide a shading method, a shading apparatus, and an electronic device. One example method includes: obtaining rendering information of an image, where the rendering information includes a main scene rendering texture, camera information, model view projection (MVP) matrix information of a rendering object, and a user interface (UI) rendering texture; determining a first guide image based on the main scene rendering texture, the camera information, and the MVP matrix information of the rendering object; determining a second guide image based on the UI rendering texture; determining a third guide image based on the first guide image and the second guide image; and shading the third guide image.
-
公开(公告)号:US20220012842A1
公开(公告)日:2022-01-13
申请号:US17484523
申请日:2021-09-24
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Fan ZHANG , Jiangzheng WU , Xindong SHI , Shu WANG
Abstract: This application relates to the field of graphics rendering technologies, and specifically discloses a graphics rendering method and a related apparatus. A central processing unit CPU captures an instruction stream of a graphics processing unit GPU to obtain vertex data required by the GPU for graphics rendering; the CPU performs primitive processing such as coordinate transformation and clipping on the obtained vertex data to obtain vertex data within a field of view of a user; and the CPU sends the vertex data within the field of view of the user to the graphics processing unit GPU, so that the GPU performs graphics rendering processing based on the vertex data processed by the CPU. In technical solutions provided in this application, load of the GPU can be reduced during graphics rendering.
-