SlideShare a Scribd company logo
1 of 29
Now Playing:
Giant Steps
From Giant Steps
Recorded May 4-5, 1959
John Coltrane - Tenor Sax
Tommy Flanagan - Piano
Paul Chambers - Bass
Art Taylor - Drums
Rasterization and
Real-time Graphics
COMP 575
August 21, 2007
• Change in office hours:
• Wednesday office hours moved to
3:30-5:00pm
• Schedule is linked from the course
home page:
• http://www.cs.unc.edu/~skarbez/comp575
• Slides and web notes will be posted
online over the weekend
Announcements
• Definition 1: The process of converting
a vector image (shapes) to a raster
image (dots)
• Why?
• Dots are the only things modern
displays can understand!
What is
“rasterization”?
Karl Ferdinand Braun, 1897
Image courtesy of Wikipedia
Cathode Ray Tube
Text
HP Oscilloscope
Vector Displays
Vector Displays
Asteroids, 1979
Tempest, 1981
Star Wars, 1983
• They just draw line segments
• User/computer:
• Define start and end points
• Display:
• Move electron gun to start point
• Turn electron gun on
• Move electron gun to end point
• Turn electron gun off
How Vector Displays
Work
• Require very little memory
• Important on a 64K system
• Conceptually very simple
• No aliasing of lines/curves
• We’ll come back to this later
• No fixed timing
• Refresh rate can be very high
Advantages of Vector
Displays
• Really just one: Can only draw line
segments
• Time needed to draw a screen
increases with number of lines drawn
• If most of the image isn’t black, you
won’t be able to finish drawing it in
time!
Disadvantages of
Vector Displays
Image courtesy of Wikipedia
Cathode Ray Tube
Text
1. Electron guns
2. Electron beams
3. Focusing coils
4. Deflection coils
5. Anode connection
6. Mask for separating
beams for red, green, and
blue part of displayed
image
7. Phosphor layer with red,
green, and blue zones
8. Close-up of the
phosphor-coated inner
side of the screen
Raster Displays
Vertical
Resolution
Scan
Line
Pixels
• Need a fairly large amount of memory
• Draws the whole screen “at once”
• Need a frame buffer that can hold the
information for a whole image
• Aliasing!
Disadvantages of
Raster Displays
• This is what causes “jaggies”
• A signal processing problem:
• The incoming signal (the desired
image) can only be sampled at pixel
centers on the display
• Demonstrations
Aliasing
• Refresh rate is not dependent on the
amount of pixels drawn
• Very important for drawing any
images that are not 90% black
Advantages of Raster
Displays
• Liquid Crystal Displays (LCD)
Other raster displays
Close-up of pixels
on an LCD display
A single subpixel of an LCD display
• Virtually all displays used today are
raster displays
• So, technically, anything that produces
an image on a screen “rasterizes”
• Definition 2: The rendering method
used by current graphics cards
What is
“rasterization”? (Part
2)
• Start with geometry
• We have some 3D model and/or
environment in the system, and we
want to draw it on the screen
• Problem: The display is, virtually
always, only 2D
• Need to transform the 3D model into
2D
How do we draw an
image?
• Problem: The display is, virtually
always, only 2D
• Need to transform the 3D model into
2D
• We do this with a virtual camera
• Represented mathematically by a 3x4
projection (or P) matrix
3D to 2D (Projection)
3D to 2D (Projection)
• Problem: How do we determine the
color of a piece of geometry?
• In the real world, color depends on the
object’s surface color and the color of
the light
• It is the same way in computer
graphics
• “Shading” is the process by which color
is assigned to geometry
Shading
• Problem: The camera doesn’t see the
whole scene
• In particular, the camera might only
see parts of objects
• Solution: Find objects that cross the
edge of the viewing volume, and “clip”
them
• Clip: Cut a polygon into multiple parts,
such that each is entirely inside or
outside the display area
Clipping
• Problem: How to convert these
polygons on a plane to pixels on a
screen?
• Have to figure out which pixels a
polygon covers
• A part of a polygon that covers one
pixel is called a “fragment
• Why? There can be multiple
fragments per pixel
Rasterization
Rasterizing a triangle
• Problem: How do we know which
fragment to use to color a given pixel?
• Need to know which fragment is in front
(not counting transparency)
Fragment Processing
• Start: Geometric model
• Compute color of geometry (Shading)
• Based on lighting and surface color
• Project geometry (Projection)
• Clip geometry (Clipping)
• Generate fragments from geometry
(Rasterization)
• Compute pixel colors from fragments
(Fragment processng)
• End: Display pixels
Rendering process
• Shading, projection, and clipping all
operate on the original geometry
• Combined into one unit, or “shader”
• “Vertex shader” or “geometry
shader”
• So this is a basic graphics pipeline:
Rendering pipeline
Geometry
Vertex
Shader
Rasterizer
Fragment
Shader
Pixels
• Next Tuesday
• Course Overview II: Real Cameras,
Vision, and Ray Tracing
• Next Thursday
• Math Basics: Matrices and Vectors
• Week 3
• Transforms (2D & 3D)
Class Schedule
• Week 4
• OpenGL
• Week 5
• Geometry & Modeling
• Lighting & Shading
• Week 6
• Lighting & Shading
• Clipping
Class Schedule
• Week 7
• Clipping
• Line Drawing
• Week 8
• Polygon Drawing
• Hidden Surface Removal
• Week 9
• Texture Mapping
Class Schedule

More Related Content

Similar to august23.ppt

Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.pptMalleshBettadapura1
 
visible surface detection in 3D objects for viewing
visible surface detection in 3D objects for viewingvisible surface detection in 3D objects for viewing
visible surface detection in 3D objects for viewingsrinivasan779644
 
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...Electronic Arts / DICE
 
Past, Present and Future Challenges of Global Illumination in Games
Past, Present and Future Challenges of Global Illumination in GamesPast, Present and Future Challenges of Global Illumination in Games
Past, Present and Future Challenges of Global Illumination in GamesColin Barré-Brisebois
 
支援DSL的嵌入式圖形操作環境
支援DSL的嵌入式圖形操作環境支援DSL的嵌入式圖形操作環境
支援DSL的嵌入式圖形操作環境John Chou
 
Computer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptxComputer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptxAOUNHAIDER7
 
Europa Presentation 2011
Europa Presentation 2011Europa Presentation 2011
Europa Presentation 2011Chris Churchill
 
Lec 5 output unit
Lec 5 output unitLec 5 output unit
Lec 5 output unitProtik Roy
 
ITFT-Video display devices
ITFT-Video display devicesITFT-Video display devices
ITFT-Video display devicesShifali Sharma
 
24th IP_Fundamentals.ppt
24th IP_Fundamentals.ppt24th IP_Fundamentals.ppt
24th IP_Fundamentals.pptMphill2018
 
Graphical Programming
Graphical ProgrammingGraphical Programming
Graphical ProgrammingGaditek
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systemsJay Nagar
 

Similar to august23.ppt (20)

Overview of graphics systems.ppt
Overview of graphics systems.pptOverview of graphics systems.ppt
Overview of graphics systems.ppt
 
september18.ppt
september18.pptseptember18.ppt
september18.ppt
 
What is computer graphics
What is computer graphicsWhat is computer graphics
What is computer graphics
 
Crt moniters.
Crt moniters.Crt moniters.
Crt moniters.
 
LED,LCD,CRO,CRT UNIT IV of M&I
LED,LCD,CRO,CRT UNIT IV of M&ILED,LCD,CRO,CRT UNIT IV of M&I
LED,LCD,CRO,CRT UNIT IV of M&I
 
visible surface detection in 3D objects for viewing
visible surface detection in 3D objects for viewingvisible surface detection in 3D objects for viewing
visible surface detection in 3D objects for viewing
 
Fundamentals of Computing Chapter 5
Fundamentals of Computing Chapter 5Fundamentals of Computing Chapter 5
Fundamentals of Computing Chapter 5
 
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
A Certain Slant of Light - Past, Present and Future Challenges of Global Illu...
 
Past, Present and Future Challenges of Global Illumination in Games
Past, Present and Future Challenges of Global Illumination in GamesPast, Present and Future Challenges of Global Illumination in Games
Past, Present and Future Challenges of Global Illumination in Games
 
支援DSL的嵌入式圖形操作環境
支援DSL的嵌入式圖形操作環境支援DSL的嵌入式圖形操作環境
支援DSL的嵌入式圖形操作環境
 
Computer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptxComputer Graphics Full Tutorial.pptx
Computer Graphics Full Tutorial.pptx
 
Europa Presentation 2011
Europa Presentation 2011Europa Presentation 2011
Europa Presentation 2011
 
3D modeling and animation
3D modeling and animation3D modeling and animation
3D modeling and animation
 
Lec 5 output unit
Lec 5 output unitLec 5 output unit
Lec 5 output unit
 
Computer graphics CS
Computer graphics CSComputer graphics CS
Computer graphics CS
 
Lecture_4.ppt
Lecture_4.pptLecture_4.ppt
Lecture_4.ppt
 
ITFT-Video display devices
ITFT-Video display devicesITFT-Video display devices
ITFT-Video display devices
 
24th IP_Fundamentals.ppt
24th IP_Fundamentals.ppt24th IP_Fundamentals.ppt
24th IP_Fundamentals.ppt
 
Graphical Programming
Graphical ProgrammingGraphical Programming
Graphical Programming
 
Overview of graphics systems
Overview of  graphics systemsOverview of  graphics systems
Overview of graphics systems
 

More from CharlesMatu2

The cause of ww1 happened 1914 this was after the the asssasination of Arc...
The  cause of ww1  happened  1914 this was after the the asssasination of Arc...The  cause of ww1  happened  1914 this was after the the asssasination of Arc...
The cause of ww1 happened 1914 this was after the the asssasination of Arc...CharlesMatu2
 
history_of_american_agriculture.ppt
history_of_american_agriculture.ppthistory_of_american_agriculture.ppt
history_of_american_agriculture.pptCharlesMatu2
 
Origin of Agriculture.ppt
Origin of Agriculture.pptOrigin of Agriculture.ppt
Origin of Agriculture.pptCharlesMatu2
 
History of Science and Technology.ppt
History of Science and Technology.pptHistory of Science and Technology.ppt
History of Science and Technology.pptCharlesMatu2
 
Lighting & Shading in OpenGL Non-Photorealistic Rendering.ppt
Lighting & Shading in OpenGL Non-Photorealistic Rendering.pptLighting & Shading in OpenGL Non-Photorealistic Rendering.ppt
Lighting & Shading in OpenGL Non-Photorealistic Rendering.pptCharlesMatu2
 
BBM3117 CAT 31ST.docx
BBM3117 CAT 31ST.docxBBM3117 CAT 31ST.docx
BBM3117 CAT 31ST.docxCharlesMatu2
 
Computer graphics.docx
Computer graphics.docxComputer graphics.docx
Computer graphics.docxCharlesMatu2
 
BIT4103 HUMAN COMPUTER INTERACTION CAT.docx
BIT4103 HUMAN COMPUTER INTERACTION CAT.docxBIT4103 HUMAN COMPUTER INTERACTION CAT.docx
BIT4103 HUMAN COMPUTER INTERACTION CAT.docxCharlesMatu2
 

More from CharlesMatu2 (14)

The cause of ww1 happened 1914 this was after the the asssasination of Arc...
The  cause of ww1  happened  1914 this was after the the asssasination of Arc...The  cause of ww1  happened  1914 this was after the the asssasination of Arc...
The cause of ww1 happened 1914 this was after the the asssasination of Arc...
 
AP Ch 1.ppt
AP Ch 1.pptAP Ch 1.ppt
AP Ch 1.ppt
 
history_of_american_agriculture.ppt
history_of_american_agriculture.ppthistory_of_american_agriculture.ppt
history_of_american_agriculture.ppt
 
Origin of Agriculture.ppt
Origin of Agriculture.pptOrigin of Agriculture.ppt
Origin of Agriculture.ppt
 
History of Science and Technology.ppt
History of Science and Technology.pptHistory of Science and Technology.ppt
History of Science and Technology.ppt
 
september11.ppt
september11.pptseptember11.ppt
september11.ppt
 
september13.ppt
september13.pptseptember13.ppt
september13.ppt
 
september4.ppt
september4.pptseptember4.ppt
september4.ppt
 
september6.ppt
september6.pptseptember6.ppt
september6.ppt
 
november6.ppt
november6.pptnovember6.ppt
november6.ppt
 
Lighting & Shading in OpenGL Non-Photorealistic Rendering.ppt
Lighting & Shading in OpenGL Non-Photorealistic Rendering.pptLighting & Shading in OpenGL Non-Photorealistic Rendering.ppt
Lighting & Shading in OpenGL Non-Photorealistic Rendering.ppt
 
BBM3117 CAT 31ST.docx
BBM3117 CAT 31ST.docxBBM3117 CAT 31ST.docx
BBM3117 CAT 31ST.docx
 
Computer graphics.docx
Computer graphics.docxComputer graphics.docx
Computer graphics.docx
 
BIT4103 HUMAN COMPUTER INTERACTION CAT.docx
BIT4103 HUMAN COMPUTER INTERACTION CAT.docxBIT4103 HUMAN COMPUTER INTERACTION CAT.docx
BIT4103 HUMAN COMPUTER INTERACTION CAT.docx
 

Recently uploaded

Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...lizamodels9
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...lizamodels9
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Roomdivyansh0kumar0
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionMintel Group
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfpollardmorgan
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsApsara Of India
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis UsageNeil Kimberley
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechNewman George Leech
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesKeppelCorporation
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 

Recently uploaded (20)

Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
Call Girls In Sikandarpur Gurgaon ❤️8860477959_Russian 100% Genuine Escorts I...
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
Call Girls In Radisson Blu Hotel New Delhi Paschim Vihar ❤️8860477959 Escorts...
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130  Available With RoomVIP Kolkata Call Girl Howrah 👉 8250192130  Available With Room
VIP Kolkata Call Girl Howrah 👉 8250192130 Available With Room
 
Future Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted VersionFuture Of Sample Report 2024 | Redacted Version
Future Of Sample Report 2024 | Redacted Version
 
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdfIntro to BCG's Carbon Emissions Benchmark_vF.pdf
Intro to BCG's Carbon Emissions Benchmark_vF.pdf
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call GirlsCash Payment 9602870969 Escort Service in Udaipur Call Girls
Cash Payment 9602870969 Escort Service in Udaipur Call Girls
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage2024 Numerator Consumer Study of Cannabis Usage
2024 Numerator Consumer Study of Cannabis Usage
 
RE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman LeechRE Capital's Visionary Leadership under Newman Leech
RE Capital's Visionary Leadership under Newman Leech
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Annual General Meeting Presentation Slides
Annual General Meeting Presentation SlidesAnnual General Meeting Presentation Slides
Annual General Meeting Presentation Slides
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 

august23.ppt

  • 1. Now Playing: Giant Steps From Giant Steps Recorded May 4-5, 1959 John Coltrane - Tenor Sax Tommy Flanagan - Piano Paul Chambers - Bass Art Taylor - Drums
  • 3. • Change in office hours: • Wednesday office hours moved to 3:30-5:00pm • Schedule is linked from the course home page: • http://www.cs.unc.edu/~skarbez/comp575 • Slides and web notes will be posted online over the weekend Announcements
  • 4. • Definition 1: The process of converting a vector image (shapes) to a raster image (dots) • Why? • Dots are the only things modern displays can understand! What is “rasterization”?
  • 5. Karl Ferdinand Braun, 1897 Image courtesy of Wikipedia Cathode Ray Tube Text
  • 8. • They just draw line segments • User/computer: • Define start and end points • Display: • Move electron gun to start point • Turn electron gun on • Move electron gun to end point • Turn electron gun off How Vector Displays Work
  • 9. • Require very little memory • Important on a 64K system • Conceptually very simple • No aliasing of lines/curves • We’ll come back to this later • No fixed timing • Refresh rate can be very high Advantages of Vector Displays
  • 10. • Really just one: Can only draw line segments • Time needed to draw a screen increases with number of lines drawn • If most of the image isn’t black, you won’t be able to finish drawing it in time! Disadvantages of Vector Displays
  • 11. Image courtesy of Wikipedia Cathode Ray Tube Text 1. Electron guns 2. Electron beams 3. Focusing coils 4. Deflection coils 5. Anode connection 6. Mask for separating beams for red, green, and blue part of displayed image 7. Phosphor layer with red, green, and blue zones 8. Close-up of the phosphor-coated inner side of the screen
  • 13. • Need a fairly large amount of memory • Draws the whole screen “at once” • Need a frame buffer that can hold the information for a whole image • Aliasing! Disadvantages of Raster Displays
  • 14. • This is what causes “jaggies” • A signal processing problem: • The incoming signal (the desired image) can only be sampled at pixel centers on the display • Demonstrations Aliasing
  • 15. • Refresh rate is not dependent on the amount of pixels drawn • Very important for drawing any images that are not 90% black Advantages of Raster Displays
  • 16. • Liquid Crystal Displays (LCD) Other raster displays Close-up of pixels on an LCD display A single subpixel of an LCD display
  • 17. • Virtually all displays used today are raster displays • So, technically, anything that produces an image on a screen “rasterizes” • Definition 2: The rendering method used by current graphics cards What is “rasterization”? (Part 2)
  • 18. • Start with geometry • We have some 3D model and/or environment in the system, and we want to draw it on the screen • Problem: The display is, virtually always, only 2D • Need to transform the 3D model into 2D How do we draw an image?
  • 19. • Problem: The display is, virtually always, only 2D • Need to transform the 3D model into 2D • We do this with a virtual camera • Represented mathematically by a 3x4 projection (or P) matrix 3D to 2D (Projection)
  • 20. 3D to 2D (Projection)
  • 21. • Problem: How do we determine the color of a piece of geometry? • In the real world, color depends on the object’s surface color and the color of the light • It is the same way in computer graphics • “Shading” is the process by which color is assigned to geometry Shading
  • 22. • Problem: The camera doesn’t see the whole scene • In particular, the camera might only see parts of objects • Solution: Find objects that cross the edge of the viewing volume, and “clip” them • Clip: Cut a polygon into multiple parts, such that each is entirely inside or outside the display area Clipping
  • 23. • Problem: How to convert these polygons on a plane to pixels on a screen? • Have to figure out which pixels a polygon covers • A part of a polygon that covers one pixel is called a “fragment • Why? There can be multiple fragments per pixel Rasterization Rasterizing a triangle
  • 24. • Problem: How do we know which fragment to use to color a given pixel? • Need to know which fragment is in front (not counting transparency) Fragment Processing
  • 25. • Start: Geometric model • Compute color of geometry (Shading) • Based on lighting and surface color • Project geometry (Projection) • Clip geometry (Clipping) • Generate fragments from geometry (Rasterization) • Compute pixel colors from fragments (Fragment processng) • End: Display pixels Rendering process
  • 26. • Shading, projection, and clipping all operate on the original geometry • Combined into one unit, or “shader” • “Vertex shader” or “geometry shader” • So this is a basic graphics pipeline: Rendering pipeline Geometry Vertex Shader Rasterizer Fragment Shader Pixels
  • 27. • Next Tuesday • Course Overview II: Real Cameras, Vision, and Ray Tracing • Next Thursday • Math Basics: Matrices and Vectors • Week 3 • Transforms (2D & 3D) Class Schedule
  • 28. • Week 4 • OpenGL • Week 5 • Geometry & Modeling • Lighting & Shading • Week 6 • Lighting & Shading • Clipping Class Schedule
  • 29. • Week 7 • Clipping • Line Drawing • Week 8 • Polygon Drawing • Hidden Surface Removal • Week 9 • Texture Mapping Class Schedule

Editor's Notes

  1. http://en.wikipedia.org/wiki/Cathode_ray_tube
  2. http://en.wikipedia.org/wiki/Cathode_ray_tube
  3. http://en.wikipedia.org/wiki/Cathode_ray_tube
  4. Show Tempest video from SIGGRAPH http://en.wikipedia.org/wiki/Vector_graphics http://www.cca.org/vector/
  5. Show Tempest video from SIGGRAPH http://en.wikipedia.org/wiki/Vector_graphics http://www.cca.org/vector/
  6. http://en.wikipedia.org/wiki/Cathode_ray_tube
  7. http://en.wikipedia.org/wiki/Cathode_ray_tube
  8. Show Tempest video from SIGGRAPH http://en.wikipedia.org/wiki/Vector_graphics http://www.cca.org/vector/
  9. http://burtonmackenzie.blogspot.com/2006/07/i-cant-drive-55.html http://www.dsptutor.freeuk.com/aliasing/AD102.html
  10. http://burtonmackenzie.blogspot.com/2006/07/i-cant-drive-55.html http://www.dsptutor.freeuk.com/aliasing/AD102.html