Lecture 01 - Introduction
Lecture 01 - Introduction
• Raster Programs
• Photoshop, Fireworks, Paint
What are vector graphics?
• Vector graphics use mathematical formulas to define
lines, curves, and other attributes.
• Generally much smaller than raster graphic files
• Vector graphic editors are called draw programs
• Do not lose clarity as you enlarge them.
• Vector Programs
• Illustrator, Flash
Raster vs Vector
Raster vs Vector
Raster vs Vector
• Raster file extensions
• Png – portable network graphic
• Psd – Photoshop document
• Jpg – joint photographic experts group
• Gif – graphics interchange format
• Bmp – Bitmap
• Vector File Extensions
• Ai – Adobe Illustrator
• Eps – Encapsulated Postscript
• Wmf – Windows Metafile
Graphics Quality
• Two factors that determine graphics quality are resolution and color
depth.
• Resolution is the number of pixels per inch.
• Color depth refers to the number of distinct colors an image can contain. It
can range from 2-bit (black and white) to 24-bit (16.7 million colors).
What is animation?
•Animation is when images achieve
the illusion of motion.
Sample Animation
Contd.
The Action: Zooooooooooommmm!
Termination: Poof! He’s gone!
Application Areas of Computer Graphics
• Computer Aided Design(CAD)
• Presentation Graphics
• Computer Art
• Education and training
• Image processing
• Entertainment
• Movies Industry
• Gaming Industry
• Medical field
• Graphical User Interface(GUI)
CAD
• Major use of computer graphics is in design process, particularly for
engineering and architectural systems.
• This include design of buildings, automobiles, aircraft etc.
Presentation Graphics
• Used to summarize the financial, mathematical, scientific and
economic data.
• Typical examples are bar charts, line graphs, pie charts etc.
Computer Art
• Artist uses special purpose hardware and programs that provides
facilities for designing object shapes and specifying object motion.
• Examples pixel paint, super paint etc.
Education and training
• Computer generated models of physical, financial and economic
system are often used as educational aids.
• Various kinds of simulators program can be used to provide the
trainings. E.g. automobile driving simulator.
Image Processing
• Computer graphics is used to create pictures.
• Image processing applies techniques to modify or interpret the
existing pictures.
• It is used to:
• Improve picture quality
• Machine perception of visual information
Entertainment
• Computer graphics methods are now commonly used in making
motion pictures, music videos , games and televisions shows.
• Sometime graphics pictures are displayed by themselves and
sometime combined with the actors and live scenes.
Gaming
H&B 1:2-32
expression depth of field
Movies
fracture
motion
water
Basis colors: R, G, B
R: Red=[1, 0, 0]
G: Green=[0, 1, 0]
B: Blue=[0, 0, 1]
C: Cyan=[0, 1, 1]
M: Magenta=[1, 0, 1]
Y:Yellow=[1, 1, 0]
W:White=[1,1,1]
K: Black=[0,0,0]
Color Models: CMY Diagram
• CMY Model is used for colored pigments
• CMY Model is subtractive
Basis colors: C, M, Y
C: Cyan=[1, 0, 0]
M: Magenta=[0, 1, 0]
Y: Yellow=[0, 0, 1]
R: Red=[0, 1, 1]
G: Green=[1, 0, 1]
B: Blue=[1, 1, 0]
W:White=[0,0,0]
K: Black=[1,1,1]
Color Models: RGB <-> CMY
(r, g, b)RGB = (1,1,1) (c, m, y)CMY
Light