Method and apparatus for realizing graphic rendering in computer
A graphics rendering and computer technology, applied in computing, 3D image processing, image data processing, etc., can solve problems such as burden, increased game loading burden, and stiff graphics effects, etc., to achieve low cost, light burden, and good effect Effect
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2018-01-26
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of graphics processing, and more specifically, to a method and device for realizing graphics rendering in a computer. Background technique
[0002] In the real world, any non-self-illuminating object can be perceived by human eyes only because it reflects light. Computer rendering actually simulates the interaction between light and objects. However, the interaction between light and objects is a very complex process, and the current technical level cannot achieve such complex calculations within the range of interactive frame rates. Therefore, in real-time graphics rendering, approximate algorithms are generally used, and a simplified mathematical model describing the interaction between light and objects is used to approximate the real-world situation as much as possible. Among them, the mathematical model of highlights is particularly important for the performance of object texture. Whether an object is ...
Examples
Embodiment Construction
[0037] Embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0038] Such as figure 1 As shown, in a method and device embodiment for realizing graphics rendering in a computer of the present invention, the method includes the following steps:
[0039] Step S11 determines the way to apply the highlight generated by the light source to the object in the scene: In this embodiment, a rendering process based on the Clementian highlight algorithm is taken as an example to illustrate the rendering method in this embodiment and the traditional rendering method There is a difference, specifically in how highlights are handled. That is to say, a variant of the Clementine highlight algorithm is provided in this embodiment, which can obtain sufficiently rich and delicate visual effects while saving computing resources and storage space. Generally speaking, in this embodiment, two sets of four-dimensional vectors are used to...