Drawing method for full-frequency mutual reflection illumination effects in scene
An inter-reflection, full-frequency technology, applied in the field of photorealistic graphics rendering, can solve the problems of inability to uniformly deal with limitations, difficult to deal with high-gloss materials, increased calculation time, etc., to achieve high efficiency, accurate results, and the rendering process. quick effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] see Figure 1 to Figure 3 , the present invention provides a rendering method for full-frequency interreflection lighting effects in a scene, and its specific implementation process is as follows.
[0052] In step S101, a preset scene is read in, and a scene model of the preset scene is generated. In this embodiment, the scene model is formed by combining multiple sub-models. After judging, it is determined that not all the sub-models have triangle faces less than the first threshold, so a hierarchical structure needs to be established for the scene model. In this embodiment, the establishment method of the hierarchical structure of the scene model is specifically as follows figure 2 shown.
[0053] In step S1011, a binary tree is established based on the scene model, wherein the leaf nodes of the binary tree are individual triangle faces, the intermediate nodes of the binary tree are a collection of triangle faces, and the intermediate nodes include the intermediat...
Embodiment 2 and Embodiment 3
[0078] Example 2 and Example 3: Please refer to Figure 1-Figure 5 , compared with Embodiment 1, the order of calculating the direct lighting result of each sub-model (step S102 ) and calculating the mutual reflection lighting result (step S103 - step S106 ) is not in any order. either as Figure 4 Subsequent executions, as shown, can also be performed as Figure 5 The synchronous execution shown. Those skilled in the art should understand that step S102 and any step in steps S103-S106 are executed in no particular order.
Embodiment 4
[0080] see Figure 6 , the present invention provides a rendering method for full-frequency interreflection lighting effects in a scene, and its specific implementation process is as follows.
[0081] In step S501, a preset scene is read in, and a scene model of the preset scene is generated. In this embodiment, the scene model is formed by combining multiple sub-models. After judgment, it is determined that the number of triangles of all the sub-models is less than the first threshold, so there is no need to establish a hierarchical structure for the scene model. When the number of triangular faces of all sub-models is less than the first threshold, the rendering time required to obtain the same rendering result without establishing a hierarchical structure is equivalent to that required to establish a hierarchical structure, and the calculation steps are more concise.
[0082] In step S502, calculate the direct lighting results of each sub-model in the preset scene accordi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap