You are on page 1of 1

Practice Problems-II

CS 440 Computer Graphics Using OpenGL

1. Based on the discussions on 2D Transformations, derive transformations in slide no 7.


2. Consider a square of size 2 units, oriented with its axes parallel to X and Y-axis and a centre at
(1,2). If the square is first rotated about its centre by an angle of 45 degrees counter clockwise
and then translated with its centre to the origin of the coordinate axes instead of first
translated with its centre coinciding with the origin of the coordinate axes and then rotated
about its centre by an angle of 45 degrees counter clockwise. Will the result be the same?
3. Derive transformation matrix for reflecting a point in the line y = mx + c
4. Derive transformation matrix to transform a point from one coordinate frame to another for
the diagram given below:

You might also like