SlideShare une entreprise Scribd logo
1  sur  18
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

Contenu connexe

Tendances

Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphicsSafayet Hossain
 
Clipping in Computer Graphics
Clipping in Computer GraphicsClipping in Computer Graphics
Clipping in Computer GraphicsLaxman Puri
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer GraphicsKamal Acharya
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicsKamal Acharya
 
Applications of cg
Applications of cgApplications of cg
Applications of cgAnkit Garg
 
Computer graphics
Computer graphicsComputer graphics
Computer graphicsMohsin Azam
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphicsAaina Katyal
 
Polygon filling algorithm
Polygon filling algorithmPolygon filling algorithm
Polygon filling algorithmAparna Joshi
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer GraphicsAnkur Soni
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4PrathimaBaliga
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scanKABILESH RAMAR
 
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 displaysSomya Bagai
 
Raster scan system
Raster scan systemRaster scan system
Raster scan systemMohd Arif
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan systemshalinikarunakaran1
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output PrimitivesPrathimaBaliga
 
Back face detection
Back face detectionBack face detection
Back face detectionPooja Dixit
 

Tendances (20)

Clipping
ClippingClipping
Clipping
 
Anti- aliasing computer graphics
Anti- aliasing computer graphicsAnti- aliasing computer graphics
Anti- aliasing computer graphics
 
Bresenham circle
Bresenham circleBresenham circle
Bresenham circle
 
Clipping in Computer Graphics
Clipping in Computer GraphicsClipping in Computer Graphics
Clipping in Computer Graphics
 
Output primitives in Computer Graphics
Output primitives in Computer GraphicsOutput primitives in Computer Graphics
Output primitives in Computer Graphics
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
Applications of cg
Applications of cgApplications of cg
Applications of cg
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
applications of computer graphics
applications of computer graphicsapplications of computer graphics
applications of computer graphics
 
Polygon filling algorithm
Polygon filling algorithmPolygon filling algorithm
Polygon filling algorithm
 
Depth Buffer Method
Depth Buffer MethodDepth Buffer Method
Depth Buffer Method
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Computer graphics chapter 4
Computer graphics chapter 4Computer graphics chapter 4
Computer graphics chapter 4
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
 
Video display devices
Video display devicesVideo display devices
Video display devices
 
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
 
Raster scan system
Raster scan systemRaster scan system
Raster scan system
 
Raster scan system & random scan system
Raster scan system & random scan systemRaster scan system & random scan system
Raster scan system & random scan system
 
Chapter 3 Output Primitives
Chapter 3 Output PrimitivesChapter 3 Output Primitives
Chapter 3 Output Primitives
 
Back face detection
Back face detectionBack face detection
Back face detection
 

En vedette

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 reviewAmericanLipp210
 
Applications of computer graphics
Applications of computer graphicsApplications of computer graphics
Applications of computer graphicsMercy Amirthakani
 
dda algorithm
dda  algorithmdda  algorithm
dda algorithm774474
 
Showcase computer graphics 2012
Showcase computer graphics 2012Showcase computer graphics 2012
Showcase computer graphics 2012Mark Bracke
 
Motion blur tutorial
Motion blur tutorialMotion blur tutorial
Motion blur tutorialgeekerridge
 
09_motionblur
09_motionblur09_motionblur
09_motionblurnoerror
 
Mid point line Algorithm - Computer Graphics
Mid point line Algorithm - Computer GraphicsMid point line Algorithm - Computer Graphics
Mid point line Algorithm - Computer GraphicsDrishti 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
 
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIACOMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIA
COMPUTER APPLICATIONS IN EDUCATION,GRAPHICS & MULTIMEDIASelf employed
 
Midpoint circle algo
Midpoint circle algoMidpoint circle algo
Midpoint circle algoMohd Arif
 
Chapter 5 balance
Chapter 5 balanceChapter 5 balance
Chapter 5 balanceTracie King
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.Mohd Arif
 

En vedette (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
 
Line drawing algo.
Line drawing algo.Line drawing algo.
Line drawing algo.
 

Similaire à Computer graphics presentation

Computer graphics lab manual
Computer graphics lab manualComputer graphics lab manual
Computer graphics lab manualAnkit Kumar
 
computer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcodecomputer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcodeBhavya Chawla
 
Computer Graphics Notes 2.pdf
Computer Graphics Notes 2.pdfComputer Graphics Notes 2.pdf
Computer Graphics Notes 2.pdfAOUNHAIDER7
 
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 dericationKumar
 
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 examtigag49721
 
Computer graphics notes 2 tutorials duniya
Computer graphics notes 2   tutorials duniyaComputer graphics notes 2   tutorials duniya
Computer graphics notes 2 tutorials duniyaTutorialsDuniya.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.pptxssuser255bf1
 
Open GL T0074 56 sm1
Open GL T0074 56 sm1Open GL T0074 56 sm1
Open GL T0074 56 sm1Roziq Bahtiar
 
Lab lecture 1 line_algo
Lab lecture 1 line_algoLab lecture 1 line_algo
Lab lecture 1 line_algosimpleok
 
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 algorithmsAmol Gaikwad
 
Lecture _Line Scan Conversion.ppt
Lecture _Line Scan Conversion.pptLecture _Line Scan Conversion.ppt
Lecture _Line Scan Conversion.pptGaganvirKaur
 

Similaire à 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
 
03.Scan Conversion.ppt
03.Scan Conversion.ppt03.Scan Conversion.ppt
03.Scan Conversion.ppt
 
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
 
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
 

Dernier

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPirithiRaju
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PPRINCE C P
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.Nitya salvi
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000Sapana Sha
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsSérgio Sacani
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTSérgio Sacani
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyDrAnita Sharma
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)Areesha Ahmad
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 

Dernier (20)

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
VIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C PVIRUSES structure and classification ppt by Dr.Prince C P
VIRUSES structure and classification ppt by Dr.Prince C P
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroidsHubble Asteroid Hunter III. Physical properties of newly found asteroids
Hubble Asteroid Hunter III. Physical properties of newly found asteroids
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Disentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOSTDisentangling the origin of chemical differences using GHOST
Disentangling the origin of chemical differences using GHOST
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
fundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomologyfundamental of entomology all in one topics of entomology
fundamental of entomology all in one topics of entomology
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
CELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdfCELL -Structural and Functional unit of life.pdf
CELL -Structural and Functional unit of life.pdf
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 

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