Method for rendering of simulating illumination and terminal

    公开(公告)号:US11257286B2

    公开(公告)日:2022-02-22

    申请号:US16789263

    申请日:2020-02-12

    Abstract: Embodiments of this application disclose a method for rendering of simulating illumination performed at a terminal, including: obtaining first grid vertex information of a preset first virtual object model, the first grid vertex information including first color information and first normal information, the first normal information being obtained by baking a high model corresponding to the preset first virtual object model; performing vertex space conversion on the first normal information to obtain second normal information corresponding to the first grid vertex information; obtaining first illumination information corresponding to the first grid vertex information according to a preset color setting rule and the second normal information, the preset color setting rule being used to represent a correspondence between colors and illumination; and rendering the first virtual object model by using the first illumination information, the first color information, and the first grid vertex information to obtain a second virtual object model.

    METHOD FOR RENFERING OF SIMULATING ILLUMINATION AND TERMINAL

    公开(公告)号:US20200184714A1

    公开(公告)日:2020-06-11

    申请号:US16789263

    申请日:2020-02-12

    Abstract: Embodiments of this application disclose a method for rendering of simulating illumination performed at a terminal, including: obtaining first grid vertex information of a preset first virtual object model, the first grid vertex information including first color information and first normal information, the first normal information being obtained by baking a high model corresponding to the preset first virtual object model; performing vertex space conversion on the first normal information to obtain second normal information corresponding to the first grid vertex information; obtaining first illumination information corresponding to the first grid vertex information according to a preset color setting rule and the second normal information, the preset color setting rule being used to represent a correspondence between colors and illumination; and rendering the first virtual object model by using the first illumination information, the first color information, and the first grid vertex information to obtain a second virtual object model.

    Three-dimensional virtual image display method and apparatus, terminal, and storage medium

    公开(公告)号:US10854017B2

    公开(公告)日:2020-12-01

    申请号:US16541620

    申请日:2019-08-15

    Abstract: A three-dimensional virtual image display method is provided for a terminal. The method includes obtaining a first model map and a second model map of a three-dimensional virtual image, and determining a target region of the three-dimensional virtual image. The three-dimensional virtual image comprises a first model and a second model, and the target region is a joining region of the first model and the second model. The method also includes setting brightness of each pixel point in the target region in a shader to be a same value, the shader being configured to set illumination environmental data of each pixel point in the three-dimensional virtual image and the illumination environmental data at least comprising the brightness; and rendering the first model map and the second model map through the shader, so that a brightness of each pixel point in the target region displayed after rendering is equal.

Patent Agency Ranking