3D Volume Rendered and Iterated Primitives

toneburst's picture

I've added some new demo clips of some of the QC stuff I've been working on lately to my Vimeo page.

http://vimeo.com/2848308

a|x http://machinesdontcare.wordpress.com

cwright's picture
incredible

So, I have to admit:

I saw these on vimeo a night or two ago, and though "Holy crap, a|x finally got 3D textures to work in QC!"

Did you? or is this some kind of clever trick that simulate it? (a stack of sprites, for example) Or is it an exceptionally hard-core shader or something?

mfreakz's picture
Gorgeous !

That's really magnificent ! I was playing with radiography, X-ray photo (broken legs !), doing "3D like" stuff with glossy light effects, using sprite's stack, iteration, fusion mode... Your work is really beautiful. Is it a king of layer trick or real 3D stuff ? Do you use a medical sliced picture bank or a professional picture format ? Tell us more !

gtoledo3's picture
It's stack 'o sprites (I

It's stack 'o sprites (I believe from what tb has said), but very cool nonetheless.

toneburst's picture
As George says

it's a stack of sprites, so nothing particularly clever really. The hardest thing was finding an application to open the volume data files (I think in this case it was a 3D scan in DICOM format, a specialist medical imaging file-type), and export them as individual slices. I eventually stumbled upon a free application called Osirix, which I'd recommend having a look at if you're interested in medical imaging. Then I had to do a fair amount of Photoshop batch-processing to make usable data.

The only other cleverness going on is I'm rendering the stack in an RII patch, then there's a lookup table on the output to manipulate the shading, and I'm messing around with the indices used in each iteration to grab a texture from the Queue, to give the effect of offsetting/wrapping the data on the Z-axis.

I'd love to see generic support for sampler3Ds in QC, but I realise that's probably a long way off. Having said that, maybe a future GLTools release could add the ability to use some kind of custom post type (or even just a file-loader) to make volume textures available to an enclosing GLSL Shader macro patch. Just a thought, no real idea how well that would work, or is it's possible at all..

a|x

blouboy's picture
brainy

Super cool work you are doing with the medical imagery. There is some similar stuff being done at Brainmaps.org They have a cool, but unfortunately windows only application called BrainMaps StackVis that you might want to read about. They also have an other interesting little thing called BrainMaps B3D that does come in apple flavor. Look under downloads for the apps and images sets if you are interested. For the regular datasets, clicking on the metadata link will take you to a long list of urls. Not sure how to get that stuff downloaded since it is for their MATLAB hosted viewer to use, but a little cleverness might do it.

toneburst's picture
Brainmaps

Looks interesting. I'll check that out. Thanks for the tip. I'm interested in trying other kinds of volume data, too.

Nice one,

a|x

bernardo's picture
hi a|x could you please tell

hi a|x could you please tell us where you found the DICOM images? thanks bernardo

gtoledo3's picture
I don't know if tb got his

I don't know if tb got his there, but I think there used to be something like that on Paul Bourke's site... could be mistaken.

toneburst's picture
Osirix

Think I got them from the Osirix project site, or from another site linked from there, off the top of my head.

Hmm.. odd phrase that, in the current context...

Try http://pubimage.hcuge.ch:8080/

a|x

gtoledo3's picture
http://local.wasp.uwa.edu.au/

http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/df3/

This was the page I remembered... never looked at the file to see if there were actually contents that would be of use in anything besides POVRay.

dust's picture
bourke is really

bourke is really interesting. i just made a paper for my interactivity class about his stereoscopic i dome and unity 3d.