lab3 - Explanation Defining 2D world coordinates Mapping to...

Info iconThis preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
Aspect Ratio Computer Graphics Lab’ - 02
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Contents In this section we will learn about the mechanism behind the window reshape. Motivation Explanation Solving the reshape problem Lab exercise
Background image of page 2
Motivation In the previous lab, we saw that when we resize a window the rendered objects inside it are being deformed. Why does it happen? In order to understand that we first have to learn a few basic things.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 10
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 12
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Explanation Defining 2D world coordinates Mapping to window coordinates Window to viewport mapping • Aspect Ratio: Height/Width If the aspect ratio of the window is different from that of the viewport, the picture will be distorted. How to prevent the reshape problem? How to prevent the reshape problem? (cont) Implementation example (pseudo code) Where to do all that?...
View Full Document

Page1 / 12

lab3 - Explanation Defining 2D world coordinates Mapping to...

This preview shows document pages 1 - 12. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online