SlideShare a Scribd company logo
Shri Vaishnav Institute
Of Management
Presentation On Computer
Graphics
Applications
Of Computer
Graphics
Frame
Buffer
Line
Algorithm
Computer Aided Design
Computer Aided Design(CAD) is the Use of Computer
System to Assist in the Creation , Modification , Analysis or
Optimization of Design.
Visualization
Visualization is any Technique For Creating Images , Diagrams
or Animations
To Communicate A Message.
Animation
Animation is the Process Of Creating a Continuous Motion
& Shape Change illusion by means of rapid display of a
Sequence of static Images that Minimally differ from each
other.
Computer Games
Computer Games are Video Games played on a
General Purpose Personal Computer
Frame Buffer
A Frame Buffer is a Large , Contiguous Piece of Computer
Memory(RAM) that stores Picture Definition. This Memory Area Holds
the Set of intensity values for all the Screen points and then retrieved
from the frame buffer and painted on the Screen One Row(Scan Line)
at a time. Each screen point is referred to as a Pixel or pel or Picture
Element.
LINE DRAWING ALGORITHM
Line Drawing Algorithm
There are two basic line drawing algorithm…..
DDA Line Drawing Algorithm
Bresenham’s Line Drawing Algorithm
DDA Line Drawing Algorithm
Programmer Specifies
(x,y) values of end pixels
Need Algorithm to find
out which intermediate
pixels are on line path
Pixel (x,y) constrained to
integer values
Actual Computed
intermediate line values
may be floats
Rounding May
Be Required
0 1 2 3 4 5 6 7 8 9 10 11 12
8
7
6
5
4
3
2
1
(3,2)
(9,6)
DDA Line Drawing Algorithm
DDA Line Drawing Algorithm
DDA stands for “Digital-Differential Analyzer”.
It’s a “Scan-Conversion” line drawing algorithm.
It’s mainly based on calculating either Δx (dx)
or Δy (dy)…
DDA Line Drawing Algorithm
Slope – Intercept Line Equation
y = m . x + b
Given Two End Points (x0,y0) and (x1,y1).
How To Compute m and b ?
(x0,y0)
(x1,y1)
dx
dy
m = dy / dx = (y1 – y0) / (x1 – x0)
b = y0 – m * x0
Δy = m * Δx
Δx = Δy/m
DDA Line Drawing Algorithm
If a line with positive slope (+m) or it’s less than and
equal to 1(m<=1), then we set ‘x’ at unit interval(Δx=1)
And compute each successive ‘y’ value by using following
Formula:-
yk+1 = yk + m
Where subscript ‘k’ takes integer values starting from 1,
For the first point, and increases by 1 until the final end
point is reached..
Left to right
DDA Line Drawing Algorithm
If a line with positive slope (+m) or it’s greater than
1(m>1), then we reverse the rule of ‘x’ and ‘y’, that is set ‘y’
at unit interval(Δy=1) and compute each successive ‘x’ value
by using following Formula:-
xk+1 = xk + 1/m
Where subscript ‘k’ takes integer values starting from 1,
For the first point, and increases by 1 until the final end
point is reached..
Left to right
REFRANCE
 BOOK REFRANCE
 “Computer Graphics C Version” by “Donald Hearn And M. Pauline
Baker”.
Presentation Powered By :
Ashish Sharma
Lokendra Prajapati

More Related Content

What's hot

BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
St Mary's College,Thrissur,Kerala
 
Unit 3
Unit 3Unit 3
Unit 3
ypnrao
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
2013901097
 
Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...
Mani Kanth
 
Raster animation
Raster animationRaster animation
Raster animation
abhijit754
 
Computer graphics iv unit
Computer graphics iv unitComputer graphics iv unit
Computer graphics iv unit
aravindangc
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformationsMohd Arif
 
Back face detection
Back face detectionBack face detection
Back face detection
Pooja Dixit
 
Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )
Harshana Madusanka Jayamaha
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displays
Somya Bagai
 
03.Scan Conversion.ppt
03.Scan Conversion.ppt03.Scan Conversion.ppt
03.Scan Conversion.ppt
RobinAhmedSaikat
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
KALESHWAR KUMAR
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
shalinikarunakaran1
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
University of Potsdam
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
Mani Kanth
 
Bresenham's line drawing algorithm
Bresenham's line drawing algorithmBresenham's line drawing algorithm
Bresenham's line drawing algorithm
nehrurevathy
 
Raster scan system
Raster scan systemRaster scan system
Raster scan systemMohd Arif
 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
Kongunadu College of engineering and Technology, Namakkal
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
Rabin BK
 
Computer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsComputer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methods
Joseph Charles
 

What's hot (20)

BRESENHAM’S LINE DRAWING ALGORITHM
BRESENHAM’S  LINE DRAWING ALGORITHMBRESENHAM’S  LINE DRAWING ALGORITHM
BRESENHAM’S LINE DRAWING ALGORITHM
 
Unit 3
Unit 3Unit 3
Unit 3
 
Computer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2DComputer Graphic - Transformations in 2D
Computer Graphic - Transformations in 2D
 
Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...Window to viewport transformation&amp;matrix representation of homogeneous co...
Window to viewport transformation&amp;matrix representation of homogeneous co...
 
Raster animation
Raster animationRaster animation
Raster animation
 
Computer graphics iv unit
Computer graphics iv unitComputer graphics iv unit
Computer graphics iv unit
 
2 d geometric transformations
2 d geometric transformations2 d geometric transformations
2 d geometric transformations
 
Back face detection
Back face detectionBack face detection
Back face detection
 
Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )Clipping ( Cohen-Sutherland Algorithm )
Clipping ( Cohen-Sutherland Algorithm )
 
Random scan displays and raster scan displays
Random scan displays and raster scan displaysRandom scan displays and raster scan displays
Random scan displays and raster scan displays
 
03.Scan Conversion.ppt
03.Scan Conversion.ppt03.Scan Conversion.ppt
03.Scan Conversion.ppt
 
2 d viewing computer graphics
2 d viewing computer graphics2 d viewing computer graphics
2 d viewing computer graphics
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
 
Bresenham's line drawing algorithm
Bresenham's line drawing algorithmBresenham's line drawing algorithm
Bresenham's line drawing algorithm
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Three dimensional concepts - Computer Graphics
Three dimensional concepts - Computer GraphicsThree dimensional concepts - Computer Graphics
Three dimensional concepts - Computer Graphics
 
Graphics_3D viewing
Graphics_3D viewingGraphics_3D viewing
Graphics_3D viewing
 
Computer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methodsComputer Graphics: Visible surface detection methods
Computer Graphics: Visible surface detection methods
 

Viewers also liked

Mid point progression: Part 2
Mid point progression: Part 2Mid point progression: Part 2
Mid point progression: Part 2cforindliv
 
American History 2 mid term review
American History 2 mid term reviewAmerican History 2 mid term review
American History 2 mid term review
AmericanLipp210
 
Applications of computer graphics
Applications of computer graphicsApplications of computer graphics
Applications of computer graphics
Mercy Amirthakani
 
dda algorithm
dda  algorithmdda  algorithm
dda algorithm
774474
 
Color and space
Color and spaceColor and space
Color and space
Paul Lajeunesse
 
Showcase computer graphics 2012
Showcase computer graphics 2012Showcase computer graphics 2012
Showcase computer graphics 2012
Mark Bracke
 
Motion blur tutorial
Motion blur tutorialMotion blur tutorial
Motion blur tutorialgeekerridge
 
09_motionblur
09_motionblur09_motionblur
09_motionblur
noerror
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
Mubashar Mehmood
 
Mid point line Algorithm - Computer Graphics
Mid point line Algorithm - Computer GraphicsMid point line Algorithm - Computer Graphics
Mid point line Algorithm - Computer Graphics
Drishti Bhalla
 
Graphics Output Hardware Devices
Graphics Output Hardware DevicesGraphics Output Hardware Devices
Graphics Output Hardware DevicesTabeer12
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface
Bhuvnesh Pratap
 
3D Movie Presentation
3D Movie Presentation3D Movie Presentation
3D Movie Presentation
erAbhinavSinha
 
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIACOMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
Self employed
 
Midpoint circle algo
Midpoint circle algoMidpoint circle algo
Midpoint circle algoMohd Arif
 
Visual effects
Visual effectsVisual effects
unit-1-intro
 unit-1-intro unit-1-intro
unit-1-intro
Docent Education
 
Chapter 5 balance
Chapter 5 balanceChapter 5 balance
Chapter 5 balanceTracie King
 
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Saikrishna Tanguturu
 

Viewers also liked (20)

Mid point progression: Part 2
Mid point progression: Part 2Mid point progression: Part 2
Mid point progression: Part 2
 
American History 2 mid term review
American History 2 mid term reviewAmerican History 2 mid term review
American History 2 mid term review
 
Applications of computer graphics
Applications of computer graphicsApplications of computer graphics
Applications of computer graphics
 
dda algorithm
dda  algorithmdda  algorithm
dda algorithm
 
Cg lab cse-v (1) (1)
Cg lab cse-v (1) (1)Cg lab cse-v (1) (1)
Cg lab cse-v (1) (1)
 
Color and space
Color and spaceColor and space
Color and space
 
Showcase computer graphics 2012
Showcase computer graphics 2012Showcase computer graphics 2012
Showcase computer graphics 2012
 
Motion blur tutorial
Motion blur tutorialMotion blur tutorial
Motion blur tutorial
 
09_motionblur
09_motionblur09_motionblur
09_motionblur
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Mid point line Algorithm - Computer Graphics
Mid point line Algorithm - Computer GraphicsMid point line Algorithm - Computer Graphics
Mid point line Algorithm - Computer Graphics
 
Graphics Output Hardware Devices
Graphics Output Hardware DevicesGraphics Output Hardware Devices
Graphics Output Hardware Devices
 
Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface Phong Shading over any Polygonal Surface
Phong Shading over any Polygonal Surface
 
3D Movie Presentation
3D Movie Presentation3D Movie Presentation
3D Movie Presentation
 
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIACOMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
 
Midpoint circle algo
Midpoint circle algoMidpoint circle algo
Midpoint circle algo
 
Visual effects
Visual effectsVisual effects
Visual effects
 
unit-1-intro
 unit-1-intro unit-1-intro
unit-1-intro
 
Chapter 5 balance
Chapter 5 balanceChapter 5 balance
Chapter 5 balance
 
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
 

Similar to Computer graphics presentation

Computer graphics lab manual
Computer graphics lab manualComputer graphics lab manual
Computer graphics lab manual
Ankit Kumar
 
raster algorithm.pdf
raster algorithm.pdfraster algorithm.pdf
raster algorithm.pdf
Mattupallipardhu
 
computer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcodecomputer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcode
Bhavya Chawla
 
Computer Graphics Notes 2.pdf
Computer Graphics Notes 2.pdfComputer Graphics Notes 2.pdf
Computer Graphics Notes 2.pdf
AOUNHAIDER7
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygonsaa11bb11
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
Kumar
 
Computer graphics notes watermark
Computer graphics notes watermarkComputer graphics notes watermark
Computer graphics notes watermark
RAJKIYA ENGINEERING COLLEGE, BANDA
 
elementry-objects-CG give great effort on learning for exam
elementry-objects-CG give great effort on learning for examelementry-objects-CG give great effort on learning for exam
elementry-objects-CG give great effort on learning for exam
tigag49721
 
Computer graphics notes 2 tutorials duniya
Computer graphics notes 2   tutorials duniyaComputer graphics notes 2   tutorials duniya
Computer graphics notes 2 tutorials duniya
TutorialsDuniya.com
 
4 CG_U1_M3_PPT_4 DDA.pptx
4 CG_U1_M3_PPT_4 DDA.pptx4 CG_U1_M3_PPT_4 DDA.pptx
4 CG_U1_M3_PPT_4 DDA.pptx
ssuser255bf1
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
Diksha Trivedi
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
RAJKIYA ENGINEERING COLLEGE, BANDA
 
Study on Fundamentals of Raster Scan Graphics
Study on Fundamentals of Raster Scan GraphicsStudy on Fundamentals of Raster Scan Graphics
Study on Fundamentals of Raster Scan Graphics
Chandrakant Divate
 
Bresenham algorithm
Bresenham algorithmBresenham algorithm
Open GL T0074 56 sm1
Open GL T0074 56 sm1Open GL T0074 56 sm1
Open GL T0074 56 sm1Roziq Bahtiar
 
99995320.ppt
99995320.ppt99995320.ppt
99995320.ppt
MohdSaqib79
 
DDA algorithm
DDA algorithmDDA algorithm
DDA algorithm
Yash Patel
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algo
simpleok
 
Unit-2 raster scan graphics,line,circle and polygon algorithms
Unit-2 raster scan graphics,line,circle and polygon algorithmsUnit-2 raster scan graphics,line,circle and polygon algorithms
Unit-2 raster scan graphics,line,circle and polygon algorithms
Amol Gaikwad
 
Lecture _Line Scan Conversion.ppt
Lecture _Line Scan Conversion.pptLecture _Line Scan Conversion.ppt
Lecture _Line Scan Conversion.ppt
GaganvirKaur
 

Similar to Computer graphics presentation (20)

Computer graphics lab manual
Computer graphics lab manualComputer graphics lab manual
Computer graphics lab manual
 
raster algorithm.pdf
raster algorithm.pdfraster algorithm.pdf
raster algorithm.pdf
 
computer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcodecomputer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcode
 
Computer Graphics Notes 2.pdf
Computer Graphics Notes 2.pdfComputer Graphics Notes 2.pdf
Computer Graphics Notes 2.pdf
 
Bresenham circlesandpolygons
Bresenham circlesandpolygonsBresenham circlesandpolygons
Bresenham circlesandpolygons
 
Bresenham circles and polygons derication
Bresenham circles and polygons dericationBresenham circles and polygons derication
Bresenham circles and polygons derication
 
Computer graphics notes watermark
Computer graphics notes watermarkComputer graphics notes watermark
Computer graphics notes watermark
 
elementry-objects-CG give great effort on learning for exam
elementry-objects-CG give great effort on learning for examelementry-objects-CG give great effort on learning for exam
elementry-objects-CG give great effort on learning for exam
 
Computer graphics notes 2 tutorials duniya
Computer graphics notes 2   tutorials duniyaComputer graphics notes 2   tutorials duniya
Computer graphics notes 2 tutorials duniya
 
4 CG_U1_M3_PPT_4 DDA.pptx
4 CG_U1_M3_PPT_4 DDA.pptx4 CG_U1_M3_PPT_4 DDA.pptx
4 CG_U1_M3_PPT_4 DDA.pptx
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Computer graphics notes
Computer graphics notesComputer graphics notes
Computer graphics notes
 
Study on Fundamentals of Raster Scan Graphics
Study on Fundamentals of Raster Scan GraphicsStudy on Fundamentals of Raster Scan Graphics
Study on Fundamentals of Raster Scan Graphics
 
Bresenham algorithm
Bresenham algorithmBresenham algorithm
Bresenham algorithm
 
Open GL T0074 56 sm1
Open GL T0074 56 sm1Open GL T0074 56 sm1
Open GL T0074 56 sm1
 
99995320.ppt
99995320.ppt99995320.ppt
99995320.ppt
 
DDA algorithm
DDA algorithmDDA algorithm
DDA algorithm
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algo
 
Unit-2 raster scan graphics,line,circle and polygon algorithms
Unit-2 raster scan graphics,line,circle and polygon algorithmsUnit-2 raster scan graphics,line,circle and polygon algorithms
Unit-2 raster scan graphics,line,circle and polygon algorithms
 
Lecture _Line Scan Conversion.ppt
Lecture _Line Scan Conversion.pptLecture _Line Scan Conversion.ppt
Lecture _Line Scan Conversion.ppt
 

Recently uploaded

extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
DiyaBiswas10
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
muralinath2
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
Columbia Weather Systems
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
Areesha Ahmad
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
Richard Gill
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
aishnasrivastava
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
YOGESH DOGRA
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
AlguinaldoKong
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
muralinath2
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
sachin783648
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SELF-EXPLANATORY
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
Scintica Instrumentation
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
Health Advances
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
IvanMallco1
 
Cancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate PathwayCancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate Pathway
AADYARAJPANDEY1
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
moosaasad1975
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
Richard Gill
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
Sérgio Sacani
 

Recently uploaded (20)

extra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdfextra-chromosomal-inheritance[1].pptx.pdfpdf
extra-chromosomal-inheritance[1].pptx.pdfpdf
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptxBody fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
Body fluids_tonicity_dehydration_hypovolemia_hypervolemia.pptx
 
Orion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWSOrion Air Quality Monitoring Systems - CWS
Orion Air Quality Monitoring Systems - CWS
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
 
Structural Classification Of Protein (SCOP)
Structural Classification Of Protein  (SCOP)Structural Classification Of Protein  (SCOP)
Structural Classification Of Protein (SCOP)
 
Mammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also FunctionsMammalian Pineal Body Structure and Also Functions
Mammalian Pineal Body Structure and Also Functions
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
 
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdfSCHIZOPHRENIA Disorder/ Brain Disorder.pdf
SCHIZOPHRENIA Disorder/ Brain Disorder.pdf
 
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
(May 29th, 2024) Advancements in Intravital Microscopy- Insights for Preclini...
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...The ASGCT Annual Meeting was packed with exciting progress in the field advan...
The ASGCT Annual Meeting was packed with exciting progress in the field advan...
 
filosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptxfilosofia boliviana introducción jsjdjd.pptx
filosofia boliviana introducción jsjdjd.pptx
 
Cancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate PathwayCancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate Pathway
 
What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.What is greenhouse gasses and how many gasses are there to affect the Earth.
What is greenhouse gasses and how many gasses are there to affect the Earth.
 
Richard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlandsRichard's aventures in two entangled wonderlands
Richard's aventures in two entangled wonderlands
 
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
THE IMPORTANCE OF MARTIAN ATMOSPHERE SAMPLE RETURN.
 

Computer graphics presentation

  • 1. Shri Vaishnav Institute Of Management Presentation On Computer Graphics
  • 3.
  • 4. Computer Aided Design Computer Aided Design(CAD) is the Use of Computer System to Assist in the Creation , Modification , Analysis or Optimization of Design.
  • 5. Visualization Visualization is any Technique For Creating Images , Diagrams or Animations To Communicate A Message.
  • 6. Animation Animation is the Process Of Creating a Continuous Motion & Shape Change illusion by means of rapid display of a Sequence of static Images that Minimally differ from each other.
  • 7. Computer Games Computer Games are Video Games played on a General Purpose Personal Computer
  • 8. Frame Buffer A Frame Buffer is a Large , Contiguous Piece of Computer Memory(RAM) that stores Picture Definition. This Memory Area Holds the Set of intensity values for all the Screen points and then retrieved from the frame buffer and painted on the Screen One Row(Scan Line) at a time. Each screen point is referred to as a Pixel or pel or Picture Element.
  • 10. Line Drawing Algorithm There are two basic line drawing algorithm….. DDA Line Drawing Algorithm Bresenham’s Line Drawing Algorithm
  • 11. DDA Line Drawing Algorithm Programmer Specifies (x,y) values of end pixels Need Algorithm to find out which intermediate pixels are on line path Pixel (x,y) constrained to integer values Actual Computed intermediate line values may be floats Rounding May Be Required
  • 12. 0 1 2 3 4 5 6 7 8 9 10 11 12 8 7 6 5 4 3 2 1 (3,2) (9,6) DDA Line Drawing Algorithm
  • 13. DDA Line Drawing Algorithm DDA stands for “Digital-Differential Analyzer”. It’s a “Scan-Conversion” line drawing algorithm. It’s mainly based on calculating either Δx (dx) or Δy (dy)…
  • 14. DDA Line Drawing Algorithm Slope – Intercept Line Equation y = m . x + b Given Two End Points (x0,y0) and (x1,y1). How To Compute m and b ? (x0,y0) (x1,y1) dx dy m = dy / dx = (y1 – y0) / (x1 – x0) b = y0 – m * x0 Δy = m * Δx Δx = Δy/m
  • 15. DDA Line Drawing Algorithm If a line with positive slope (+m) or it’s less than and equal to 1(m<=1), then we set ‘x’ at unit interval(Δx=1) And compute each successive ‘y’ value by using following Formula:- yk+1 = yk + m Where subscript ‘k’ takes integer values starting from 1, For the first point, and increases by 1 until the final end point is reached.. Left to right
  • 16. DDA Line Drawing Algorithm If a line with positive slope (+m) or it’s greater than 1(m>1), then we reverse the rule of ‘x’ and ‘y’, that is set ‘y’ at unit interval(Δy=1) and compute each successive ‘x’ value by using following Formula:- xk+1 = xk + 1/m Where subscript ‘k’ takes integer values starting from 1, For the first point, and increases by 1 until the final end point is reached.. Left to right
  • 17. REFRANCE  BOOK REFRANCE  “Computer Graphics C Version” by “Donald Hearn And M. Pauline Baker”.
  • 18. Presentation Powered By : Ashish Sharma Lokendra Prajapati