Monday 19 October 2009

Enter The Matrix


In Introduction to 3D graphics programming last week I was playing with the matrix. Ok, so its not as fun as it sounds. A matrix is a array of numbers used in maths to denote objects or transformations.
Last Tuesday I programmed a matrix class that will be used in my 3D rendering program. It is built to use 4 dimensional matrices. As the third dimension is perpendicular to the second , the forth dimension is perpendicular to the third.
Here is a two dimensional representation of a 4 dimensional object, the so called "Hypercube".

In graphics programming you use matrices called "Transformation" matrices to move and change the shape and size of 3D objects.
This week we will be learning about the virtual camera, the way you view the 3D world and the way it is represented as a 2 dimensional image on your screen.

1 comment:

r4 said...

I am really satisfied with my Matrix. Definitely worth the investment. The best on the net!