Having learned about matrices and vector or rather revised about the we began to implement their properties and behaviour in c++. Our tasks for the next few weeks was to essentially write both marix and vector classes for our application. These were to include all the fundemental features exhibited by both matrices and vectors. For instance vectors should include methods for dot product, and methods for cross product(vector multiplication) and much more. As for matrices, well they should include methods for transformation matrices, methods for rotation matrices and many other methods.
Most of this would be used in the following week in which we were required to comeup with a camera class which would be used to view our scene when the final renderer was built. Not only that but these special vector and matrix classes would also be used to tranform our objects in our scene during the rendering phase.
Thursday, 19 November 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment