Tuesday, February 13, 2007

First ray traced image from Cell's SPU


I just created my first ray traced image on a Cell processor (or more accurately: on a SPU of a Cell processor). I ray traced the model you see in the upper right corner of this blog entry. However, that image was created with ivview. My ray tracer output is very sober, because I have not implemented shading, and the output is in ASCII. I am pleased with the code, however, as it is properly vectorized code that shoots 8-rays in parallel on a single SPU. Anyway, here is the image, with the camera head-on with the model's z-axis.

************
************
*** ***
** ****** **
** * * **
** * * **
** * * **
** * * **
** ****** **
*** ***
************
************

1 comment:

Luc Renambot said...

Cool, ascii art on the PS3 ;-)

Looking forward to seeing images generated on all the SPUs at once.

Luc