Raytracing

With next year’s Linux conference fast approaching I realised that I didn’t really have anything to do a talk about. I’ve done plenty of work in the last year, but it’s all been pretty dull kernel internals, nothing with any wow factor. Mostly just a zzzz factor.

Ever since I started working on Linux on Cell, I’ve been curious as to how you actually program those pesky SPEs. And so this is where I kill two birds with one raytracer.


spheres

The raytracer so far, click to watch them spin!

The plan is to write a raytracer that runs on the Cell. Specifically we’re gonna get it running on the Playstation 3, as that’s the most common Cell system. Hopefully in the process there’ll be some interesting lessons learnt and so on, and perhaps we’ll even get some good performance out of it. If not, at least we’ll have pretty pictures.

So far I’ve written a basic raytracer (screenshot above!), starting from nothing, which has been a great learning experience to start with. That gives us a nice simple base on which to begin porting to the Cell. My plan for the talk, if it gets accepted, is to try and take people from pseudo-code right through to an optimised Cell version.

Posted by mike on Friday July 20th, 2007, tagged with , , , | 1 comment

Oxfam trail walk: sponsor Gaz!

Logo

My soon-to-be-very-fit cousin Gaz is walking in the Oxfam trail walk in Sydney. It’s a great campaign, they get chumps .. people, to walk 100km over 48 hours through Sydney’s bush reserves, in order to raise money for Oxfam. And as you all know Oxfam are the good guys.

Gaz’s team is called the Kilted Chaffers, I don’t know why. You can sponsor them here, or you can sponser Gaz directly.

So get donating yuppies, and ease your middle class guilt. Remember it’s all tax deductable!

Posted by mike on Thursday July 19th, 2007, tagged with | comments disabled