0% found this document useful (0 votes)
11 views20 pages

Lecture Slides

Uploaded by

Metages Degneh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views20 pages

Lecture Slides

Uploaded by

Metages Degneh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 20

Computer Graphics

TK SMU [1]-1
Computer Graphics
chapter 1

Tilahun Kebede
Email: [email protected]
Mobile Phone: 0911171080

TK SMU [1]-2
Course Assessment
 Coursework 50%
First Exam 15%
 Second Exam 15%
Group Project 10%
Lab 10%

 Final Exam 50%

Attendance in both lecture and lab sessions is


compulsory.

TK SMU [1]-3
Contents

Introduction to Computer Graphics

A Survey of Computer Graphics

Graphics Primitives

TK SMU [1]-4
Introduction to Computer Graphics
 What is Computer Graphics?
Producing pictures or images using a computer
Algorithms for Visual Simulations
Creation, Manipulation, and Storage of geometric
objects (modeling) and their images (rendering)
Imaging Representing 2D images
Modeling Representing 3D objects
Rendering Constructing 2D images from 3D models
Animation Simulating changes over time
Note: First Assignment for the above elements
of Graphics
TK SMU [1]-5
A Survey of Computer Graphics

Applications
Display of Information
Design
Simulation
Computer Art
Entertainment

TK SMU [1]-6
Graphics Applications

 Art and Entertainment


Animations
Movies
Commercials
Special Effects

TK SMU [1]-7
Graphics Applications
 Image Processing
Analysis, Reconstruction
Medical Imaging
Movies

TK SMU [1]-8
Graphics Applications
 Simulation
Modeling and Analysis
Virtual Environments

TK SMU [1]-9
Graphics Applications
 Scientific Visualization
Data Representation and Plotting
3D Views

TK SMU [1]-10
Graphics Applications
 CAD/CAM
Industrial Design
Structural Design
Surface Modeling

TK SMU [1]-11
Graphics Primitives
 Output Primitives
The basic objects out of which a graphics
display is created are called.
Describes the geometry of objects and –
typically referred to as geometric primitives.
Examples: point, line, text, filled region,
images, quadric surfaces, spline curves
Each of the output primitives has its own set
of attributes.
Points size,color
Lines Color, Thickness, Type
Polylines Color, Thickness, Type
Polygon Fill color, Thickness, Fill pattern
TK SMU [1]-12
Graphics Primitives
• Output Primitives Summery

TK SMU [1]-13
Color Primitives
Color Models: RGB Diagram
• RGB Model is used for colored light sources
• RGB Model is additive

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]
TK SMU [1]-14
Color Models: RGB Cube

Complementary Colors: Two colors that combine to form


White. Eg. Red, Cyan.
Gray Values: Every point on the primary diagonal has equal
TK
values for all the components.
SMU [1]-15
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]
TK SMU K: Black=[1,1,1] [1]-16
Color Models: RGB <-> CMY

(r, g, b)RGB = (1,1,1)  (c, m, y)CMY

Light

A red colored surface


absorbs cyan from a
white light
TK SMU [1]-17
Color Models: HSV HexCone

TK SMU [1]-18
Color Models: HSV

H (Hue): 0 to 360 degrees 0: Red, 60: Yellow ….


S (Saturation): 0 to 1 0: Axis, 1: Boundary
V (Value): 0 to 1 0: Vertex, 1: Base

Examples:
Eg. Yellow: [60, 1.0, 1.0]
Black: [ -, -, 0.0]
White: [-, 0.0, 1.0]

TK SMU [1]-19
Computer Graphics Chapter One

Thank You
Q&A
TK SMU [1]-20

You might also like