Saturday, July 18, 2015

Computer Graphics : Transformations


According to the lab exercise, we need to use homogeneous coordinates. That's a catch, since we need to use matrix and stuff for that.

I started out with the basic implementation, instead of the matrix stuff. Here's a code for the basic thing. You could build it up in a similar manner for the homogeneous coordinates implementation. I didn't do shearing and reflection :P

Code

PDF to learn the transformations :

PDF

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.