Scientific visualization architect | Science communicator | Monofin/Marathon swimmer
Thursday, April 5, 2018
Menger Sponge in Brayns
Based on the
very cool shader toy
from Inigo Quilez, I ported the code to ISPC and exploited the vertorized units of the CPU to render the Menger sponge in real time:
As usual, the code is there:
https://github.com/favreau/Brayns-Research-Modules/blob/master/fractals/ispc/renderer/
More information on ray-marching and distance functions can be found on
Inigo's website
Newer Post
Older Post
Home