Prepared by Tanjina Akter Lecturer, Dept. of CSE
Prepared by Tanjina Akter Lecturer, Dept. of CSE
Prepared By
Tanjina Akter
Lecturer, Dept. of CSE
Outline
Introduction
Overview of Graphics Systems
Image Basics
Graphics Hardware
○ Input
Describing something to the computer
○ Computation
Computing what we want to draw
○ Output
Final representation
Computer Graphics
The definition of computer graphics is the technology
that deals with designs and pictures on computers.
Computer graphics is an art of drawing pictures on
computer screens with the help of programming. It
involves computations, creation, and manipulation of data.
In other words, we can say that computer graphics is a
rendering tool for the generation and manipulation of
images.
Main task
Modeling
Rendering
Animation
Computer Graphics and Image
Processing
Computer Graphics: Synthesize picture from
mathematical or geometrical models.
Image
Image Processing: Analyze
Processingpicture
to derive
description of mathematical on geometrical
form of object.
What is the goal of computer graphics?
Recognize how a visual image can be an
effective means of communication
Distinguish and interpret various types of
typography.
Utilize a broad range of type styles in
combination with visual images.
Use a computer to create and manipulate
images and text for use in various
print and digital mediums.
Applications of Computer Graphics
1. Define a set of
points (vertices) in (7,9) (14,9)
2D space.
2. Given a set of
vertices, draw
lines between (7,3) (14,3)
consecutive
vertices.
Transformations Rasterization
Computation Stage
Computation
Model Output
Transformations Rasterization
Transformed
Model
How do we store this?
0 0 0 0 0 0 0 for
0 0the0 framebuffer?
0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Questions: How many pixels are there?
Framebuffer in Memory
If we want a framebuffer of 640 pixels by
480 pixles, we should allocate:
framebuffer = 640*480 bits
How many bit should we allocate?
Q: What do more bits get you?
3D Display
3D Object
Graphics Software
How to talk to the hardware?
Special purpose software
Excel
AutoCAD
Medical Visualization
Programming API
Advantages?
Please Read Section 2.9