Graphics Rendering: Difference between revisions

→‎Polygonal 3D Graphics: Added example image from Wikimedia Commons
m (clean up)
(→‎Polygonal 3D Graphics: Added example image from Wikimedia Commons)
 
(4 intermediate revisions by 2 users not shown)
Line 1:
{{tropeUseful Notes}}
[[Graphics renderingRendering]] is the process of composing the images that a player sees on the screen while playing a game. Quite a few tasks are needed to produce even a simple graphical game like ''[[Super Mario Bros.]]'' to a more modern game like ''[[Gears of War]]'' or ''[[Modern Warfare]]''. Since 2D and 3D drawing methods are entirely different, they'll be covered in different sections.
 
== 2D Graphics rendering ==
Line 6:
 
=== Raster Graphics ===
[[File:Celeste screenshot 01.png|thumb|''[[Celeste]]'', a game using 2D sprite art.]]
Raster graphics is the most common method, it generally involves drawing two kinds of things: sprites and layers.
 
Line 17 ⟶ 18:
 
=== Vector Graphics ===
[[File:Bradley Trainer screenshot.png|thumb|The trainer software for the [[Yanks With Tanks|Bradley Fighting Vehicle]] used simple vector graphics.]]
Vector graphics on the other hand is usually a "mathematical" approach. Everything is rendered on the fly using points and lines that connect them. The first games to use vector graphics were [[Atari]]'s ''Asteroids'' and ''Battlezone''. The Vectrex was also a console based on vector graphics. Early vector graphics were simply "wireframes" of the model or image being rendered, hence there was a lack of color other than the outline. Eventually this model faded out of popularity until the advent of Macromedia (now Adobe's) Flash, which allowed the spaces between vector lines to be filled with color (although professional graphics tools could also do this).
 
Line 25 ⟶ 27:
 
=== Voxel 3D Graphics ===
[[File:Minetest Game Version 5.1.0.jpg|thumb|''[[Minetest]]'', an open source game engine that uses Voxels.]]
Voxels is a portmanteau of volumetric and pixel (or more precisely, volumetric picture element). In a 3D space, this would be the most basic element, akin to a pixel being the smallest element in a picture. In fact, a voxel model is basically like how raster graphics work. It's an old concept and is still relatively unused due to hardware constraints (See disadvantages).
 
Line 39 ⟶ 42:
 
=== Polygonal 3D Graphics ===
[[File:Outer Wilds screenshot 03.jpg|thumb|''[[Outer Wilds]]'', showing texture and shadows. Look closely to see how many straight lines, the edge of a polygon, are used to create complex shapes.]]
Much like 2D vector graphics, polygonal 3D graphics go for an approximated mathematical approach to represent the object. The polygons themselves have all the benefits of vector graphics. The other elements are typically constrained to the same as raster graphics.