SlideShare a Scribd company logo
Computer Graphics
and Animation
1
Er. Shreeraj Khatiwada, MSc
Pokhara University, Nepal
2/27/2024
Computer Graphics and Animation
Objectives
• will take a brief overview of:
❖ Basics of computer graphics
❖ 2D and 3D transformation
❖ Clipping of line and polygon
❖ Different method of visible surface determination
❖ Animation and Virtual Reality
2
2/27/2024
Computer Graphics and Animation
Computer Graphics
• Greek word “graphikos” – “something written”
• Refers to the creation, storage and manipulation of pictures and
drawings using digital computers
2/27/2024
Computer Graphics and Animation
3
Computer Graphics
Interactive computer graphics:
• a subfield of computer graphics which focuses on the generation
of images and animations at interactive frame rates.
• Two-way communication between computer and user
2/27/2024
Computer Graphics and Animation
4
Computer Graphics
Non-Interactive Computer Graphics:
• only one-way communication between the computer and the
user,
• User can see the produced image, and he cannot make any
change in the image.
2/27/2024
Computer Graphics and Animation
5
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
6
User interfaces
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
7
Plotting
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
8
Office automation and electronic publishing
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
9
Computer-Aided drafting and design
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
10
Simulation
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
11
Entertainment
Application of Computer Graphics
2/27/2024
Computer Graphics and Animation
12
Art Cartography
Presentation Graphics
hardware
Computer Hardware:
• Physical components of a computer i.e. tangible parts
• Graphics hardware is computer hardware that generates computer graphics
and allows them to be shown on a display
Input Devices
2/27/2024
Computer Graphics and Animation
13
14
Hardware
• Output Devices:
2/27/2024
Computer Graphics and Animation
15
Unit-02 2D transformation
2/27/2024
Computer Graphics and Animation
16
2D Reflection
2D transformation
2/27/2024
Computer Graphics and Animation
17
2D Rotation
2D transformation
2/27/2024
Computer Graphics and Animation
18
2D Scaling
3D transformation
2/27/2024
Computer Graphics and Animation
19
Window to viewport transformation
2/27/2024
Computer Graphics and Animation
20
clipping
2/27/2024
Computer Graphics and Animation
21
Line Clipping Polygon Clipping
Visible Surface Determination Algorithm
• Z-Buffer Algorithm
2/27/2024
Computer Graphics and Animation
22
Visible Surface Determination Algorithm
• Painter’s / Depth-sort Algorithm
2/27/2024
Computer Graphics and Animation
23
Color Model: RGB
• Widely used color representation method in computer
graphics.
• It uses a color coordinate system with three primary
colors:
• R (Red)
• G (Green)
• B (Blue)
2/27/2024
Computer Graphics and Animation
24
Color Model: RGB
2/27/2024
Computer Graphics and Animation
25
• In this, colors are represented by a cube.
• The Origin (0,0,0) represents black and the diagonally opposite vertex (1,1,1) is
White.
• The diagonal line connecting black and white corresponds to all the gray colors
between black and white, which is also known as gray axis.
Color Model: HSV
• Every color is represented by three components Hue (H): color
portion, Saturation (S): amount of gray and Value (V):
brightness or intensity.
• HSV color model may be depicted as a cone or a cylinder.
2/27/2024
Computer Graphics and Animation
26
animation
• Derived from Latin word “anima” means “act, process or result
of imparting life, interest, spirit, motion, or activity”.
• “to any time sequence of visual changes in a picture” or
• "the process of creating an illusion of motion and shape change by means of
rapid display of various types of pictures that were made to create a single
scene."
2/27/2024
Computer Graphics and Animation
27
Principles of animation
2/27/2024
Computer Graphics and Animation
28
Virtual reality
• Virtual reality is a simulated 3D environment that enables users
to explore and interact with a virtual surrounding in a way that
approximates reality, as it is perceived through the users' senses.
• The environment is created with computer hardware and
software, although users might also need to wear devices such
as helmets or goggles to interact with the environment.
2/27/2024
Computer Graphics and Animation
29
Virtual reality
2/27/2024
Computer Graphics and Animation
30
THANK YOU!!!
2/27/2024
Computer Graphics and Animation
31

More Related Content

PPTX
Application of computer graphic
PPTX
Introduction to Computer Graphics
PPTX
Introduction to Computer graphics
PPT
multimedia image.ppt
PPTX
Design principles - graphic design
PPTX
Difference between 2d and 3d Animation
PDF
Beginners guide graphic design
PPT
Raster graphics
Application of computer graphic
Introduction to Computer Graphics
Introduction to Computer graphics
multimedia image.ppt
Design principles - graphic design
Difference between 2d and 3d Animation
Beginners guide graphic design
Raster graphics

What's hot (20)

PPSX
Introduction to Three-Dimensional Design.ppsx
PDF
Intro technical-drawing
PPTX
History of Computer Graphics
PPTX
3D Modeling Techniques : Types and Specific Applications
PPTX
3 d modelling
PDF
Computer graphics notes
PPT
Devices that output Hardcopy
PPTX
Introduction to Engineering and profession Ethics Lecture6-Engineering Standa...
PPTX
Applications of computer graphics
PDF
CG - Output Primitives
PPTX
B. SC CSIT Computer Graphics Unit 4 By Tekendra Nath Yogi
PPTX
PPT
Raster scan system
PPTX
Clipping in Computer Graphics
PPTX
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
PPT
Quadric surfaces
PPTX
Dda line algorithm presentatiion
PPT
Computer graphics
PPTX
Computer graphics
Introduction to Three-Dimensional Design.ppsx
Intro technical-drawing
History of Computer Graphics
3D Modeling Techniques : Types and Specific Applications
3 d modelling
Computer graphics notes
Devices that output Hardcopy
Introduction to Engineering and profession Ethics Lecture6-Engineering Standa...
Applications of computer graphics
CG - Output Primitives
B. SC CSIT Computer Graphics Unit 4 By Tekendra Nath Yogi
Raster scan system
Clipping in Computer Graphics
B. SC CSIT Computer Graphics Unit 3 By Tekendra Nath Yogi
Quadric surfaces
Dda line algorithm presentatiion
Computer graphics
Computer graphics
Ad

Similar to Computer Graphics and Animation in Detail (20)

PPTX
Overview of Computer Graphics
PPTX
L1_Introduction.pptx
PPTX
unit1_updated.pptx
PPT
applications.ppt
PPTX
L1-Introduction to CG aaaaaaaaaaaaaaa.pptx
PPTX
Unit 1 computer graphicss introduction .pptx
PPTX
computer graphics unit 1-I.pptx
PPTX
COMPUTER GRAPHICS DAY1
PPT
applications of computer graphics
PPT
Lecture applications of cg
DOCX
Computer Graphics Practical
PDF
Graphics pdf
PPTX
CG_Unit1_SShah.pptx
DOCX
Graphics file
PPTX
Computer Graphics Unit 1 for BCA IV SEM.pptx
PPTX
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
PPT
unit-1-intro
PPTX
Introduction to computer graphics
PPTX
Computer_Graphics_Presentation Image processing
PPTX
Multimedia
Overview of Computer Graphics
L1_Introduction.pptx
unit1_updated.pptx
applications.ppt
L1-Introduction to CG aaaaaaaaaaaaaaa.pptx
Unit 1 computer graphicss introduction .pptx
computer graphics unit 1-I.pptx
COMPUTER GRAPHICS DAY1
applications of computer graphics
Lecture applications of cg
Computer Graphics Practical
Graphics pdf
CG_Unit1_SShah.pptx
Graphics file
Computer Graphics Unit 1 for BCA IV SEM.pptx
B. SC CSIT Computer Graphics Unit1.1 By Tekendra Nath Yogi
unit-1-intro
Introduction to computer graphics
Computer_Graphics_Presentation Image processing
Multimedia
Ad

More from ShreerajKhatiwada (7)

PDF
The Power of 5th Generation Networks: Uses, Future Trends
PDF
Green Computing Initiatives in Recent World
PDF
Artificial Intelligence General Overview
PPTX
Geographic data quality
PPTX
Query processing strategies in distributed database
PDF
Basic Computer Architeccture
PPTX
Cluster computing
The Power of 5th Generation Networks: Uses, Future Trends
Green Computing Initiatives in Recent World
Artificial Intelligence General Overview
Geographic data quality
Query processing strategies in distributed database
Basic Computer Architeccture
Cluster computing

Recently uploaded (20)

PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Encapsulation_ Review paper, used for researhc scholars
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
project resource management chapter-09.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Mushroom cultivation and it's methods.pdf
A comparative study of natural language inference in Swahili using monolingua...
SOPHOS-XG Firewall Administrator PPT.pptx
WOOl fibre morphology and structure.pdf for textiles
Encapsulation_ Review paper, used for researhc scholars
Digital-Transformation-Roadmap-for-Companies.pptx
TLE Review Electricity (Electricity).pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
A novel scalable deep ensemble learning framework for big data classification...
Unlocking AI with Model Context Protocol (MCP)
Group 1 Presentation -Planning and Decision Making .pptx
Assigned Numbers - 2025 - Bluetooth® Document
Heart disease approach using modified random forest and particle swarm optimi...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
OMC Textile Division Presentation 2021.pptx
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
project resource management chapter-09.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Mushroom cultivation and it's methods.pdf

Computer Graphics and Animation in Detail