Archive for February, 2008

Parallel Processing

Posted in programming with tags on February 29, 2008 by bbarrett

This week I’ve added another piece to the puzzle that is my ray tracer. As you may have guessed from the lack of pretty pictures, by initial enthusiasm for the ray tracing part itself has waned a little, I’m trying to implement other parts that are interesting to me. In my ongoing effort to reduce the amount of time to draw, I wanted to make my ray tracer capable of running across a networked cluster of computers. I am thinking of eventually making the ray tracer output some kind of video or animation file, but that is a long time away yet. When that is done, I might attempt some optimisation of the ray tracing algorithm itself.

Continue reading

More Lua based shenanigans

Posted in programming with tags on February 2, 2008 by bbarrett

I did some more work this week, on my ray tracer. Prior to this, the scene that would be rendered was static data compiled into the executable. This is understandably a bad idea because it requires the entire program to be recompiled every time I wish to change the scene. I decided to place the configuration in Lua, being one of my favourite languages. This gives me flexibility in many ways. I have plans to alter the program such that it will generate a continuous animation rather than static images. By using Lua, I can have a callback function that will move the camera or the objects between frames.

Continue reading