{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ch04oddslns

# ch04oddslns - Angel Interactive Computer Graphics Fourth...

This preview shows pages 1–2. Sign up to view the full content.

Angel: Interactive Computer Graphics, Fourth Edition Chapter 4 Solutions 4.1 If the scaling matrix is uniform then RS = RS ( α, α, α ) = α R = SR Consider R x ( θ ), if we multiply and use the standard trigonometric identities for the sine and cosine of the sum of two angles, we find R x ( θ ) R x ( φ ) = R x ( θ + φ ) By simply multiplying the matrices we find T ( x 1 , y 1 , z 1 ) T ( x 2 , y 2 , z 2 ) = T ( x 1 + x 2 , y 1 + y 2 , z 1 + z 2 ) 4.5 There are 12 degrees of freedom in the three–dimensional aﬃne transformation. Consider a point p = [ x, y, z, 1] T that is transformed to p = [ x y , z , 1] T by the matrix M . Hence we have the relationship p = Mp where M has 12 unknown coeﬃcients but p and p are known. Thus we have 3 equations in 12 unknowns (the fourth equation is simply the identity 1=1). If we have 4 such pairs of points we will have 12 equations in 12 unknowns which could be solved for the elements of M . Thus if we know how a quadrilateral is transformed we can determine the aﬃne transformation. In two dimensions, there are 6 degrees of freedom in M but p and p have only x and y components. Hence if we know 3 points both before and after transformation, we will have 6 equations in 6 unknowns and thus in two

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

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

{[ snackBarMessage ]}

### Page1 / 3

ch04oddslns - Angel Interactive Computer Graphics Fourth...

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

View Full Document
Ask a homework question - tutors are online