Invention Grant
- Patent Title: 3D model rendering method and apparatus and terminal device
-
Application No.: US15316848Application Date: 2015-06-10
-
Publication No.: US09916676B2Publication Date: 2018-03-13
- Inventor: Zongwang Zeng
- Applicant: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Marshall, Gerstein & Borun LLP
- Priority: CN201410255533 20140610
- International Application: PCT/CN2015/081158 WO 20150610
- International Announcement: WO2015/188749 WO 20151217
- Main IPC: G06T15/50
- IPC: G06T15/50 ; G06T15/04 ; G06T15/80 ; G06T15/00 ; G06T19/20

Abstract:
The present application discloses a 3D model rendering method and apparatus and a terminal device. The method includes calculating, in a diffuse reflection illumination situation simulated by hardware, dot product operation results of a light vector and a normal line vector of each vertex on a surface of a 3D model, converting the dot product operation results of each vertex to corresponding UV coordinate values, then drawing, according to a preset correspondence between UV coordinate values and a color value of a 3D model basic texture after receiving light, a gradient map having a color value corresponding to the UV coordinate values of the each vertex, and covering the surface of the 3D model with the gradient map. The rendering method according to the present application transfers a conventional process of coloration in a three-dimensional model to drawing a gradient map in a two-dimensional plane and then, further covering the 3D model with the drawn gradient map, has a simpler processing process, and also reduces a performance requirement on an electronic device in a process of performing 3D model rendering.
Public/Granted literature
- US20170116771A1 3D MODEL RENDERING METHOD AND APPARATUS AND TERMINAL DEVICE Public/Granted day:2017-04-27
Information query
IPC分类:
G | 物理 |
G06 | 计算;推算或计数 |
G06T | 一般的图像数据处理或产生 |
G06T15/00 | 3D〔三维〕图像的加工 |
G06T15/50 | .发光效果 |