Recitation 5: Rendering Fractals
Recitation 5: Rendering Fractals
Recitation 5: Rendering Fractals
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Lab 5<br />
●<br />
●<br />
●<br />
●<br />
Organize your volume cube with threads<br />
running in the lowest dimension and a 2D grid<br />
for the other 2 dimensions to make indexing<br />
easier<br />
See globally defined dim3s<br />
The space extends in ±2.0 in each direction<br />
(for converting indices to positions)<br />
1 thread per element is probably fastest, but<br />
feel free to experiment with loops