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.

Pending Publication Date: 2021-09-10
上海米哈游璃月科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a grass highlight rendering method, device, equipment and storage medium, which solves the problem that the currently rendered grass highlight is relatively messy in performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Grass highlight rendering method, device and equipment and storage medium
  • Grass highlight rendering method, device and equipment and storage medium
  • Grass highlight rendering method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a grass highlight rendering method, device and equipment and a storage medium. The method comprises the following steps: when a grass highlight rendering event is detected, obtaining to-be-rendered grass corresponding to the grass highlight rendering event and a to-be-rendered grass cluster where the to-be-rendered grass is located; performing highlight rendering on the to-be-rendered grass based on the grass normal of the to-be-rendered grass to obtain first highlight data, and performing highlight rendering on the to-be-rendered grass based on the terrain normal of the current position of the to-be-rendered grass cluster to obtain second highlight data; and obtaining the grass highlight of the to-be-rendered grass according to the first highlight data and the second highlight data. According to the technical scheme provided by the embodiment of the invention, both the grass normal and the terrain normal are considered in the grass highlight rendering process, so that under the condition that the highlight effect of the to-be-rendered grass conforms to the actual situation, to-be-rendered grass belonging to the same to-be-rendered grass cluster has better integrity in the highlight effect.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer application technologies, and in particular, to a grass highlight rendering method, device, device, and storage medium. Background technique [0002] After the light source hits the object, it will be reflected into the human eye. The brightest part of the object is called a highlight. Grass highlight rendering has always been the top priority in three-rendering and two-cartoon rendering. [0003] In the process of implementing the present invention, the inventors found the following technical problems in the prior art: the currently rendered grass highlights are rather messy in performance, for example, see figure 1 , poor user experience. Contents of the invention [0004] Embodiments of the present invention provide a grass highlight rendering method, device, device, and storage medium, which solves the problem that currently rendered grass highlights are relatively messy in per...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06T15/00G06T15/20G06T15/06
CPCG06T15/005G06T15/205G06T15/06
Inventor 周昊楠陈逸飏李慧妍陈凌峰陆秉君杨星
Owner 上海米哈游璃月科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products