Monday, 10 November 2008

Long Over Due Update

I know that this blog hasn't been updated in a while but this has been due to the amount of work that I have been doing for this subject and others that I am also on.

Since the last time that I wrote I have made quite a few changes to my 3D renderer this was due to an underlying problem within my Matrix class as the multiplications that I was getting from two matrices being multiplied together was getting the correct answer but the way that the multiplication was actually set up it shouldn't have worked. So having found this out I then went back to my Matrix class and rebuilt it from the ground up making sure that it was all fully working and testing each function even more to make sure.

I then moved back onto doing the Camera class in which I was doing all of the transforms that would be taking place so that the model can be displayed onto the screen, it was here that I encountered a couple of more problems when trying to get the namespaces to work with all of the header files and the .CPP files within the project, it turns out the errors that I was having here were because I was making a namespace per class e.g matrix namespace, vector namespace, however this wasn't what I was supposed to be doing I was meant to be having the one namespace that I would then use on all of the different classes.

The next section I moved onto was the rendering pipeline, this is the process of going through all of the transformations and ultimately display the image onto the screen. When working through this section of the project I then encountered some problems but after along time of trying to figure out why I was getting some of the errors that I was it turns out that it was down to linker problems and it not recognising some of the parameters and the variables that was declared and that I was using.

I have now been looking at the back-face culling and seeing about how it would be implemented into my own project and takes me up to my current state.