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

Static scene ray tracing chessboard rendering method and system based on CPU and storage medium

A ray tracing and chessboard technology, applied in 3D image processing, image data processing, instruments, etc., can solve problems such as high requirements, lack of versatility, and lack of support for dynamic memory allocation, so as to improve efficiency, reduce the amount of calculation, To achieve the effect of rendering acceleration

Pending Publication Date: 2022-02-15
SUN YAT SEN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the method based on GPU acceleration has high requirements on graphics hardware, and does not support dynamic allocation of memory, and does not have good versatility

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
  • Static scene ray tracing chessboard rendering method and system based on CPU and storage medium
  • Static scene ray tracing chessboard rendering method and system based on CPU and storage medium
  • Static scene ray tracing chessboard rendering method and system based on CPU and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] like figure 1 , 2 As shown, the specific steps of the CPU-based static scene ray tracing checkerboard rendering method in this embodiment are as follows:

[0038] Step S1. Construct a 3D scene according to the coordinates of the point light source and the geometric object, and initialize the camera position.

[0039] Wherein, the 3D scene includes all geometric objects such as point light sources, occluders, and scene objects.

[0040] Step S2, setting a historical pixel value buffer for storing pixel color values, the size of which is half of the number of screen pixels, and the initial value is set as the background color of the scene; at the same time, setting a historical collision point coordinate buffer.

[0041] The background color of the scene is selected as pure black; the historical collision point coordinate buffer stores the coordinates of the first collision point between the light and the object in the chessboard ray tracing algorithm, as well as the co...

Embodiment 2

[0070] Based on the same inventive concept as Embodiment 1, this embodiment provides a CPU-based static scene ray tracing checkerboard rendering system, which includes:

[0071] The three-dimensional scene construction module is used to implement step S1 of embodiment 1, constructing a three-dimensional scene according to the coordinates of the point light source and the geometric object, and initializing the camera position;

[0072] The buffer setting module is used to realize the step S2 of embodiment 1, and a historical pixel value buffer and a historical collision point coordinate buffer are set;

[0073] A bounding box calculation module, configured to implement step S3 of Embodiment 1, to calculate the bounding box of each geometric object in the three-dimensional scene;

[0074] The odd-even checkerboard sampling module is used to implement step S4 of Embodiment 1, and uses programming to realize the odd-even checkerboard sampling to obtain sampling pixels;

[0075] T...

Embodiment 3

[0080] Based on the same inventive concept as that of Embodiment 1, this embodiment provides a storage medium on which computer-executable instructions are stored. When the computer-executable instructions are executed by a computer processor, they are used to realize the static scene light of Embodiment 1. Tracks the checkerboard rendering method. A storage medium may be any of various types of memory devices or storage devices.

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 relates to the technical field of computer graphics rendering, and in particular relates to a static scene ray tracing chessboard rendering method and system based on a CPU and a storage medium. The method comprises the steps of constructing a three-dimensional scene according to the coordinates of a point light source and a geometric object; setting a historical pixel value buffer area and a historical collision point coordinate buffer area; calculating a boundary bounding box of each geometric object in the three-dimensional scene; achieving odd-even chessboard sampling in a programming mode, and obtaining sampling pixel points; if a camera is static, obtaining a half-resolution rendering frame by utilizing a chessboard type ray tracing algorithm in a rendering stage, and obtaining a full-resolution target image by combining pixel values of a historical pixel value buffer area; and if the camera moves through user interaction, obtaining a full-resolution target image through an interaction correction algorithm. According to the method, the three-dimensional scene is constructed, the pixel space is divided into blocks, the CPU parallel computing and the boundary bounding box are used for realizing rendering acceleration, and the effects of reducing frame buffer and improving the real-time interaction frame rate are achieved.

Description

technical field [0001] The invention relates to the technical field of computer graphics rendering, in particular to a CPU-based static scene ray tracing checkerboard rendering method, system and storage medium. Background technique [0002] Ray tracing is a rendering method in 3D computer graphics. As a global illumination rendering technology, it can simulate the physical propagation behavior of light in the real world. Compared with traditional rasterized rendering, ray tracing can achieve higher-quality rendering effects, but it requires a large number of rays to traverse the scene geometry, and its computational cost is relatively high. In static scenes, ray tracing treats each ray as an independent ray, which needs to be recalculated each time, resulting in the calculation of a large number of rays per second. The overall rendering calculation cost is high, resulting in long rendering time and low frame rate of real-time interaction. And other issues. [0003] Checke...

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
IPC IPC(8): G06T15/00G06T15/06G06T17/00
CPCG06T15/005G06T15/06G06T17/00
Inventor 纪庆革朱泳霖郭佳俊
Owner SUN YAT SEN UNIV
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