CSC418 Computer Graphics - PowerPoint PPT Presentation

About This Presentation
Title:

CSC418 Computer Graphics

Description:

Simple Camera model. Display techniques. Z Buffer. Ray Tracing ... Aperture and lens. Camera model. Camera model. What is the difference between these images? ... – PowerPoint PPT presentation

Number of Views:37
Avg rating:3.0/5.0
Slides: 12
Provided by: Karan4
Category:

less

Transcript and Presenter's Notes

Title: CSC418 Computer Graphics


1
CSC418 Computer Graphics
  • Scan conversion
  • Simple Camera model
  • Display techniques
  • Z Buffer
  • Ray Tracing

2
Scan Conversion
  • Convex versus concave polygons?
  • Triangulating a polygon
  • Scan Converting a triangle
  • Pattern Filling a polygon
  • Flood filling a polygon

3
Camera model
  • Pin hole camera
  • Aperture and lens

4
Camera model
  • Pin hole camera
  • Aperture and lens

5
Camera model
6
Camera model
  • What is the difference between these images?

7
Camera model
  • What is the difference between these images?

Perspective
Orthographic
8
Camera model
  • Perspective Projection

9
Display Algorithms
  • Z-buffer
  • for each polygon in model  
  • project vertices of polygon onto viewing plane
     
  • for each pixel inside the projected polygon    
  • calculate pixel colour, pixel z-value    
  • compare pixel z-value to value stored for pixel
    in z-buffer    
  • if pixel is closer, draw it in frame-buffer and
    z-buffer

10
Display Algorithms
  • Ray tracing
  • for each pixel on screen  
  • determine ray from eye through pixel  
  • find closest intersection of ray with an object
     
  • cast off reflected and refracted ray
  • recursively calculate pixel colour
  • draw pixel

11
CSC418 Computer Graphics
  • Next Lecture.
  • Polygon clipping
  • Introduction to geometric transformations
Write a Comment
User Comments (0)
About PowerShow.com