21
Apr
08

Isosurface Raytracer GLSL

Another HLSL > GLSL project. This is one I’ve been working on for a while, translating it function-by-function, but it’s only this morning that I finally tried the code out.

It’s a translation of ‘IsoRaytrace.fx’ HLSL shader for vvvv by tonfilm, itself a reworking of Keenan Crane’s ‘Ray Tracing Quaternion Julia Sets on the GPU’ original CG code. So, this code has been translated twice, and still works!!

Virtually the whole thing is done in the Fragment Shader. It’s not really realtime- framerates are pretty low, but it does look cool.




Thanks to desaxismundi for helping me out with the control ranges.


3 Responses to “Isosurface Raytracer GLSL”


  1. 1 vade April 22, 2008 at 1:04 am

    lovely!

  2. 2 toneburst April 22, 2008 at 8:12 am

    Cheers!

    There’s definitely something wrong with it though- the perspective is reversed. Obviously something’s been lost in translation…

  3. 3 amsonx April 25, 2008 at 8:18 am

    great job TB :)

Leave a Reply




 

April 2008
M T W T F S S
« Mar   May »
 123456
78910111213
14151617181920
21222324252627
282930  

Categories

Links

Blog Stats

  • 28,387 hits