Rendered useless…
Argh! What have I done!?
I’ve been trying extract the game type code from my prototype renderer I’ve been writing. I coded them together to begin with just for testing but now the renderer is big enough to be on its own. Now there is a prototype game engine that initialises the renderer and makes calls to it and tells it what to do. The renderer now completely passive. Unfortunately now I just get complete garbage on my screen
I b0rked it *sobs* I’ve been trying to fix it for days now and I just can’t seem to work out what is screwing it over.
I compared it with another renderer I wrote for another program (that works) and they look very similar. I’ve checked all the differences, but the solution has not presented itself yet.
I wondering whether I should start from scratch, quite a few people are telling me to since I started writing game code into the renderer and there was no initial design for it to begin with. The code is a bit spaghettified, but I was going to go through it all and clean it up. I can’t be arsed to start writing a new one from scratch because I’ll have to recode my scene tree implementation, which’ll take a while. Thing is, I have been thinking up a load of optimisations to the renderer (once I get it working again) that will need big changes and really should have been implemented to begin with…
Anyway I smell something burning :S I will go investigate now.
Later