IsoSurface Viewer

Anyone interested in some sort of IsoSurface viewer plugin for QC?

Would be cool to be able to do this

http://www.mefeedia.com/entry/quaternion-julia-set-02/6868916/ or http://www.youtube.com/watch?v=2g2gZq8wFj8

kinda thing in QC, I think.

alx

PS I think it's actually possible to do most of the rendering of an IsoSurface in GLSL (at least it's possible in HLSL, I think), so it may be just a question of providing a mechanism whereby the IsoSurface file can somehow be piped into a GLSL shader.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

psonice's picture
Isosurfaces are great

But those are rather boring examples ;) If you have windows and SM3.0 hardware, take a look at this (if not, there's a video): http://www.pouet.net/prod.php?which=32194

It's windows only, but it shows some really good isosurfaces in just 1k. I think it just uses raytracing, so no model imports are needed - just a shader, a polygon, and some hardcore shader coding.

There was another one that did quarternions in a couple of k, I'll post the link if I remember what it was called.

toneburst's picture
Ah.. interesting link

Ah.. interesting. Very nice video, and VERY impressive stuff. SO is it technically possible to do that in QC/GLSL as it stands? I'd love to see it done, if it is!

I knew raytracing was involved, but I'd assumed, for some reason that the shader was taking some kind of volumetric dataset as input. Maybe that's not the case...

Maybe I'll have to have another look at that VVVV IsoSurface raytracing shader again..

Fascinating stuff.

alx

Quartz Composer Blog: http://machinesdontcare.wordpress.com

Music Site: http://www.toneburst.net

psonice's picture
Kindernoiser - quarternions with AO :)

This is the realtime quarternions stuff: http://www.pouet.net/prod.php?which=32549

It's actually doing realtime ambient occlusion on the fractal too, all within the GPU (so expect it to be slow if you don't have a high end video card ;) Again, I think this is raytracing in a pixel shader.

toneburst's picture
Very Impressive

Impressive shading work. Edges are a bit 'steppy' though.

alx

Quartz Composer Blog: http://machinesdontcare.wordpress.com

Music Site: http://www.toneburst.net

toneburst's picture
Raytracing in QC

I've managed to convert an isosurface raytracer HLSL shader to GLSL, and got it semi-working in QC.

http://machinesdontcare.wordpress.com/2008/04/22/more-isosurface-raytrac...

Still working on rotating the isosurface, which requires lots of matrix maths business.

alx

Quartz Composer Blog: http://machinesdontcare.wordpress.com

Music Site: http://www.toneburst.net

toneburst's picture
Anyone Done This Kind of Thing Before?

Anyone made a raytracing/raycasting fragment shader before? I'm struggling with the implementation of the rotation mechanism (to rotate the rendered object, or orbit the camera around it), and would welcome any advice.

alx

Quartz Composer Blog: http://machinesdontcare.wordpress.com

Music Site: http://www.toneburst.net

yanomano's picture
Orange Book

There is a chapter to emulate openGL transformation in GLSL in the orange book....

toneburst's picture
Orange Book

Ah.... do you mean I should use gl_ModelViewMatrix ?

Instead of gl_ModelViewProjectionMatrix

in my shader?

I just tried that..doesn't really do it. I'm sure I'm missing something else. Well, lots of other things, in fact.

Hmmm.....

alx

Quartz Composer Blog: http://machinesdontcare.wordpress.com

Music Site: http://www.toneburst.net

toneburst's picture
Finally....

got it to work! Vertex shader code on my blog http://machinesdontcare.wordpress.com/2008/05/01/isosurface-raytracer-ve...

Now I can rotate the blobs around, zoom in and out etc. Makes me happy....

alx

Quartz Composer Blog: http://machinesdontcare.wordpress.com

Music Site: http://www.toneburst.net