Font Size: a A A

The Model Building And Simulation Of Geometry Primitive Rasterization In GPU

Posted on:2017-04-06Degree:MasterType:Thesis
Country:ChinaCandidate:X B XingFull Text:PDF
GTID:2348330488972982Subject:Engineering
Abstract/Summary:PDF Full Text Request
Rasterization is an important component part in the image processing part. Its purpose is transforming basic primitives defined by apical geometric data and the pixel data into fragments. Points,lines,triangles are the basic image processing entities,which will be rendered after rasterization edge jagged and makes images appear distorted. In order to show high-quality images on the screen, we usually need the anti-aliasing processing for graphics.It describes three basic attributes of points, lines,and triangles in this paper. Such as size,color of point, width, the stipple pattern, coloration patterns of line and stipple pattern, colored models of triangle, anti-aliasing and so on.According to the three basic attributes of entities,we introduce theirs rasterization and anti-aliasing algorithms. According to the coordinates and size of the point, we difeine the scanning area of square.Through point-circle,we determine the sampling area and through multiple sampling to achieve anti-aliased.Rasterization of line is based on the improvement-bresenham algorithm. anti-aliasing is implemented by the distance-weighted algorithm, and modifinng the end point of a line. Triangle rasterization is based on bresenham algorithm and interpolation algorithm of attribute equation,and anti-aliasing is implemented through edge equations and multiple sampling.According to the above algorithm and the three basic entity properties, scan converter module simulation model is set up. Point rasterization andanti-aliasing model is constituted by commands accept model, scanning area, pixel coverage calculation and pixel output module.Line rasterization and anti-aliasing models include linear parameters and spindle scanning module, line width vertical scan, attributes step, edge processing and end processing of anti-aliasing, pixel output module. Triangle rasterizationand anti-aliasing models include triangle parameters module, propertyinitialization, scan interpolation module pixel output module.The pls_sim platform is designed as verification platform,which has perfect BFM, output compare unit, and image display unit. you can accurately check the correctness of the output, or visual images to viewthe output. And the use of random vector, is to assure the function of verifying RTL code correctly.
Keywords/Search Tags:Rasterization, Anti-aliasing, Verification platform, Random vectors
PDF Full Text Request
Related items