Product Code Database
Example Keywords: water filter -pokimon $87
barcode-scavenger
   » » Wiki: Rasterisation
Tag Wiki 'Rasterisation'.
Tag

In computer graphics, rasterisation () or rasterization () is the task of taking an described in a format (shapes) and converting it into a (a series of , dots or lines, which, when displayed together, create the image which was represented via shapes).

(1995). 9780748400652, CRC Press. .
(2007). 9781420009187, CRC Press. .
The rasterized image may then be displayed on a , or , or stored in a file format. Rasterization may refer to the technique of drawing 3D models, or to the conversion of 2D rendering primitives, such as and , into a rasterized format.


Etymology
The term "rasterisation" comes .


2D images

Line primitives
Bresenham's line algorithm is an example of an algorithm used to rasterize lines.


Circle primitives
Algorithms such as the midpoint circle algorithm are used to render circles onto a pixelated canvas.


3D images
Rasterization is one of the typical techniques of rendering 3D models. Compared with other rendering techniques such as ray tracing, rasterization is extremely fast and therefore used in most realtime 3D engines. However, rasterization is simply the process of computing the mapping from scene geometry to pixels and does not prescribe a particular way to compute the color of those pixels. The specific color of each pixel is assigned by a (which in modern is completely ). Shading may take into account physical effects such as light position, their approximations or purely artistic intent.

The process of rasterizing 3D models onto a 2D plane for display on a ("") is often carried out by fixed function (non-programmable) hardware within the graphics pipeline. This is because there is no motivation for modifying the techniques for rasterization used at render time and a special-purpose system allows for high efficiency.


Triangle rasterization
are a common representation of digital 3D models. Before rasterization, individual polygons are typically broken down into triangles; therefore, a typical problem to solve in 3D rasterization is rasterization of a triangle. Properties that are usually required from triangle rasterization algorithms are that rasterizing two adjacent triangles (i.e. those that share an edge)

  1. leaves no holes (non-rasterized pixels) between the triangles, so that the rasterized area is completely filled (just as the surface of adjacent triangles). And
  2. no pixel is rasterized more than once, i.e. the rasterized triangles don't overlap. This is to guarantee that the result doesn't depend on the order in which the triangles are rasterized. Overdrawing pixels can also mean wasting computing power on pixels that would be overwritten.

This leads to establishing rasterization rules to guarantee the above conditions. One set of such rules is called a top-left rule, which states that a pixel is rasterized if and only if

  1. its center lies completely inside the triangle, or
  2. its center lies exactly on the triangle edge (or multiple edges in case of corners)that is (or, in case of corners, all are), either the top or left edge.

A top edge is an edge that is exactly horizontal and lies above other edges, and a left edge is a non-horizontal edge that is on the left side of the triangle.

This rule is implemented e.g. by Direct3D and many implementations (even though the specification doesn't define it and only requires a consistent rule).


Quality
The quality of rasterization can be improved by antialiasing, which creates "smooth" edges. Sub-pixel precision is a method which takes into account positions on a finer scale than the pixel grid and can produce different results even if the endpoints of a primitive fall into same pixel coordinates, producing smoother movement animations. Simple or older hardware, such as PlayStation 1, lacked sub-pixel precision in 3D rasterization.


See also
  • Font rasterization
  • Sub-pixel resolution
  • Hidden-surface determination
  • Bresenham's line algorithm for a typical method in rasterization
  • Scanline rendering for line-by-line rasterization
  • Rendering (computer graphics) for more general information
  • Graphics pipeline for rasterization in commodity graphics hardware
  • Raster image processor for 2D rasterization in printing systems
  • for the source art
  • for the result
  • Raster to vector for conversion in the opposite direction
  • Triangulated irregular network, a vector source for topography data, often rasterized as a (raster) digital elevation model.
  • Spatial anti-aliasing


External links

Page 1 of 1
1
Page 1 of 1
1

Account

Social:
Pages:  ..   .. 
Items:  .. 

Navigation

General: Atom Feed Atom Feed  .. 
Help:  ..   .. 
Category:  ..   .. 
Media:  ..   .. 
Posts:  ..   ..   .. 

Statistics

Page:  .. 
Summary:  .. 
1 Tags
10/10 Page Rank
5 Page Refs
1s Time