Computer Graphics
Computer Graphics
Examples
Graphics often combine text, illustration, and color. Graphic design may consist of the
deliberate selection, creation, or arrangement of typography alone, as in a brochure, flier,
poster, web site, or book without any other elements
Computer graphics are graphics created by computers and, more generally, the representation
and manipulation of pictorial data by a computer.
The term computer graphics includes almost everything on computers that is not text or
sound. Today nearly all computers use some graphics and users expect to control their
computer through icons and pictures rather than just by typing. The term Computer Graphics
has several meanings:
There are two types of computer graphics: raster graphics, where each pixel is
separately defined (as in a digital photograph), and vector graphics, where
mathematical formulas are used to draw lines and shapes, which are then interpreted at the
viewer's end to produce the graphic. Using vectors results in infinitely sharp
graphics and often smaller files, but, when complex, vectors take time to render and may
have larger file sizes than a raster equivalent.
Today computers and computer-generated images touch many aspects of our daily
life. Computer imagery is found on television, in newspapers, in weather reports, and during
surgical procedures. A well-constructed graph can present complex statistics in a form that is
easier to understand and interpret. Such graphs are used to illustrate
papers, reports, theses, and other presentation material. A range of tools and facilities are
available to enable users to visualize their data, and computer graphics are used in many
disciplines.
Modern computer systems, dating from the 1980s and onwards, often use a graphical user
interface (GUI) to present data and information with symbols, icons and pictures, rather than
text. Graphics are one of the five key elements of multimedia technology.
1. 2D computer graphics
2D computer graphics are mainly used in applications that were originally developed upon
traditional printing and drawing technologies, such as typography, cartography, technical
drawing, advertising, etc.. In those applications, the two-dimensional image is not just a
representation of a real-world object, but an independent artifact with
added semantic value; two-dimensional models are therefore preferred, because they give
more direct control of the image than 3D computer graphics, whose approach is more akin to
photography than to typography.
Pixel art
Pixel art is a form of digital art, created through the use of raster graphics software,
where images are edited on the pixel level. Graphics in most old (or relatively limited)
computer and video games, graphing calculator games, and many mobile phone games are
mostly pixel art.
Vector graphics
2. 3D computer graphics
Despite these differences, 3D computer graphics rely on many of the same algorithms as 2D
computer vector graphics in the wire frame model and 2D computer raster
graphics in the final rendered display. In computer graphics software, the distinction between
2D and 3D is occasionally blurred; 2D applications may use 3D techniques
to achieve effects such as lighting, and primarily 3D may use 2D rendering techniques.
3D computer graphics are often referred to as 3D models. Apart from the rendered
graphic, the model is contained within the graphical data file. However, there are
differences. A 3D model is the mathematical representation of any three-dimensional object
(either inanimate or living). A model is not technically a graphic until it is
visually displayed. Due to 3D printing, 3D models are not confined to virtual space. A model
can be displayed visually as a two-dimensional image through a process called 3D rendering,
or used in non-graphical computer simulations and calculations.
3. Computer animation
Computer animation is the art of creating moving images via the use of computers. It is a
subfield of computer graphics and animation. Increasingly it is created by means of 3D
computer graphics, though 2D computer graphics are still widely used for
stylistic, low bandwidth, and faster real-time rendering needs. Sometimes the target of the
animation is the computer itself, but sometimes the target is another medium, such as film. It
is also referred to as CGI (Computer-generated imagery or computer-
generated imaging), especially when used in films.
1. Image
A digital image is a representation of a two-dimensional image using ones and zeros (binary).
Depending on whether or not the image resolution is fixed, it may be of
vector or raster type. Without qualifications, the term "digital image" usually refers to raster
images.
2. Pixel
In the enlarged portion of the image individual pixels are rendered as squares and can be
easily seen.
In digital imaging, a pixel is the smallest piece of information in an image. Pixels are
normally arranged in a regular 2-dimensional grid, and are often represented using
dots or squares. Each pixel is a sample of an original image, where more samples
typically provide a more accurate representation of the original. The intensity of each pixel is
variable; in color systems, each pixel has typically three or four components such as red,
green, and blue, or cyan, magenta, yellow, and black.
3. Rendering
4. 3D projection
5. Ray tracing
Ray tracing is a technique for generating an image by tracing the path of light through pixels
in an image plane. The technique is capable of producing a very high degree of photorealism;
usually higher than that of typical scanline rendering methods, but at a greater
computational cost.
6. Shading
Example of shading.
7. Texture mapping
8. Volume rendering
Volume rendering is a technique used to display a 2D projection of a 3D discretely sampled
data set. A typical 3D data set is a group of 2D slice images acquired by a CT or MRI
scanner.
Volume rendered CT scan of a forearm with different colour schemes for muscle, fat, bone,
and blood.
Usually these are acquired in a regular pattern (e.g., one slice every millimeter) and
usually have a regular number of image pixels in a regular pattern. This is an example of a
regular volumetric grid, with each volume element, or voxel represented by a single value
that is obtained by sampling the immediate area surrounding the voxel.
. Computational biology
. Computational physics
. Computer-aided design
. Computer simulation
. Digital art
. Desktop publishing
. Education
. Graphic design
. Infographics
. Information visualization
. Scientific visualization
. Video Games
. Virtual reality
. Web design
In this course, we shall discuss briefly two application areas, namely, computer-aided design
and desktop publishing.