cool, ransid!
Well, I decided to ditch the tut and start completly from scratch with a book on Photon Mapping and some new techniques:
Octress- and then KD-Trees (acceleration structures that, when built well, can reduce the number of triangels tested per ray to three)
Also, I will actually be working with OOP (object orientated Programming) which will actually involve:
class hierarchies
class functions
etc...
More complicated, but allows for a simpler code and I will be able to add features (like photon mapping) easily, and with relatively no pain.
So here I go, wish me luck
Live the life you love, love the life you live