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.

Advertisements

3 Responses to “Isosurface Raytracer GLSL”


  1. 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…


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Twitter

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

Links

Blog Stats

  • 472,055 hits

%d bloggers like this: