Realtime Raytracing on the Cell

In a comment to one of my previous posts, “TimC” asks if the performance of my simple raytracer is “anywhere near realtime”.

At the moment it’s certainly not, although there is definitely the potential for it.

I haven’t spent much effort on optimising the ray tracing algorithm, because I’m more interested in optimising what I’ve got, and the issues I come across that are interesting and different because I’m using the Cell. So at the moment I have no spatial partitioning at all, I just do a brute force raytrace per pixel. Even a simple bounding box would significantly speed up the current implementation, especially for the test scenes I’m using where there’s a lot of empty space.

IBM’s Interactive Ray Tracer

Some IBM guys in the US have been working on a serious raytracer, they call the “Interactive Ray Tracer”, it is seriously impressive. They have a video demo, as well as a cluster version running on three PS3s. From memory their test scene has something like 300,000 triangles, compared to mine which is about 30 or less.

If you have a playstation 3 running Linux you can even download and run it yourself. There’s also a forum if you have trouble getting it going.

Posted by mike on Monday October 29th, 2007, tagged with , , , ,

One response to “Realtime Raytracing on the Cell”

  1. Renan says:

    Hi Michael,

    I saw your talk on ray tracing on the PS3 at LCAU2008 today.
    Very impressive and informative stuff.
    I’ll be sure to follow in your footsteps soon.

    Cheers.