Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
GRAPHICS
Lecture-1
Dr.
R.
Chowdhury
Department
of
Civil
Engineering
Indian
InsHtute
of
Technology
Roorkee
Course Overview
Readings:
Computer
Graphics
Hearn
D.
and
Baker
M.P.,
PrenHce
Hall
of
India
Computer
Graphics
Xiang,
Z.
and
Roy
Plastock,
Schaums
Outline
Series,
McGraw
Hill
Book
Co
4
IntroducHon
COMPUTER GRAPHICS
Computer
Graphics?...1
A
computer
generated
image
can
depict
a
scene
as
simple
as
the
outline
of
a
triangle
on
a
uniform
background
and
as
complex
as
a
magnicent
dinosaur
of
movie
Jurassic
Park.
Computer
Graphics?...2
How
is
Computer
Graphics
different
than
sketching
with
a
pen
or
photographing
with
a
camera?
Image
Space
(display
surface)
9
new
orientation
Difficult
to
change
location
Less
precise
Takes
time
Differentiating
between
parts
is
a
bit
difficult
11
Sketching
with
CG
Exactly not a line drawing in CG like sketching with pen with sharp
edges
Image space in CG is not continuous- consisted of discrete pixels
Scanning: convert a continuous figure like line in discrete approximation
Aliasing effect: distortion in figure introduced by scanning from
continuous space to discrete space.
A simple graphics pipeline is shown below
Transformation
(World coordinate system)
Scan conversion
12
Photograph
To
photograph
a
real-life
object
by
camera
it
is
illuminated
by
a
light
source.
The
reected
light
coming
from
the
object
surface
pass
through
the
lens
and
fall
onto
a
negaHve,
forming
an
image
of
the
object.
Part
of
the
object
closer
to
the
light
source
should
appear
brighter
in
the
picture
than
the
part
that
is
further
away,
whereas,
one
facing
away
from
the
light
source
should
appear
relaHvely
dark.
13
Photograph1
The
reecHon
from
surfaces,
reectance,
and
illuminaHon
are
other
areas
needed
to
project
3-D
surfaces.
Further
there
is
a
disHncHon
between
the
surfaces.
This
is
made
possible
by
using
surface
textures.
The
orientaHon
of
an
object
with
respect
to
source
of
light
will
result
in
formaHon
of
shadow.
This
is
called
shadow
generaHon.
14
Photograph2
Image
of
a
reoriented
object
needs
to
be
captured
on
a
camera
Reworking
with
an
object
is
possible
in
limited
form
15
16
18
CAD ApplicaHons
Circuit board
Lighting design
19
CAD ApplicaHons
Simulation of vehicle
performance during lane
changes
20
21
22
23
Presentation Graphics
Presentation Graphics
Surface Chart
25
26
Computer Art
Mathematica sphere
Riemann Surface
27
Computer Art
Painting
29
30
(
e)
Visualisation
We
often
need
to
analyze
large
amounts
of
informaHon
or
31
Scientific Visualisation
33
Morphing
34
Image Processing