Grass highlight rendering method, device and equipment and storage medium
A highlight and grass normal technology, applied in image data processing, 3D image processing, instruments, etc., can solve the problem of cluttered grass highlight performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] figure 2 It is a flowchart of a grass highlight rendering method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of performing highlight rendering on the grass to be rendered, and is especially suitable for performing high-light rendering on the grass to be rendered based on the grass normal of the grass to be rendered and the terrain normal of the current position of the grass to be rendered including the grass to be rendered. The case of specular rendering. The method can be executed by the grass highlight rendering device provided in the embodiment of the present invention, the device can be implemented by software and / or hardware, and the device can be integrated on the grass highlight rendering device, which can be various user terminals or servers .
[0051] see figure 2 , the method of the embodiment of the present invention specifically includes the following steps:
[0052] S110. When a grass highlight renderin...
Embodiment 2
[0066] image 3 It is a flowchart of a grass highlight rendering method provided in Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned technical solutions. In this embodiment, optionally, perform highlight rendering on the grass to be rendered based on the grass normal of the grass to be rendered to obtain the first highlight data, which may include: obtaining the grass normal of the grass to be rendered and the preset target specular reflection model; input the grass normal into the target specular reflection model, and obtain the first highlight data according to the output result of the target specular reflection model; correspondingly, highlight the grass to be rendered based on the terrain normal at the current position of the grass to be rendered Rendering to obtain the second highlight data may include: obtaining the terrain normal of the current position where the grass to be rendered is located; inputting the terra...
Embodiment 3
[0077] Figure 4 It is a flowchart of a grass highlight rendering method provided in Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned technical solutions. Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.
[0078] see Figure 4 , the method of this embodiment may specifically include the following steps:
[0079] S310. When a grass highlight rendering event is detected, obtain the grass to be rendered corresponding to the grass highlight rendering event and the grass to be rendered where the grass to be rendered is located.
[0080] S320. Input the grass normal and depth information of the grass to be rendered into a preset target specular reflection model, so that the target specular reflection model can obtain a horizontal ambient light occlusion map of the grass to be rendered according to the grass normal and depth information, And output the first ...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com