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

Device and method for achieving triangle antialiasing in GPU

A triangular, anti-aliasing technology, applied in the direction of processor architecture/configuration, data processing input/output process, climate sustainability, etc., can solve the problem of high storage space occupation, amazing time and space overhead, and increased storage space, etc. question

Active Publication Date: 2018-09-11
CHANGSHA JEMO IC DESIGN CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] There are two main methods of anti-aliasing: SSAA (Super Sampling Anti-Aliasing, super sampling anti-aliasing), by rendering a large image and then shrinking, this is equivalent to making a uniform distribution sampling inside each final pixel (which can be evenly distributed distribution, random distribution, jitter distribution, etc.), each sampling point has independent color and depth values, fragment processing is performed once at each sampling point, SSAA anti-aliasing effect is good, but the problem is that it leads to storing color and depth values The storage space is doubled; SSAA needs to execute PS once at each sampling point and save color and depth, and the time and space overhead are astonishing; MSAA (Multi-Sampling Anti-Aliasing, multi-sampling anti-aliasing) appears extremely This has been greatly improved. MSAA only performs fragment processing once for each fragment, and the output color is written to all sample books that pass the depth-stencil test. This method reduces the amount of calculation, but the disadvantage of high storage space is not improve

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
  • Device and method for achieving triangle antialiasing in GPU
  • Device and method for achieving triangle antialiasing in GPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0044] Let the coordinates of the three points of the triangle after vertex processing and screen coordinate transformation be T 0 (x 0 ,y 0 ), T 1 (x 1 ,y 1 ), T 2 (x 2 ,y 2 ), where x 0 , x 1 , x 2 ,y 0 ,y 1 ,y 2 All are single-precision floating-point numbers, and whether the three sides of the triangle need to do anti-aliasing flag registers, these data are stored in the buffer FIFO in units of graphics elements, and the implementation method of the present invention includes the following steps:

[0045] Step 1: read the primitive data from the buffer FIFO;

[0046] Step 2: Sort the three vertices of the triangle from small to large according to the y coordinate size, and set the coordinates of the three points after sorting as T(x T ,y T ), M(x M ,y M ), B(x B ,y B ), corresponding to the need to do anti-aliasing flag Edge BT 、Ed g e BM 、Edge MT ;Calculate the reciprocal of the slope of the three sides of the triangle respectively BT side BM side...

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 a device and method for achieving triangle antialiasing in a GPU. The device comprises a triangle horizontal scanning line generation module, a scanning line boundary extensionmodule, an area ratio calculation and processing module and a fragment fusion module. The implementation method comprises the steps that the boundary of a horizontal scanning line in a triangle is calculated and extended, the area ratio of fragments on the scanning line is calculated and processed, finally, the area ratio is used as a source blending factor of fusion operation, the result that the area ratio is subtracted from one serves as a target blending factor, and corresponding pixels in a source fragment and a frame memory are fused so as to achieve the triangle primitive antialiasingeffect.

Description

technical field [0001] The invention mainly relates to the field of GPU design, in particular to the field of anti-aliasing realization of triangles in GPU. Background technique [0002] When drawing a triangle on a raster graphics display, since the raster is composed of discrete points, it must be sampled at discrete positions on the raster display device. The information distortion caused by insufficient sampling information after reconstruction is called aliasing, which is used to reduce or eliminate this. The technique of this effect is called anti-aliasing. Since the aliasing phenomenon of the graphics has a great impact on the graphics quality, it is necessary to perform anti-aliasing processing on the basic primitives, and triangle is one of the basic primitives. [0003] There are two main methods of anti-aliasing: SSAA (Super Sampling Anti-Aliasing, super sampling anti-aliasing), by rendering a large image and then shrinking, this is equivalent to making a uniform...

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): G06F3/14G06T1/20
CPCG06F3/1407G06T1/20Y02D10/00
Inventor 焦永
Owner CHANGSHA JEMO IC DESIGN CO LTD
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