SlideShare uma empresa Scribd logo
1 de 26
Introduction EL5130-Computer Graphics & GPU Programming
Computer Graphics Graphics created by computer The representation and manipulation of pictorial data by computer
Human perception Interactive graphics is (typically) for human viewers Guided-missile design is a counterexample Human will be presumed in this course Good designers know their customers’ needs and problems Have basic understanding of visual perception NTSC is a great engineering design example The evolution of computer graphics has been directed by the quirks of human perception, e.g., Tri-color stimulus Sensitivity to change in light reaching the eye
Purpose of computer graphics? Communication is the purpose Human perception is the context Techniques leverage visual perception abilities Fidelity is a tool, not (necessarily) the goal Virtual reality is great, but Don’t want to be limited to reality Want to do super reality Non-photorealistic rendering (NPR) is valuable Bill Buxton, Sketching User Experiences, 2006 No apology is required for “approximations” Especially for interactive graphics
Color perception Color is perceptual Stimulus is spectral energy in 400-700 nm range Monochromatic differentiation requires: Overlapping cone sensitivities (ratios) Only two cone types Three cone types (a human quirk) Enrich our perceptual experience Require stimulation with (at least) three “colors” RGB is the display tuple Normalized typical human cone cell responses to monochromatic spectral stimuli (Source: Wikipedia)
Dual (3D Realistic) Computer Graphics & Image Processing Computer Graphics Visualization Image Processing
Pixels imaging CCD sensor (Bayer pattern) graphics LCD display pixel
Pixels Why do CCDs use the Bayer pattern? Why don’t LCD monitors use the Bayer pattern? What is graphics missing? Microsoft ClearType Claude Betrisey, Jim Blinn, BodinDresevic, Bill Hill, Greg Hitchcock, Bert Kely, Don Mitchell, John Platt, Turner Whitted, 20.4: Displaced Filtering for Patterned Displays, Society for Information Display, 2000.
Basic 3D Graphics Pipeline
Graphics image (pixels) objects (triangles) lights (photons) viewer
Physical reality (sort of) objects (triangles) for (each photon)   for (each triangle)     for (each pixel)       draw; lights (photons) image (pixels)
Ray tracing objects (triangles) for (each pixel)   for (each triangle)     for (each light)       draw; lights (photons) image (pixels)
Physical reality (sort of) objects (triangles) for (each light)   for (each triangle)     for (each pixel)       draw; lights image (pixels)
Traditional graphics pipeline (OpenGL) objects (triangles) for (each triangle)   for (each light)     for (each pixel)       draw; lights image (pixels)
Modern graphics pipeline (OpenGL 2.1) objects (triangles) for (each triangle)   for (each pixel)     for (each light)       draw; lights image (pixels)
Global illumination Light paths are complex, not light  triangle  pixel Nature finds equilibrium efficiently Computers struggle 
Animation Sequence of still frames Update rate: minimum of 24 hz or so Flicker rate: minimum of 50 hz or so “Rule 1”: All discontinuous frame-to-frame changes correspond to discontinuous scene or visibility changes
Interactive graphics System latency Frame rate and flicker rate
Impact of Computers Moore’s Law Power of a CPU doubles every 18 months / 2 years
Impact of Video Games (Nvidia) Number of transistors on GPU doubles each 6 mos. Three times Moore’s Law Good article on Jen-Hsun Huang, Nvidia CEO: http://www.wired.com/wired/archive/10.07/Nvidia_pr.html "What we've done in the past five years is staggering,“  "What we can do in the next five years is going to blow your mind. In 10 years, we should be bigger than Intel." How is come?
Topics (Conventional) Computer Graphics Pipeline Core graphics pipeline: Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / textures, scan conversion / clipping OpenGL Morphing, curves and surfaces, animation, etc. GPU Programming Not a course about graphic design, using graphics tools like PhotoShop or Maya but possibly you will use it in the assignments
Prerequisites You will be writing programs Non-trivial data structures, pointers An ability to learn a programming library on your own OpenGL Comfortable with matrix algebra and calculus Basic linear algebra
Work Assignment & Programming assignments (30%) C/C++ using OpenGL, GLUT, and UI libraries Source will be read and documentation is req’d Product Development Project (50%) Final Exam (20%)
http://course.lskk.ee.itb.ac.id Courses Workflow Wednesday, 13.00 – 13.50 Tuesday, 10.00 – 11.40
Honor Code Specific honor code instructions will be provided with each assignment When in doubt… Don’t use resources other than class notes and textbook Typically… Using examples from the web is a great way to learn and it is encouraged… reference what you use Discuss things and working together is encouraged, but In general, it is unethical and it is discouraged to share assignment code with another student or debug assignment code together
1st Assignment Single page essay on the impact of graphics cards based on an article in http://www.wired.com/wired/archive/10.07/Nvidia.html Why do CCDs use the Bayer pattern? Why don’t LCD monitors use the Bayer pattern? Why do we need ClearType™ font? How it works?

Mais conteúdo relacionado

Mais procurados

Computer Graphics
Computer GraphicsComputer Graphics
Computer GraphicsAdri Jovin
 
Visual cryptography scheme for color images
Visual cryptography scheme for color imagesVisual cryptography scheme for color images
Visual cryptography scheme for color imagesIAEME Publication
 
更適應性的AOI-深度強化學習之應用
更適應性的AOI-深度強化學習之應用更適應性的AOI-深度強化學習之應用
更適應性的AOI-深度強化學習之應用CHENHuiMei
 
01 first
01 first01 first
01 firstscythus
 
Computer vision suprim regmi
Computer vision suprim regmi Computer vision suprim regmi
Computer vision suprim regmi Suprim Regmi
 
Armand Rousso describes about the Computer graphic
Armand Rousso describes about the Computer graphicArmand Rousso describes about the Computer graphic
Armand Rousso describes about the Computer graphicArmand Rousso
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphicsPartnered Health
 
深度學習在AOI的應用
深度學習在AOI的應用深度學習在AOI的應用
深度學習在AOI的應用CHENHuiMei
 
3D Modeling and Texturing Walkthrough
3D Modeling and Texturing Walkthrough3D Modeling and Texturing Walkthrough
3D Modeling and Texturing WalkthroughMartin Reimer
 
Unit 67 3_d_animation
Unit 67 3_d_animationUnit 67 3_d_animation
Unit 67 3_d_animationDamionVize
 
AI & ML in Defence Systems - Sunil Chomal
AI & ML in Defence Systems   - Sunil ChomalAI & ML in Defence Systems   - Sunil Chomal
AI & ML in Defence Systems - Sunil ChomalSunil Chomal
 
Visual geometry with deep learning
Visual geometry with deep learningVisual geometry with deep learning
Visual geometry with deep learningNAVER Engineering
 
Scene classification using Convolutional Neural Networks - Jayani Withanawasam
Scene classification using Convolutional Neural Networks - Jayani WithanawasamScene classification using Convolutional Neural Networks - Jayani Withanawasam
Scene classification using Convolutional Neural Networks - Jayani WithanawasamWithTheBest
 
Unit-1 basics of computer graphics
Unit-1 basics of computer graphicsUnit-1 basics of computer graphics
Unit-1 basics of computer graphicsAmol Gaikwad
 

Mais procurados (19)

Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Computer vision
Computer visionComputer vision
Computer vision
 
Visual cryptography scheme for color images
Visual cryptography scheme for color imagesVisual cryptography scheme for color images
Visual cryptography scheme for color images
 
更適應性的AOI-深度強化學習之應用
更適應性的AOI-深度強化學習之應用更適應性的AOI-深度強化學習之應用
更適應性的AOI-深度強化學習之應用
 
01 first
01 first01 first
01 first
 
Computer vision suprim regmi
Computer vision suprim regmi Computer vision suprim regmi
Computer vision suprim regmi
 
Armand Rousso describes about the Computer graphic
Armand Rousso describes about the Computer graphicArmand Rousso describes about the Computer graphic
Armand Rousso describes about the Computer graphic
 
Introduction to computer graphics
Introduction to computer graphicsIntroduction to computer graphics
Introduction to computer graphics
 
深度學習在AOI的應用
深度學習在AOI的應用深度學習在AOI的應用
深度學習在AOI的應用
 
3D - The Basics
3D - The Basics 3D - The Basics
3D - The Basics
 
3D Modeling and Texturing Walkthrough
3D Modeling and Texturing Walkthrough3D Modeling and Texturing Walkthrough
3D Modeling and Texturing Walkthrough
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Unit 67 3_d_animation
Unit 67 3_d_animationUnit 67 3_d_animation
Unit 67 3_d_animation
 
AI & ML in Defence Systems - Sunil Chomal
AI & ML in Defence Systems   - Sunil ChomalAI & ML in Defence Systems   - Sunil Chomal
AI & ML in Defence Systems - Sunil Chomal
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
fundamentals of Computer graphics(Computer graphics tutorials)
 fundamentals of Computer graphics(Computer graphics tutorials) fundamentals of Computer graphics(Computer graphics tutorials)
fundamentals of Computer graphics(Computer graphics tutorials)
 
Visual geometry with deep learning
Visual geometry with deep learningVisual geometry with deep learning
Visual geometry with deep learning
 
Scene classification using Convolutional Neural Networks - Jayani Withanawasam
Scene classification using Convolutional Neural Networks - Jayani WithanawasamScene classification using Convolutional Neural Networks - Jayani Withanawasam
Scene classification using Convolutional Neural Networks - Jayani Withanawasam
 
Unit-1 basics of computer graphics
Unit-1 basics of computer graphicsUnit-1 basics of computer graphics
Unit-1 basics of computer graphics
 

Destaque

Destaque (7)

SSC Preparation - X - Maths - Statistics Part II
SSC Preparation - X - Maths - Statistics Part II SSC Preparation - X - Maths - Statistics Part II
SSC Preparation - X - Maths - Statistics Part II
 
Graphs
GraphsGraphs
Graphs
 
2.2 pict of data
2.2 pict of data2.2 pict of data
2.2 pict of data
 
Computer graphics
Computer graphics   Computer graphics
Computer graphics
 
Graphical Representation of data
Graphical Representation of dataGraphical Representation of data
Graphical Representation of data
 
Data presentation 2
Data presentation 2Data presentation 2
Data presentation 2
 
Digital Image Processing
Digital Image ProcessingDigital Image Processing
Digital Image Processing
 

Semelhante a Ch01 -introduction

Computer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C ProgrammingComputer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C Programmingkemal678348
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics NotesGurpreet singh
 
10cs65-cgnotes
10cs65-cgnotes10cs65-cgnotes
10cs65-cgnotesmushtaqdm
 
CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 IntroductionMark Kilgard
 
Nicolae_Denut_Theses
Nicolae_Denut_ThesesNicolae_Denut_Theses
Nicolae_Denut_ThesesNicolae Denut
 
Graphics display-devicesmod-1
Graphics display-devicesmod-1Graphics display-devicesmod-1
Graphics display-devicesmod-1Praveen Kumar
 
Weeks 1 Introductions_V1_1.ppt
Weeks 1 Introductions_V1_1.pptWeeks 1 Introductions_V1_1.ppt
Weeks 1 Introductions_V1_1.pptssusera0a371
 
unit1_updated.pptx
unit1_updated.pptxunit1_updated.pptx
unit1_updated.pptxRYZEN14
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoonmochimedia
 
Visual thinking colin_ware_lectures_2013_11_objects and object-based displays
Visual thinking colin_ware_lectures_2013_11_objects and object-based displaysVisual thinking colin_ware_lectures_2013_11_objects and object-based displays
Visual thinking colin_ware_lectures_2013_11_objects and object-based displaysElsa von Licy
 
CG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxCG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxShweta Shah
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptxIshooYadav
 
Generating 3 d model in virtual reality and analyzing its performance
Generating 3 d model in virtual reality and analyzing its performanceGenerating 3 d model in virtual reality and analyzing its performance
Generating 3 d model in virtual reality and analyzing its performanceijcsit
 

Semelhante a Ch01 -introduction (20)

Computer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C ProgrammingComputer Graphics Power Point using Open GL and C Programming
Computer Graphics Power Point using Open GL and C Programming
 
Computer Graphics Notes
Computer Graphics NotesComputer Graphics Notes
Computer Graphics Notes
 
10cs65-cgnotes
10cs65-cgnotes10cs65-cgnotes
10cs65-cgnotes
 
CG.pptx
CG.pptxCG.pptx
CG.pptx
 
CS 354 Introduction
CS 354 IntroductionCS 354 Introduction
CS 354 Introduction
 
Nicolae_Denut_Theses
Nicolae_Denut_ThesesNicolae_Denut_Theses
Nicolae_Denut_Theses
 
427lects
427lects427lects
427lects
 
Graphics display-devicesmod-1
Graphics display-devicesmod-1Graphics display-devicesmod-1
Graphics display-devicesmod-1
 
Weeks 1 Introductions_V1_1.ppt
Weeks 1 Introductions_V1_1.pptWeeks 1 Introductions_V1_1.ppt
Weeks 1 Introductions_V1_1.ppt
 
unit1_updated.pptx
unit1_updated.pptxunit1_updated.pptx
unit1_updated.pptx
 
FGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie TycoonFGS 2011: Making A Game With Molehill: Zombie Tycoon
FGS 2011: Making A Game With Molehill: Zombie Tycoon
 
Visual thinking colin_ware_lectures_2013_11_objects and object-based displays
Visual thinking colin_ware_lectures_2013_11_objects and object-based displaysVisual thinking colin_ware_lectures_2013_11_objects and object-based displays
Visual thinking colin_ware_lectures_2013_11_objects and object-based displays
 
unit-1-intro
 unit-1-intro unit-1-intro
unit-1-intro
 
CG_Unit1_SShah.pptx
CG_Unit1_SShah.pptxCG_Unit1_SShah.pptx
CG_Unit1_SShah.pptx
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 
Digital.cc
Digital.ccDigital.cc
Digital.cc
 
Generating 3 d model in virtual reality and analyzing its performance
Generating 3 d model in virtual reality and analyzing its performanceGenerating 3 d model in virtual reality and analyzing its performance
Generating 3 d model in virtual reality and analyzing its performance
 
Log polar coordinates
Log polar coordinatesLog polar coordinates
Log polar coordinates
 
DIP-Unit1-Session1.pdf
DIP-Unit1-Session1.pdfDIP-Unit1-Session1.pdf
DIP-Unit1-Session1.pdf
 
3D Technology
3D Technology 3D Technology
3D Technology
 

Ch01 -introduction

  • 2. Computer Graphics Graphics created by computer The representation and manipulation of pictorial data by computer
  • 3. Human perception Interactive graphics is (typically) for human viewers Guided-missile design is a counterexample Human will be presumed in this course Good designers know their customers’ needs and problems Have basic understanding of visual perception NTSC is a great engineering design example The evolution of computer graphics has been directed by the quirks of human perception, e.g., Tri-color stimulus Sensitivity to change in light reaching the eye
  • 4. Purpose of computer graphics? Communication is the purpose Human perception is the context Techniques leverage visual perception abilities Fidelity is a tool, not (necessarily) the goal Virtual reality is great, but Don’t want to be limited to reality Want to do super reality Non-photorealistic rendering (NPR) is valuable Bill Buxton, Sketching User Experiences, 2006 No apology is required for “approximations” Especially for interactive graphics
  • 5. Color perception Color is perceptual Stimulus is spectral energy in 400-700 nm range Monochromatic differentiation requires: Overlapping cone sensitivities (ratios) Only two cone types Three cone types (a human quirk) Enrich our perceptual experience Require stimulation with (at least) three “colors” RGB is the display tuple Normalized typical human cone cell responses to monochromatic spectral stimuli (Source: Wikipedia)
  • 6. Dual (3D Realistic) Computer Graphics & Image Processing Computer Graphics Visualization Image Processing
  • 7. Pixels imaging CCD sensor (Bayer pattern) graphics LCD display pixel
  • 8. Pixels Why do CCDs use the Bayer pattern? Why don’t LCD monitors use the Bayer pattern? What is graphics missing? Microsoft ClearType Claude Betrisey, Jim Blinn, BodinDresevic, Bill Hill, Greg Hitchcock, Bert Kely, Don Mitchell, John Platt, Turner Whitted, 20.4: Displaced Filtering for Patterned Displays, Society for Information Display, 2000.
  • 9. Basic 3D Graphics Pipeline
  • 10. Graphics image (pixels) objects (triangles) lights (photons) viewer
  • 11. Physical reality (sort of) objects (triangles) for (each photon) for (each triangle) for (each pixel) draw; lights (photons) image (pixels)
  • 12. Ray tracing objects (triangles) for (each pixel) for (each triangle) for (each light) draw; lights (photons) image (pixels)
  • 13. Physical reality (sort of) objects (triangles) for (each light) for (each triangle) for (each pixel) draw; lights image (pixels)
  • 14. Traditional graphics pipeline (OpenGL) objects (triangles) for (each triangle) for (each light) for (each pixel) draw; lights image (pixels)
  • 15. Modern graphics pipeline (OpenGL 2.1) objects (triangles) for (each triangle) for (each pixel) for (each light) draw; lights image (pixels)
  • 16. Global illumination Light paths are complex, not light  triangle  pixel Nature finds equilibrium efficiently Computers struggle 
  • 17. Animation Sequence of still frames Update rate: minimum of 24 hz or so Flicker rate: minimum of 50 hz or so “Rule 1”: All discontinuous frame-to-frame changes correspond to discontinuous scene or visibility changes
  • 18. Interactive graphics System latency Frame rate and flicker rate
  • 19. Impact of Computers Moore’s Law Power of a CPU doubles every 18 months / 2 years
  • 20. Impact of Video Games (Nvidia) Number of transistors on GPU doubles each 6 mos. Three times Moore’s Law Good article on Jen-Hsun Huang, Nvidia CEO: http://www.wired.com/wired/archive/10.07/Nvidia_pr.html "What we've done in the past five years is staggering,“ "What we can do in the next five years is going to blow your mind. In 10 years, we should be bigger than Intel." How is come?
  • 21. Topics (Conventional) Computer Graphics Pipeline Core graphics pipeline: Modeling transformation, viewing transformation, hidden surface removal, illumination / shading / textures, scan conversion / clipping OpenGL Morphing, curves and surfaces, animation, etc. GPU Programming Not a course about graphic design, using graphics tools like PhotoShop or Maya but possibly you will use it in the assignments
  • 22. Prerequisites You will be writing programs Non-trivial data structures, pointers An ability to learn a programming library on your own OpenGL Comfortable with matrix algebra and calculus Basic linear algebra
  • 23. Work Assignment & Programming assignments (30%) C/C++ using OpenGL, GLUT, and UI libraries Source will be read and documentation is req’d Product Development Project (50%) Final Exam (20%)
  • 24. http://course.lskk.ee.itb.ac.id Courses Workflow Wednesday, 13.00 – 13.50 Tuesday, 10.00 – 11.40
  • 25. Honor Code Specific honor code instructions will be provided with each assignment When in doubt… Don’t use resources other than class notes and textbook Typically… Using examples from the web is a great way to learn and it is encouraged… reference what you use Discuss things and working together is encouraged, but In general, it is unethical and it is discouraged to share assignment code with another student or debug assignment code together
  • 26. 1st Assignment Single page essay on the impact of graphics cards based on an article in http://www.wired.com/wired/archive/10.07/Nvidia.html Why do CCDs use the Bayer pattern? Why don’t LCD monitors use the Bayer pattern? Why do we need ClearType™ font? How it works?

Notas do Editor

  1. Manipulation? Image Processing?