Blog on a student at the University of Derby
I have decided to put up the whole solution for my DirectX 9 terrain demo that I made, so you can browse through my code and build it as you wish. I have also made a few changes to it since the last time I uploaded it, such as adding a factory to clean up the code.
You can download the solution here.
(Just a reminder you will need a Xbox360 controller to use this program.)
My final project was to make a cross platform demo that would work for both the PSP and PC.
As the idea was to encapsulate and share as much code as possible, I decided it would be appropriate to split each component of the program (i.e. the initialisation manager, the cube data, and the brains of the application) into three separate classes.
I also used ifdefs in shared classes, to know what to include at compile time.
Below are the results of what I managed to accomplish.
PSP Demo
DirectX Demo
This was my final hand in of my Interactive 3D Graphics Programming module. I managed to implement the following features with this terrain demo: