Tedious Work.....
Most of the drudgery is now over with my E-Day demo. The main code is complete. Now all I need to do is to wrap it in a OpenGL based User Interface. All this being wrapped together by SDL in the frontend. The number of files have grown to being 25 files from the original handfull and its still not quite done. It should be noted that most of the code is untested and the optimization algorithm only works on a theoretical basis.
My goal right now is just to go to sleep tonight, wake up in the morning and start finishing up the user interface and 3D representation so I can start doing some serious debugging on the algorithm level. The good thing is that I somehow survived the compile portion and the code is running right now, but does nothing. I did run into some trouble with the math template I wrote. There seems to be some specific way you need to use to specifically declare template methods for specific types, specialization. The linker kept throwing me a redundant declaration error, so I just went ahead and took out some of the stuff and made everything single type. I may have to end up going back to consulting the 3DGEA book for the details on it.
From a preliminary point of view, it seems that the List and Array containers are working as they should, at least right now. I'm pretty sure I'll come across some abnormalities when I really get down to debugging the algorithm. Its one of those facts of life that no matter how perfect your coding is, there will always be minor errors. Planning ahead and being careful can reduce a ton of those, but almost never down to 0.

0 Comments:
Post a Comment
<< Home