So there is actually not much big accomplishment this week, besides the encapsulating of the room code, and cleaning up the display code (also showing that rooms can be drawn the correct distance away.)
However, I got caught up in playing with OpenGL's lighting features. Lighting is a tough cookie to deal with. It's pretty easy to set up an infinite directional light, but setting up a positional light that follows the camera (IE, looks something like a torch) is much harder. Especially since if it is not set up correctly, you won't be able to see anything.
Also, I fixed a bug that caused a crash when you changed from fullscreen to windowed and vice-versa. This bug was a big pain in the ass because it usually left my desktop in 800x600, Which sucks because KDE wants things in 1027x768. Plus, I tried to use a breakpoint in gdb while in fullscreen twice, which is a BAD IDEA, especially when you're smart enough to know that you should not reset a Linux box, but dumb enough to not know how to stop an errant fullscreen program.
This is all fine and dandy, but I need to drop that and concentrate on getting the domain code working.
I do not forsee that code being much of a problem, it is just a simple exercise in setting up a class. More of the problem may come from getting the domains to load correctly from the datafile.
See, that's the problem. Doing graphics code is fun (I'd never thought I'd say that), but setting up a class is not.
The other thing that has been a concern of mine is that I've spent a lot of time concerned with the Linux side of things with out checking out how Windows will like it. Knowing how none of my code from windows has worked yet, I can wager that it will not work.
I'll keep on keeping on though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So there is actually not much big accomplishment this week, besides the encapsulating of the room code, and cleaning up the display code (also showing that rooms can be drawn the correct distance away.)
However, I got caught up in playing with OpenGL's lighting features. Lighting is a tough cookie to deal with. It's pretty easy to set up an infinite directional light, but setting up a positional light that follows the camera (IE, looks something like a torch) is much harder. Especially since if it is not set up correctly, you won't be able to see anything.
Also, I fixed a bug that caused a crash when you changed from fullscreen to windowed and vice-versa. This bug was a big pain in the ass because it usually left my desktop in 800x600, Which sucks because KDE wants things in 1027x768. Plus, I tried to use a breakpoint in gdb while in fullscreen twice, which is a BAD IDEA, especially when you're smart enough to know that you should not reset a Linux box, but dumb enough to not know how to stop an errant fullscreen program.
This is all fine and dandy, but I need to drop that and concentrate on getting the domain code working.
I do not forsee that code being much of a problem, it is just a simple exercise in setting up a class. More of the problem may come from getting the domains to load correctly from the datafile.
See, that's the problem. Doing graphics code is fun (I'd never thought I'd say that), but setting up a class is not.
The other thing that has been a concern of mine is that I've spent a lot of time concerned with the Linux side of things with out checking out how Windows will like it. Knowing how none of my code from windows has worked yet, I can wager that it will not work.
I'll keep on keeping on though.