X-Ray Shader, need some help

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2013   #1
X-Ray Shader, need some help

Hello everybody

I try to create some kind of X-Ray look on a model.
I tried with a Fresnel but that is not really what I would like to achieve.
Let me explain on a simple cube:

The result should be that the edges of the cube (or whatever model) are visible (maybe like glowing edges), but the rest of the model should be fully transparent.

With Fresnel, I can't achieve that because it's always also shading the surfaces to some degree, depending on the viewing angle.

But what I want is to make only the edges visible.

Any ideas how this can be done in CINEMA 4D?

P.S. the attached poor Photoshop example should show you what I would like to get
Attached Images
File Type: jpg edges.jpg (43.9 KB, 32 views)
__________________
CINEMA 4D Studio 16, ZBrush 4 R6, Adobe CC
Win 7 Pro 64, Intel i7 980 3,33GHz, 12 GB RAM, GTX 570
, Wacom Intuos4 M

Last edited by Oli4D : 05 May 2013 at 07:44 AM.
 
Old 05 May 2013   #2
Hi,

You can use a S&T-mask in Photoshop. Together with some gradients you get a very nice result.

cheers

celke
 
Old 05 May 2013   #3
http://vimeo.com/55435837 <-here's how you can generate edges with c4d. But in your case you should use it in your alpha channel + some glow effect in post processing or directly inside C4D.

But you can also use sketch and toon

EDIT: and you can also use Atom array for generate the edges

Last edited by jumamu : 05 May 2013 at 08:25 AM.
 
Old 05 May 2013   #4
AO shader with inverted colors inside the alpha channel?
 
Old 05 May 2013   #5
Quote:
Originally Posted by xdennisx
AO shader with inverted colors inside the alpha channel?


Well AO is not really doing the same thing as far as I know, but still it could maybe ad some interesting effects, nice idea.
__________________
CINEMA 4D Studio 16, ZBrush 4 R6, Adobe CC
Win 7 Pro 64, Intel i7 980 3,33GHz, 12 GB RAM, GTX 570
, Wacom Intuos4 M
 
Old 05 May 2013   #6
Quote:
Originally Posted by celke
You can use a S&T-mask in Photoshop. Together with some gradients you get a very nice result.


Hello Carsten
I'm not sure if I understood you correctly. Do you maybe have an example you could show us?
__________________
CINEMA 4D Studio 16, ZBrush 4 R6, Adobe CC
Win 7 Pro 64, Intel i7 980 3,33GHz, 12 GB RAM, GTX 570
, Wacom Intuos4 M
 
Old 05 May 2013   #7
Hi Oliver,

Very quickly in my lunch break:



The Photoshop file was too big. I would use different S&T layers, so you can blend in the parts of interest and hide the others. I hope this was helpful.

cheers

celke
Attached Images
File Type: jpg TorchS&T.jpg (28.3 KB, 238 views)
 
Old 05 May 2013   #8
Quote:
Originally Posted by celke
Hi Oliver,

Very quickly in my lunch break:



The Photoshop file was too big. I would use different S&T layers, so you can blend in the parts of interest and hide the others. I hope this was helpful.

cheers

celke


Ah got it, thanks for the image. Always much more easy to understand what somebody means with an image rather than with words.
Yeah this might work in my case. Have to learn Sketch and Toon then... not really experienced with that yet ^^
__________________
CINEMA 4D Studio 16, ZBrush 4 R6, Adobe CC
Win 7 Pro 64, Intel i7 980 3,33GHz, 12 GB RAM, GTX 570
, Wacom Intuos4 M
 
Old 05 May 2013   #9
Left one shows the AO shader inside the alpha channel, right side uses proximal. Of course S&T gives you way more options.
 
Old 05 May 2013   #10
I'm partial to using material fog for xray effects; its much more realistic than fresnel:



Fog on the left, fresnel on the right.

It can be used with ambient occlusion to give a density based effect with edges:



File
 
Old 05 May 2013   #11
nice examples nick.


I was also going to recommend sketch and toon but with thicker lines and then transparency from edge so that you can get a glowing line like your blue cube straight out of render. Sorry i can't make an example for a couple hours as I don't have C4d in front of me.
__________________
Quote:
"Until you do what you believe in, how do you know whether you believe in it or not?" -Leo Tolstoy
Kai Pedersen
 
Old 06 June 2013   #12
Oli4D, for your cube example how about White Lights plugin? http://www.tools4d.com/?page_id=3078
It renders nice neon/xray glowing lines. lots of different looks. nice controls for size, style, brightness exposure etc.
It works with splines so you would simply select your chosen poly edges and go Mesh>Commands>Edges to splines. Even for a complex mesh

Easy. and no compositing renders required.


Nice example by the way NWoolridge! - thats a new technique on me.

Last edited by lewisrowe : 06 June 2013 at 03:52 PM.
 
Old 06 June 2013   #13
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.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 05:03 PM.


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