1
Transformations, Rotations, Orientations
Rendering Pipeline
camera (captures light) synthetic image camera model (focuses simulated lighting)
processing
photo processing tone reproduction real scene 3D models Photography: Computer Graphics: Photographic print
Question
- Given an object to be placed / oriented in a
scene
– How does one specify this placement /
- rientation for each frame
– How many “parameters” are required?
- Each controllable parameter is a degree of
freedom
Coordinate Transformations
- How to specify placement of individual
- bjects into a scene
- Two coordinate systems
– Object coordinate system – World coordinate system
- A Third coordinate system
– Camera coordinate system
Coordinate Transformation
- Transformation Matrix
{ {
- bject
tion transforma 44 43 42 41 34 33 32 31 24 23 22 21 14 13 12 11 world
1 1 ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ ⋅ ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡ = ⎥ ⎥ ⎥ ⎥ ⎦ ⎤ ⎢ ⎢ ⎢ ⎢ ⎣ ⎡
- w
w w
z y x m m m m m m m m m m m m m m m m z y x 4 4 4 4 3 4 4 4 4 2 1
Coordinate Transformation
- Transform operations
– Scaling – Translation – Rotation