
Today we were given the task of applying back faced culling to our rendering engine. I spent the session figuring out the tasks that were required of me to complete this addon. The major steps are adding a vector class to the program, this class would need to store a vector [x, y, z] and, to be able to calculate the cross product and dot product of 2 vectors. These would be used for figuring out which faces need to be marked for "culling" (if they are going to be drawn or not). Once I figured all this out I build the class and applied it to the Model class. By the time I did this I ran out of time so I had to pack up and go to my Networks tutorial. In this I build a virtual Diffy Helman key exchange. This was using 2 classes to mirror the effects of a network. A clear which contained 2 node classes that represented the client and the server. These classes passed and received values from the "clear". The final result was a working Diffy Helman key exchange.
Comments
Post a Comment