I have been getting so caught up in programming projects that I haven’t put any time in to write up what I’m doing. It’s a real shame since I’ve been doing a few things worth reflecting upon.
A week ago I was reviewing past projects and came across my old photon mapping code that I wrote in collaboration with two other students in ‘06 while in grad school. I spent most of Easter Sunday profiling it finding a few small changes that led to a nice boost. I’d like to write up a few words on that before I move on and forget. If you care, you can find all of the source to the ENCORE project here.
This weekend I spent a fair bit of time configuring a VM using VirtualBox with Ubuntu Linux as the guest OS. Initially it was just an experiment. Then I had to get 3D acceleration working, and then X11 forwarding over ssh, and then I installed git and the weekend was lost.
I spent a fair bit of Sunday and all of last night blasting through compile and linker errors to port ENCORE from Windows to Linux culminating in the image below.
A week ago I was reviewing past projects and came across my old photon mapping code that I wrote in collaboration with two other students in ‘06 while in grad school. I spent most of Easter Sunday profiling it finding a few small changes that led to a nice boost. I’d like to write up a few words on that before I move on and forget. If you care, you can find all of the source to the ENCORE project here.
This weekend I spent a fair bit of time configuring a VM using VirtualBox with Ubuntu Linux as the guest OS. Initially it was just an experiment. Then I had to get 3D acceleration working, and then X11 forwarding over ssh, and then I installed git and the weekend was lost.
I spent a fair bit of Sunday and all of last night blasting through compile and linker errors to port ENCORE from Windows to Linux culminating in the image below.
The photon mapping code was a long term work-in-progress that, as you can see, still needs work (to be fair to myself, that is a 'debug' render!). The other, more complete feature of the project was a GPU-based ray tracer written by fellow students Peter Lohrmann and Chen-Hao “Jason” Chang.
The whole thing now is a huge case study for performance, maintenance, and refactoring. I would like to continue cleaning up the code but I will probably fork the whole codebase if I do anything significant. One of those things would be to port the GPU code to use the Ivy API, my other graphics hacking project.
I know eventually I’ll need to focus on one project and complete it. But for now, I’m having too much fun jumping around and learning and relearning tons of little things.
I know eventually I’ll need to focus on one project and complete it. But for now, I’m having too much fun jumping around and learning and relearning tons of little things.

