Hi
Is there a way to get a transparent toon material so my models edges are highlighted BUT hide all the internal/backside detail? I want to apply this to an assembly of parts and only want the visible outer edges not all the other internal detail. I do however want to see other separate models behind the transparent model.
It's to show how a display stand might be used without cluttering the image with unnecessary detail.
Thanks
Rich
I'm confused. It sounds like the Toon material will do just what you want it to do?
He might want a CAD like HLR view, I think.
Properly there is a good solution in post pro? Maybe a set of renderings a some masks in PS would help?
Yes, I was looking for a HLR type option I suppose. If i make the toon transparent I obviously see all of the 'hidden' lines. I want to see other objects behind my toon object, but not hidden lines on the toon itself! ie. hidden lines removed only on selected objects, but with objects behind visible.
I wondered if there were some trickery in the new material editor which could give this kind of display. Probably not I guess
I'll have to do it in post unless anyone has a good idea
Here's a quick solutions. Inside the zip-file you'll find the bip, renderings and the psd)
hope that helps a bit
Thanks, that's just what I was going for! I'll do it this way for now
Rich
Here is a Material Graph network for achieving this effect directly within KeyShot:
Set the Transparency of your Toon material to 1, then connect:
Surface Backside Mask>(Input)Color To Number>(Opacity)Toon.
Use the "Output From" and "Output To" parameters of the Color To Number node to control the visibility of the front and backside faces; set them to 1 and 0, respectively. Note that you will have to enable Experimental Features under Edit>Preferences>Advanced in order for the Surface Backside Mask node to be available under Utilities in the Material Graph. Here is a quick example render, and screenshot of the Material Graph network.
Eric
thx bdesign a lot - your solution is more precise! Now I know what backside mask is useful.
I like the support from this forum.
Tons of thanks for you all!
You're very welcome, LayC42. Always happy to help if I can.
Eric
Quote from: bdesign on May 26, 2016, 12:56:04 PM
Here is a Material Graph network for achieving this effect directly within KeyShot:
Set the Transparency of your Toon material to 1, then connect:
Surface Backside Mask>(Input)Color To Number>(Opacity)Toon.
Use the "Output From" and "Output To" parameters of the Color To Number node to control the visibility of the front and backside faces; set them to 1 and 0, respectively. Note that you will have to enable Experimental Features under Edit>Preferences>Advanced in order for the Surface Backside Mask node to be available under Utilities in the Material Graph. Here is a quick example render, and screenshot of the Material Graph network.
Eric
Hello Eric.
Many thanks for this solution. I've pushed this material to KeyShot cloud. So everybody can use this. I've named it "wire frame edges HLR (toon, mat. graph)"
well done, bdesign!
I tried myself to crack the nut, but without succes.
Glad you managed to 8)
This is super! Well done :D
MWo, Esben, and Richard:
Thanks very much guys! I hope it will be helpful. I really enjoy the challenge of trying to, as Esben said, "crack the nut" of sometimes seemingly unattainable effects, with material graph networks. Thanks again, guys.
Eric
Eric
Thanks so much for this, perfect solution!!!
Rich
Rich-
You're very welcome. Glad to know it is helpful :)
Eric
this is great. i
Thanks! :)
Wow, this is ingenious! :D
A quicktip:
You can make this even simpler, by attaching a Color Invert node to the Surface Backside Mask Node. The backside lines will then always be invisible though.
You can use the Outline Width Multiplier in the Toon material to create thicker outlines. This will help the parts stand out more.
See attached Wireframe.png for the Material Graph setup.
Conversely, if you really want to go crazy...
You can connect the previous material chain to another Toon material (also with transparency = 1) and put a Color Composite node between the Color Invert and the Opacity of the base Toon material. By tweaking both Toon materials you can alter e.g. the colors of the front and back lines. By adjusting the Source Alpha in the Color Composite node you can tweak the transparency of the back lines.
See attached Wireframe-crazy.png for the Material Graph setup. A ksp is attached as well.
Have fun! ;D
Dries
Thank you Dries! It is a great compliment coming from a KeyShot master such as yourself! Apparently quite a few people are finding this useful judging by the cloud downloads :) Your additional suggestions are very cool! Thanks again...
Eric