22_2DGraphicsIntro.3up

# 5 x x sx y y sy 13 2 d rotaon x r cos y

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ping of models due to changes in display –  E.g. anima:on 7 2D Transforma:ons •  Basic transforma:ons –  Rotate around origin –  Scale from origin –  Translate wrt origin 8 Combining 2D Transforma:ons Model Coordinates World Coordinates 9 Combining 2D Transforma:ons Scale 0.25, 0.25 Rotate 90o Translate 5, 3 Model Coordinates World Coordinates 10 Transla:on •  Transla,ng a coordinate means adding a vector to each of its components + (1, 4) x’ = x + tx y’ = y + ty 11 Scaling •  Scaling a coordinate means mul:plying each of its components by a scalar •  Uniform scaling means this scalar is the same for all components: ×2 12 Scaling •  Non- uniform scaling: diﬀerent scalars per component: X × 2, Y × 0.5 x’ = x * sx y’ = y * sy 13 2- D Rota:on x = r cos (φ) y = r sin (φ) x’ = r cos (φ + θ) y’ = r sin (φ + θ)...
View Full Document

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern