Xray shader with VEX?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 01 January 2003   #1
Xray shader with VEX?

Anyone know how to make a nice xray
type shader with VEX? Kinda like the
Fight Club opening.

Old 01 January 2003   #2
Something like the bottom-right corner on this page?
Old 01 January 2003   #3
The shader in fight club was supposed to look like a scanning electron microscope, not an x-ray.
The SEM is a very simple shader, basicly just the following:

Cf = 1-abs(dot(normalize(N),normalize(I)))

if that helps at all.
Old 01 January 2003   #4
Cool, didn't think it was that simple. So I made a VOPnet out of it. Here's how it looks like:
Attached Images
File Type: jpg sem copy.jpg (27.3 KB, 283 views)
Old 01 January 2003   #5
wow! that looks really cool. I need to put an OpenGL graphics card in this piece of crap so I can get Houdini running.
Sean Omlor
my LOTR challenge!
my living toon!
Old 01 January 2003   #6
Wow ! ,

Can someone please post here a step by step guide to make that shader?

I am a total newbie to houdini , just installed apprentice today , that shader looks perfect! , i would love to learn the making of

thanks in advance .
Old 01 January 2003   #7
just compile the one line shader in my last post...

nice rendering by the way! is that an isosurface of a sphere plus a noise function?
Old 01 January 2003   #8
Personally, I hate compiling shaders.
If anyone wants, I posted my .hipnc file over on 3dbuzz in the general houdini forum. In the file, there's a surface VOP that does the one-liner. I would post the file here too except that I can't attach anything other than jpegs or gifs.
Old 01 January 2003   #9

No, I couldn't figure out how to do that! I ended up by simply generating a default cloud.i3d (VEX fluffy cloud shader) and then putting it into the isosurface. Just did some tweaking with the density to get something interesting after that. The divisions was also upped to 128x128x128 to match the resolution of the 3D texture.

I should try doing a volumetric render instead but didn't bother since it looked good enough just to test the one-liner.
Old 01 January 2003   #10
PS. The idea of how to do use the isoSurface sop this way was from the "volumetrics using Image3d" tutorial on odforce at http://odforce.net/tips/
(specifically here: http://odforce.net/tips/i3d_intro_page1.php)
Old 01 January 2003   #11
That's really great guys
Old 01 January 2006   #12
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 06:25 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.