Illumination Calculation Method, Device, Computer Equipment, and Computer-Readable Storage Medium

A calculation method and lighting technology, applied in the field of image processing, to reduce the possibility of serious performance problems, relieve bandwidth pressure, and reduce the amount of calculation

Active Publication Date: 2021-12-17
BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the present application provides a lighting calculation method, device, computer equipment, and computer-readable storage medium, the main purpose of which is to solve a large number of redundant calculations, which will cause serious performance problems in complex scenes. Problems that put a lot of pressure on bandwidth

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
  • Illumination Calculation Method, Device, Computer Equipment, and Computer-Readable Storage Medium
  • Illumination Calculation Method, Device, Computer Equipment, and Computer-Readable Storage Medium
  • Illumination Calculation Method, Device, Computer Equipment, and Computer-Readable Storage Medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The following exemplary embodiments described in more detail with reference to the present application. While the exemplary embodiment shows an exemplary embodiment of the present application, the drawings, it should be understood that the present application may be implemented in various forms and embodiments it should not be set forth herein limits. Rather, these embodiments are able to more thorough understanding of the application, and to convey the full scope of the present application to those skilled in the art.

[0067] Example embodiments provide a method of the present application lighting calculations, such as figure 1 As shown, the method includes:

[0068] 101, a division of the target scene in frustum predetermined dimensions to obtain a plurality of polyhedrons.

[0069] 102, determining a relative relationship of the plurality of polyhedrons with a plurality of light sources in a target scene, based on the result, generates a list of a plurality of light sou...

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 application discloses an illumination calculation method, device, computer equipment, and computer-readable storage medium, which relate to the technical field of image processing, and divide the viewing cone of the target scene to obtain multiple polyhedrons, and determine the relative relationship between the polyhedron and the light source , generate a light source list, and then use the light source list corresponding to the polyhedron where the fragment is located for calculation, and use the clipped light source to perform illumination calculation on the fragment, which reduces the amount of calculation and greatly reduces the possibility of serious performance problems in complex scenes performance and relieve bandwidth pressure. The method includes: dividing the viewing cone of the target scene in a preset dimension to obtain multiple polyhedrons; judging the relative relationship between the multiple polyhedrons and multiple light sources in the target scene, and generating multiple light source lists according to the judgment result; Determine the target fragment, and query the target polyhedron to which the target fragment belongs in multiple polyhedra; perform lighting calculation on the target fragment based on the target light source list corresponding to the target polyhedron.

Description

Technical field [0001] The present application relates to the technical field of image processing, more particularly to a method for calculating lighting, apparatus, computer apparatus and computer-readable storage medium. Background technique [0002] In recent years, image processing technology continues to develop, both users and developers, the requirements for image quality higher and higher, and therefore, in order to improve the quality of computer animation, enhance their sense of reality, while the light is calculated based lighting and illumination rendering environment It has become a key point in image processing. [0003] In the related art, light during rendering, rendering is usually performed to the embodiment before use. Forward rendering, also known as forward rendering, is a direct way of rendering objects to render, first, to determine all the objects in the scene to be rendered in the traditional ago, in which any selected object. Subsequently, all the lights...

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/00G06T15/50
CPCG06T15/005G06T15/50
Inventor 吕峻宇
Owner BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
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