Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Lighting scene rendering method

A technology of scene and light intensity, which is applied in the field of scene rendering, can solve the problems of no overall sense of leaf lighting and high distortion of lighting effects, and achieve the effect of eliminating black grid patches, improving fidelity, and avoiding distortion

Active Publication Date: 2019-02-26
BEIJING PIXEL SOFTWARE TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The orientation of each leaf is random, and the light received is also independent, but the overall leaf has unity
Using the traditional rendering scheme above, the rendering effect will appear as follows figure 2 As shown in the effect, the light intensity of some leaves in this picture is 0, so the effect of black leaves makes the light of the leaves have no overall sense
[0006] It can be seen that the existing lighting scene rendering methods have the problem of high distortion of lighting effects.

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
  • Lighting scene rendering method
  • Lighting scene rendering method
  • Lighting scene rendering method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0020] The core idea of ​​the present invention is: when calculating the illumination intensity of the grid surface, refer to the absolute value of the preset fill light coefficient add_ratio and the dot product result of vector l and vector n, so that the illumination of the grid surface can be The intensity is more hierarchical, greatly reducing or avoiding the existence of black mesh patches, which in turn can improve the fidelity of lighting scene rendering.

[0021] image 3 It is a schematic flow chart of an embodiment of the present invention, such as image 3 As shown, this embodiment mainly includes:

[0022] Step 301. For the grid patch corresponding to each object to be rendered in the lighting scene, calculate the light inte...

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 invention discloses an illumination scene rendering method, which comprises the following steps: for a grid patch corresponding to each objected to be rendered in an illumination scene, calculating the illumination intensity value of the grid patch according to a preset light supplement coefficient add_ratio and an absolute value of a dot product result of a vector l and a vector n, wherein the l is a unit vector in the light source direction, the n is a unit vector of a normal line of the surface of an object corresponding to the grid patch, and the add_ratio is larger than or equal to zero; and rendering the grid patch according to the illumination intensity value of the grid patch. The illumination scene rendering method can improve fidelity of scene rendering.

Description

technical field [0001] The present invention relates to scene rendering technology, in particular to a lighting scene rendering method. Background technique [0002] In the rendering of a virtual scene, in order to make the rendered objects (such as leaves) in the scene more realistic, it is usually necessary to calculate the light intensity attribute for the mesh patch used to draw the rendered object, so that it can appear when rendering lighting effects. [0003] At present, the Phong illumination model is usually used to calculate the illumination intensity of the mesh patch. The Phong lighting model is a widely used local lighting model in real-time graphics. In this model, the final color of the object surface is defined by four items: diffuse light, specular light, ambient light, and emitted light. Among them, diffuse light and specular light deal with the light directly from the light source; ambient light deals with indirect lighting; and emitted light deals with ...

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 Patents(China)
IPC IPC(8): G06T15/50
CPCG06T15/506
Inventor 罗树权
Owner BEIJING PIXEL SOFTWARE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products