5–viewing and projection

Post on 18-Dec-2021

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

5 – viewing and projection

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Projection

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Viewing Transformations

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Goal: Matrices for everything

Want an 𝑀 such that

𝑀 = 𝑀!"𝑀"#$%&'()$*𝑀'+,

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Camera Transforms

𝑀'+, = transformation to camera pose (viewpoint and direction)

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Canonical View Volume

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Viewport Transformation

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Viewport Transformation

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Orthographic Projection Transform

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Orthographic Projection Transform

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Perspective

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Homogeneous coordinates

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Properties of 𝑀!"#

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

𝑀"&#=𝑀$#(- 𝑃

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

Field of View

Copyright 2019 Blair MacIntyre ((CC BY-NC-SA 4.0))

top related