Introduction-to-Computer-Graphics
Introduction-to-Computer-Graphics
Computer Graphics
Computer graphics is the field of visual computing,
where images and animations are created and
displayed using computers. It plays a crucial role in
various industries, from video games and movies to
medical imaging and scientific visualization.
S
Prof. Sonal Shroff
Computer Department
TSEC
What is Computer Graphics?
1 Visual Representation 2 Hardware and Software
Computer graphics is the art It involves the use of specialized
and science of creating and hardware, such as graphics
manipulating visual content, processing units (GPUs), and
including 2D and 3D images, software, like graphics rendering
animations, and virtual engines, to generate and
environments. display these visual elements.
3 Interdisciplinary Field
Computer graphics draws from various disciplines, including computer
science, mathematics, physics, and art, to create visually stunning and
interactive experiences.
Definition - Computer Graphics
The technology that deals with designs and pictures on computers.
1 2 3 4
It is visual representations It is an art of drawing It involves computations, It is a rendering tool to
of data displayed on a pictures on a computer generate and manipulate
creation and manipulation
monitor made using a screen with the help of the images
computer. programming of data
Basic Graphics Hardware
Central Processing Unit Graphics Processing Display Devices
(CPU) Unit (GPU)
Monitors, projectors, and other
The CPU handles general The GPU is a specialized display devices are used to
purpose computations, including hardware component that excels visualise the output of computer
the processing of graphics-related at parallel processing, making it graphics computations.
data. highly efficient for graphics-
intensive tasks.
Rendering Techniques
Rasterization Ray Tracing
Rasterization is the process of converting Ray tracing is a rendering technique that simulates
geometric shapes and models into a grid of pixels the behavior of light, allowing for more realistic and
for display on a screen. accurate image generation.
In a raster scan display, an Raster scan displays store the Raster scan displays are
electron beam sweeps across the image in a 2D display memory, commonly used in CRT monitors,
screen in a series of horizontal with each memory location LCD screens, and modern digital
lines, painting the image pixel by corresponding to a screen pixel. displays, making them ubiquitous
pixel. in various computing and
entertainment devices.
Raster Scan Display
Mechanism
1 Electron Beam Scanning
The electron beam scans across the screen, painting
pixels in a series of horizontal lines from top to
bottom.
3 Frame Buffer
The image data is stored in a frame buffer, which is
continuously read to refresh the display and maintain
the image.
Raster Scan Display
In a random scan display, an Random scan displays store the Random scan displays are
electron beam directly draws the image as a list of instructions that commonly used in specialized
image by selectively illuminating direct the electron beam to the applications, such as
the necessary pixels, rather than desired pixels. oscilloscopes and vector-based
scanning the screen sequentially. graphics displays.
Random Scan Display
Mechanism
Electron Beam Positioning
The electron beam is directed to the specific pixels
that need to be illuminated, rather than scanning the
screen sequentially.
Continuous Refreshing
The image is continuously refreshed by repeatedly
drawing the list of instructions that define the desired
image.
Random Scan Display
1 The electron beam is directed only to the part of the
screen where the picture is to be drawn rather than
scanning from left to right and top to bottom as in raster
scan. It is also called vector display, stroke-writing
display, or calligraphic display.
Flat panel display device is a monitor that uses thin panel design as compared to CRT
They have reduced volume, weight and power requirements as compared to a CRT
The information is read from the refresh buffer and converted to voltage
levels that are applied to the diodes to produce the light patterns in the
display.
SS
Liquid Crystal Display
Flat panel displays use nematic liquid crystal compounds that tend to keep
the long axes of the rod-shaped molecules aligned.
Liquid Crystal Display
Two glass plates – each has light polarizer at right angles to other plate,
sandwich the liquid crystal material.
Rows of horizontal transparent conductor are put into one glass plate and
columns of vertical conductor are put into the other plate.
SS
Polarized light passing through the material is twisted so that it will pass
through the opposite polarizer.
Another method – place transistor at each pixel location, using thin film
transistor technology
Transistors control the voltage at each pixel position and prevent the gradual
leakage of liquid crystal cells
SS