![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-E9xHdJyllZO4wW_-DICdo7NweH2FNgQwDq3g3CtJx_fznYs6VmV85QEpFDcLPJRBlAQD-0NZ3Zz-Y_kKgj7K6eSYpwbv14wDStWwjfp1_LLxwx0eJMjCFlxLYMTn3z9nSwH44gHCV1DH/s320/bug.png)
I must be getting up to steam: I just squashed my first bug in the official IBM SDK for the Cell Broadband Engine. In my quest to implement Photon Mapping on the SPU, I stumbled upon this nice little gem in the development kit: the intersect_ray1_triangle8_v() function. This function will do 8 intersection tests in a single go, using optimal SIMD stream lining. However, it did not work, where as the single triangle case did. After fixing the SIMD dot3 define, it ran fine. Also, I have put some assorted development info up on my stolk.org site. My first SPU application is getting nearer. I now have to find out how I can cram photons, pixels and triangles in that really tiny 256Kbyte memory of the SPU.
No comments:
Post a Comment