SlideShare a Scribd company logo
1 of 21
Computer Graphics Basic, OpenGL and Line,
Circle Drawing
Topic
Introduction to computer Graphics
and graphics primitives
By,
Dr. Dipika Birari
Contents
• Introduction
• Graphics Primitives
– Pixel
– Resolution
– Aspect Ratio
– Frame Buffer
• Display Devices
– Monochrome Display Monitor
– Color Display Monitor
– Raster Graphics Display
• Applications
Introduction
Example: Graph
Any thing which is not a text on computer is treated as a Computer
Graphics
Computer: The computer is a data processing machine or tool which is
used for storing, manipulating and displaying data
Graphics: Visualization of that data.
0
20
40
60
80
100
F.E. S.E. T.E. B.E.
Result
Result
 Business software
 T.V. Channels
 GUI and Animations
 Making charts
 Image Processing
 CAD/CAM
 Computer Games
Applications
Contents
• Introduction
 Graphics Primitives
– Pixel
– Resolution
– Aspect Ratio
– Frame Buffer
Pixel
Graphics Primitives
The Pixel is the smallest addressable screen element.
Pixel is the smallest piece of a display screen which we can control.
Pixel
Name Address
has
1 2 3 4 5
1
2
3
4
5
Coordinates: (I,j) =(Row, Column)= (3,3)
The greater the number of
points, the higher is the
resolution
Resolution
Resolution: Number of dots on the screen
Graphics Primitives
( No. of dots on horizontal line , No of dots on vertical line)
Pair of
Example,
1. 640 X 480
2. 800 X 600
3. 1024 X 768
4. 1280 X 1024
R G
B
RGB Model
This produce up to 16 millions possible colors
Color Range
= 0 to 255
Aspect Ratio
In Imaging, aspect ratio is the width of image divided by it’s height.
• Aspect Ratio= 2:1 means width is twice as large as height.
• While resizing image, maintain the Aspect Ratio to avoid stretching.
Aspect Ratio = 8 /6
= 1.33
Graphics Primitives
Aspect Ratio = Width / Height
8 Inches
6 Inches
Frame Buffer
• It collects and stores pixel values for use by the display device.
• It consists of color values for every pixel on the screen.
• Color values are stored in
 1-bit : 2 colors (B &W, Binary , Monochrome)
 4-bit s: 16 colors
 8-bit s: 256 colors
 16-bits: 32 thousand colors
 24-bit s: 16 million (High color formats )
 32 bits: Latest (True color formats )
Graphics Primitives
“ An array, which contains an internal representation of the image is
called Frame Buffer.”
Frame Buffer
If color value is
Graphics Primitives
1 For more number
of color values
Black & White
Frame Buffer
Color Frame
Buffer
Total amount of
memory required to
drive frame buffer
Resolution of output signal
Color depth size
depends
on
Contents
• Display Devices
– Monochrome Display Monitor
– Color Display Monitor
– Raster Graphics Display
• Applications
Display Devices
• There are several hardware devices used to display images to locate
and display, the points & line segments.
• Two types
Monochrome Display Monitor
Color Display Monitor
• Monochrome Display Monitor
It consist a Cathode Ray Tube(CRT) along with circuits.
Display Devices (Cont…)
• The light given off by the phosphor during exposure to the electron
beam is known as fluorescence.
• The continuing glow given off after the beam is removed known as
phosphorescence.
• The duration of phosphorescence is known as the phosphors
persistence.
Display Devices (Cont…)
Vertical and Horizontal Retrace
Display Devices (Cont…)
Horizontal Plate: Controls the
beam to scan from left to right and
retrace from right to left.
Vertical Plate: Controls the beam to
go from first scan line at the top to
the last scan line at the bottom and
retrace from bottom back to top.
• Color Display Monitor
Display Devices (Cont…)
• It contains 3 electron
guns instead of one
with one electron gun
for each primary color.
• These phosphors are
capable of emitting
Red, Green and Blue
light.
Raster Graphics Display
• To store the information for each pixel in computer’s memory, a lot of
memory may be required. This is done in raster graphics display.
Each
pixel
At least one bit Further bits
Intensity Information
light or dark
If shades of different
colors are defined
• A portion of system memory which is used to hold the pixels is called
as Frame Buffer.
Raster Graphics Display
User Program Frame Buffer Raster Display
Raster Display Device
Lines / Surfaces
Color images
Display
 Business software
 T.V. Channels
 GUI and Animations
 Making charts
 Image Processing
 CAD/CAM
 Computer Games
Applications
Graphics Primitives and CG Display Devices

More Related Content

Similar to Graphics Primitives and CG Display Devices

Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systemsJay Nagar
 
Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)Rahul Borate
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1Ankit Garg
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics SystemPrathimaBaliga
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptxNirajG3
 
Monitors and sound systems
Monitors and sound systemsMonitors and sound systems
Monitors and sound systemsMaryam Fida
 
SESSION 1.pptx
SESSION 1.pptxSESSION 1.pptx
SESSION 1.pptxkonicha1
 
Introduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxIntroduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxAhmadAbba6
 
computer Graphics
computer Graphics computer Graphics
computer Graphics Rozi khan
 
From paper to screen: Putting maps on the web
From paper to screen:  Putting maps on the webFrom paper to screen:  Putting maps on the web
From paper to screen: Putting maps on the webPetr Pridal
 
Cgmm introduction
Cgmm introductionCgmm introduction
Cgmm introductionSIRT BHOPAL
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptxNishkaSharma5
 
Graphics display-devicesmod-1
Graphics display-devicesmod-1Graphics display-devicesmod-1
Graphics display-devicesmod-1Praveen Kumar
 

Similar to Graphics Primitives and CG Display Devices (20)

Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 
Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)Model 1 multimedia graphics and animation introduction (1)
Model 1 multimedia graphics and animation introduction (1)
 
Unit 1
Unit 1Unit 1
Unit 1
 
Introduction to computer graphics part 1
Introduction to computer graphics part 1Introduction to computer graphics part 1
Introduction to computer graphics part 1
 
Overview of Graphics System
Overview of Graphics SystemOverview of Graphics System
Overview of Graphics System
 
CG_ch1.pptx
CG_ch1.pptxCG_ch1.pptx
CG_ch1.pptx
 
MONITOR
MONITORMONITOR
MONITOR
 
Unit ii
Unit iiUnit ii
Unit ii
 
N4Less05.ppt
N4Less05.pptN4Less05.ppt
N4Less05.ppt
 
Monitors and sound systems
Monitors and sound systemsMonitors and sound systems
Monitors and sound systems
 
SESSION 1.pptx
SESSION 1.pptxSESSION 1.pptx
SESSION 1.pptx
 
Introduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptxIntroduction to Computer Graphics.pptx
Introduction to Computer Graphics.pptx
 
computer Graphics
computer Graphics computer Graphics
computer Graphics
 
From paper to screen: Putting maps on the web
From paper to screen:  Putting maps on the webFrom paper to screen:  Putting maps on the web
From paper to screen: Putting maps on the web
 
Cgmm introduction
Cgmm introductionCgmm introduction
Cgmm introduction
 
Computer Graphics lecture.pptx
Computer Graphics lecture.pptxComputer Graphics lecture.pptx
Computer Graphics lecture.pptx
 
Computer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT DevicesComputer Graphics - Introduction and CRT Devices
Computer Graphics - Introduction and CRT Devices
 
Graphics display-devicesmod-1
Graphics display-devicesmod-1Graphics display-devicesmod-1
Graphics display-devicesmod-1
 
Computers10 Ch5
Computers10 Ch5Computers10 Ch5
Computers10 Ch5
 
Output devices
Output devicesOutput devices
Output devices
 

Recently uploaded

VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 

Recently uploaded (20)

VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 

Graphics Primitives and CG Display Devices

  • 1. Computer Graphics Basic, OpenGL and Line, Circle Drawing Topic Introduction to computer Graphics and graphics primitives By, Dr. Dipika Birari
  • 2. Contents • Introduction • Graphics Primitives – Pixel – Resolution – Aspect Ratio – Frame Buffer • Display Devices – Monochrome Display Monitor – Color Display Monitor – Raster Graphics Display • Applications
  • 3. Introduction Example: Graph Any thing which is not a text on computer is treated as a Computer Graphics Computer: The computer is a data processing machine or tool which is used for storing, manipulating and displaying data Graphics: Visualization of that data. 0 20 40 60 80 100 F.E. S.E. T.E. B.E. Result Result
  • 4.  Business software  T.V. Channels  GUI and Animations  Making charts  Image Processing  CAD/CAM  Computer Games Applications
  • 5. Contents • Introduction  Graphics Primitives – Pixel – Resolution – Aspect Ratio – Frame Buffer
  • 6. Pixel Graphics Primitives The Pixel is the smallest addressable screen element. Pixel is the smallest piece of a display screen which we can control. Pixel Name Address has 1 2 3 4 5 1 2 3 4 5 Coordinates: (I,j) =(Row, Column)= (3,3) The greater the number of points, the higher is the resolution
  • 7. Resolution Resolution: Number of dots on the screen Graphics Primitives ( No. of dots on horizontal line , No of dots on vertical line) Pair of Example, 1. 640 X 480 2. 800 X 600 3. 1024 X 768 4. 1280 X 1024 R G B RGB Model This produce up to 16 millions possible colors Color Range = 0 to 255
  • 8. Aspect Ratio In Imaging, aspect ratio is the width of image divided by it’s height. • Aspect Ratio= 2:1 means width is twice as large as height. • While resizing image, maintain the Aspect Ratio to avoid stretching. Aspect Ratio = 8 /6 = 1.33 Graphics Primitives Aspect Ratio = Width / Height 8 Inches 6 Inches
  • 9. Frame Buffer • It collects and stores pixel values for use by the display device. • It consists of color values for every pixel on the screen. • Color values are stored in  1-bit : 2 colors (B &W, Binary , Monochrome)  4-bit s: 16 colors  8-bit s: 256 colors  16-bits: 32 thousand colors  24-bit s: 16 million (High color formats )  32 bits: Latest (True color formats ) Graphics Primitives “ An array, which contains an internal representation of the image is called Frame Buffer.”
  • 10. Frame Buffer If color value is Graphics Primitives 1 For more number of color values Black & White Frame Buffer Color Frame Buffer Total amount of memory required to drive frame buffer Resolution of output signal Color depth size depends on
  • 11. Contents • Display Devices – Monochrome Display Monitor – Color Display Monitor – Raster Graphics Display • Applications
  • 12. Display Devices • There are several hardware devices used to display images to locate and display, the points & line segments. • Two types Monochrome Display Monitor Color Display Monitor
  • 13. • Monochrome Display Monitor It consist a Cathode Ray Tube(CRT) along with circuits. Display Devices (Cont…)
  • 14. • The light given off by the phosphor during exposure to the electron beam is known as fluorescence. • The continuing glow given off after the beam is removed known as phosphorescence. • The duration of phosphorescence is known as the phosphors persistence. Display Devices (Cont…)
  • 15. Vertical and Horizontal Retrace Display Devices (Cont…) Horizontal Plate: Controls the beam to scan from left to right and retrace from right to left. Vertical Plate: Controls the beam to go from first scan line at the top to the last scan line at the bottom and retrace from bottom back to top.
  • 16.
  • 17. • Color Display Monitor Display Devices (Cont…) • It contains 3 electron guns instead of one with one electron gun for each primary color. • These phosphors are capable of emitting Red, Green and Blue light.
  • 18. Raster Graphics Display • To store the information for each pixel in computer’s memory, a lot of memory may be required. This is done in raster graphics display. Each pixel At least one bit Further bits Intensity Information light or dark If shades of different colors are defined
  • 19. • A portion of system memory which is used to hold the pixels is called as Frame Buffer. Raster Graphics Display User Program Frame Buffer Raster Display Raster Display Device Lines / Surfaces Color images Display
  • 20.  Business software  T.V. Channels  GUI and Animations  Making charts  Image Processing  CAD/CAM  Computer Games Applications