Light display method and device
A ray and ray tracing technology, applied in the computer field, can solve the problems of high debugging cost, difficult debugging of ray tracing algorithm, and inability to observe the 3D image construction process intuitively, so as to reduce debugging cost and reduce debugging difficulty.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2021-06-15
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The present invention relates to the field of computer technology, in particular to a light display method and device. Background technique
[0002] Ray tracing is a method of rendering three-dimensional images on a two-dimensional screen and is widely used in computer games and animation, television and DVD production, and film productions. In ray tracing techniques, the path of each ray consists of multiple straight lines, almost always involving reflection, refraction and shadowing effects from the origin to the scene. In animation, the position and direction of the straight portion of each ray is always changing, so each ray is represented by a mathematical equation that defines the ray's spatial path as a function of time. Each ray is assigned a color based on the pigment, or color, of objects in the scene it passes through before reaching the screen. Every pixel on the screen corresponds to every ray of light that can be traced back to the sour...
Examples
Embodiment Construction
[0047] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
[0048] figure 1 It is a schematic diagram of the main flow of the light display method provided according to the first embodiment of the present invention; as figure 1 As shown, the light display method provided by the embodiment of the present invention mainly includes:
[0049] Step S101, acquiring the position of the viewpoint of the camera and the position of the pro...