jeudi 10 octobre 2013

ShaderToy 2

After having a look at this great article on Fabien Sanglard's blog, I tried to implement the business card ray tracer. There is still room for improvement but it begins to look quite good. I added a little animation to show that it is real-time contrary the CPU which takes more or less 20 seconds per frame. Unfortunately, this shader seems to work only if webgl implementation is based on OpenGL (OSX, Android, Linux..).

   On Windows there is a problem when ANGLE unrolls the main loop and translates it to HLSL. I posted a more basic version of that shader which works on all platforms. Feel free to help me finding a correction ...




Without the noise :



Here are some videos of old academic projects. This one is the visualization of an ultrasound wave. the computation was made on the GPU using CUDA



Spatial impulse response from Florian Luna on Vimeo.

If you want to know more about it you can read this.

The others videos were made at the UPC Barcelona for the Visualization Course and Computational Geometry.



Shaders from Florian Luna on Vimeo.



Ambiant Occlusion & Obscurance with Ray tracing from Florian Luna on Vimeo




Computational geometry 2009-20010 from Florian Luna on Vimeo.