Title: Graphics Pipeline and Hierarchical Modeling
1Graphics Pipeline and Hierarchical Modeling
- Advanced Multimedia Technology Computer Graphics
- Yung-Yu Chuang
- 2005/12/14
with slides by Brian Curless, Zoran Popovic,
Robin Chen and Doug James
2Announcements
- Final project is online and due on 1/11.
3Review of graphics pipeline
Transformation
4Review of graphics pipeline
Projection clipping
5Review of graphics pipeline
6Review of graphics pipeline
7Visibility Algorithms
- Painters algorithm
- Ray casting
- Z-buffer
- Binary space partitioning
8Ray casting
9Z-buffer algorithm
10Z-buffer algorithm
11Z-buffer algorithm
12Binary space partition
13BSP tree
14BSP tree construction
15BSP tree display
16Back face culling
17Shading
- Shading model determines the color values for
each pixel - To accurately determine the right color is a hard
problem because photons can - Interact with the atmosphere
- Be absorbed or reflected by a surface
- Bounce around and around within the scene
- Here, we are going to use a widely used fast
approximation of reality called the Phong shading
model
18Setup
19Emissivity
20Ambient reflection
21Wavelength dependence
22Surface types
rough surface
smooth surface
23Diffuse reflection
24Diffuse reflection
25Diffuse reflection
26Diffuse reflection
27Specular reflection
28Specular reflection
29Specular reflection
30Put it together
31Choosing the parameters
32Flat shading
33Gouraud shading
34Phong shading
35Review of graphics pipeline
Transformation
36Review of graphics pipeline
Projection clipping
37Review of graphics pipeline
38Review of graphics pipeline
39Hierarchical modeling a robot arm
40First implementation
41Better implementation
42OpenGL implementation
43Hierarchical modeling
44Implementation
45Human with hands
46Better implementation
47OpenGL implementation