howto exclude objects outlines in toon rendering?

Discussions about rendering in SOFTIMAGE©
ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

howto exclude objects outlines in toon rendering?

Post by ikfk » 06 Aug 2012, 06:30

i apply a toon-ink-lens to my camera to generate the ink lines to my scene, but how could I exclude some objects in this scene, do not let them has ink lines

howto do that, thanks :)

User avatar
Rork
Posts: 1359
Joined: 09 Jul 2009, 06:59
Location: Close to The Hague, Netherlands

Re: howto exclude objects outlines in toon rendering?

Post by Rork » 06 Aug 2012, 07:48

separate pass, or add a partition in your pass that contains the models with a different shader?
SI UI tutorials: Toolbar http://goo.gl/iYOL0l | Custom Layout http://goo.gl/6iP5xQ | RenderManager View http://goo.gl/b4ZkjQ
So long, and thanks for all the Fish!!

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: howto exclude objects outlines in toon rendering?

Post by Hirazi Blue » 06 Aug 2012, 08:00

It depends on the materials you're using in your scene. If you use Toon materials (with a "Toon Host" or a "Toon Paint and Host") while the objects that do not need the ink lines do not use Toon Host in their materials, you can simply activate the "Require Host" in the Advanced Tab of the Ink Lens Shader. If you however want to use non Toon materials on your objects you simply activate "Require Host" anyway and use a little trick in the Render Tree for each material you want to have an ink line, in which you take a "mix 2 colors" plug the color/surface result of your render tree into "base color" and the and a Toon Host into the "color1" and turn all the weight sliders in the "mix 2 colors" to zero. This way the Softimage thinks there is a "Toon Host", because technically there is, even if it takes no influence...
;)
Stay safe, sane & healthy!

ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

Re: howto exclude objects outlines in toon rendering?

Post by ikfk » 06 Aug 2012, 08:34

:ymapplause: thankyou !! :o) :ymparty:

ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

Re: howto exclude objects outlines in toon rendering?

Post by ikfk » 12 Aug 2012, 04:06

hi, i noticed this trick not working with ICE cloud, still has paricle bounding box outlines exsit, is this bug or sth?

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: howto exclude objects outlines in toon rendering?

Post by Hirazi Blue » 12 Aug 2012, 07:21

Seems to work here just fine, so I'll need more info...
BTW the trick works on the ink lines you want to show, not on the ink lines you want to exclude. So if you don't add a Toon Host in the Render Tree, you don't get an ink outline. Don't forget to set "Require Host" to "on" in the Advanced Tab of the Toon_Ink.
;)
Stay safe, sane & healthy!

ikfk
Posts: 36
Joined: 28 Jul 2012, 07:58

Re: howto exclude objects outlines in toon rendering?

Post by ikfk » 14 Aug 2012, 01:49

my fault :D it's working fine,thank you mr blue :ymhug: