Lec 7
Lec 7
University of Technology
Computer Engineering Department
Computer Principles
Lecture ۷
Introduction to Computer Graphics
Lecture Layout:
1
Lecture ۷ Computer Principles
2
Lecture ۷ Computer Principles
Pixels
3
Lecture ۷ Computer Principles
Graphics Areas
Practitioners would agree on the following major areas of computer
graphics:
• Modeling the process of forming a computer model of an object's
shape. For example, a coffee mug might be described as a set of
ordered 3D points along with some interpolation rule to connect the
points and a reflection model that describes how light interacts with
the mug.
• Rendering is a term inherited from art and deals with the creation of
shaded images from 3D computer models.
• Animation is a technique to create an illusion of motion through
sequences of images. Animation uses modeling and rendering but
adds the key issue of movement over time, which is not usually dealt
with in basic modeling and rendering.
4
Lecture ۷ Computer Principles
There are many other areas that involve computer graphics, and whether
they are core graphics areas is a matter of opinion. Such related areas
include the following:
User interaction deals with the interface between input devices such
as mouse and tablets, the application, feedback to the user in imagery,
and other sensory feedback.
Virtual reality attempts to immerse the user into a 3D virtual world.
This typically requires at least stereo graphics and response to head
motion. For true virtual reality, sound and force feedback should be
provided as well.
Image processing deals with the manipulation of 2D images and is
used in both the fields of graphics and vision.
3D scanning uses range-finding technology to create measured 3D
models. Such models are useful for creating rich visual imagery, and
the processing of such models often requires graphics algorithms.
Computational photography is the use of computer graphics,
computer vision, and image processing methods to enable new ways
of photographically capturing objects, scenes, and environments.
Geometric Model
Polygons
Basically, a 3D model is formed from points called vertices (or vertexes) that
define the shape and form polygons. A polygon is an area formed from at
least three vertexes (a triangle). A four-point polygon is a quad, and a
polygon of more than four points is an n-gon. The overall integrity of the
model and its suitability to use in animation depend on the structure of the
polygons. Therefore thee most classical method for modeling 3D geometry
is the use of polygons. An object is approximated by a polygonal mesh, that
5
Lecture ۷ Computer Principles
is a set of connected polygons. Most of the time, triangles are used for
simplicity and generality.
6
Lecture ۷ Computer Principles
each rasterized pixel must take into account the optical properties of the
object.
7
Lecture ۷ Computer Principles
8
Lecture ۷ Computer Principles
9
Lecture ۷ Computer Principles
10
Lecture ۷ Computer Principles
and for scenario training for experienced users such as specific fire-
fighting situations that are too costly or dangerous to create
physically.
• Medical imaging creates meaningful images of scanned patient data.
Computer graphics is used to create shaded images that help doctors
extract the most salient information from such data.
11