Did my Geology test today (Wednesday), went pretty well. That was done at 3:00pm.
And then I came back here and worked on my graphics project. And I got it just about to where I want it. The shadow performance is bad, because of glReadPixels()
, and they also look terrible because of the sparseness of my terrain. But everything is in, and on time. I didn't play a second of Half Life 2 today because of this.
So yeah, I bet you'd rather just play with it than look at more screen shots. Here you go. The windows version was a quick port. I used mingw, and copied in a replacement for gettimeofday()
Windows version - Assn4-windows.zip
Linux version - Assn4-linux.tar.bz2
I can't post the source code, since it is a solution to a project. But it's supposed to be like this
(windows demo only).
Anyway, hit the red spheres to get 5 points, hit a tree and lose 5 points. If the shadows are too slow, press 'x' to toggle them off. Press 'h' to toggle the headlights in the dark. Read the README. Enjoy the sunset/sunrise fading.
Perhaps I can sleep now.