howto do that, thanks
howto exclude objects outlines in toon rendering?
-
ikfk
- Posts: 36
- Joined: 28 Jul 2012, 07:58
howto exclude objects outlines in toon rendering?
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
howto do that, thanks
-
Rork
- Posts: 1359
- Joined: 09 Jul 2009, 06:59
- Location: Close to The Hague, Netherlands
Re: howto exclude objects outlines in toon rendering?
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!!
So long, and thanks for all the Fish!!
-
Hirazi Blue
- Administrator
- Posts: 5113
- Joined: 04 Jun 2009, 10:15
Re: howto exclude objects outlines in toon rendering?
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
-
ikfk
- Posts: 36
- Joined: 28 Jul 2012, 07:58
Re: howto exclude objects outlines in toon rendering?
hi, i noticed this trick not working with ICE cloud, still has paricle bounding box outlines exsit, is this bug or sth?
-
Hirazi Blue
- Administrator
- Posts: 5113
- Joined: 04 Jun 2009, 10:15
Re: howto exclude objects outlines in toon rendering?
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.
;)
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?
my fault
it's working fine,thank you mr blue 