PDA

View Full Version : creating an incidence shader in maya?


JaMo
03-28-2006, 09:47 PM
im trying to use a method for ink outlines from this website

http://www.3dluvr.com/rogueldr/tutorials/toon_ink/toon_ink.html

i dont even know what an incedence shader is but i was wondering if anyone has a tutorial on how to make one?

btw i tryed the js_incedence plug-in but i cant get it to load for some odd reason.

francescaluce
03-29-2006, 12:48 AM
[/url][url="http://img61.imageshack.us/my.php?image=incidencestadardmaya0jx.gif"]http://img61.imageshack.us/img61/1138/incidencestadardmaya0jx.th.gif (http://img61.imageshack.us/my.php?image=incidencestadardmaya0jx.gif)

http://www.sendspace.com/file/rmmmme

:)

ciao
francesca

JaMo
03-29-2006, 04:07 AM
hey thanks for the quick reply but the site is down so im not able to d/l?


btw lights do not effect this shader?

Bonedaddy
03-29-2006, 05:27 AM
I think what you want to do, if I understand right, is to take a samplerInfoNode, pipe the camera facing ratio into the V coord of a black-to-white V ramp, and have that control your shading. Yes?

Depending on what you hook the ramp up to (color/diffuse versus incandescence/ambient/whatever), it will be affected by lighting, or not.

EDIT:

I can't look at Francesca's file, since I only have Maya 6, not 7, and she made it a .mb file, but it looks like that's basically what she's doing, with a couple add-ons. She's added a setRange node, presumably to control falloff of those values, so you could, say, bloom out into white easier. She also has a blendColors node in place of the ramp, which could work better if you wanted to blend between two shading networks depending on the facing ratio.

JaMo
03-29-2006, 08:22 PM
i got the download. i thank you for very much for going above what i asked for. i beleive this will work for making the ink lines i need.




Bonedaddy: im actually not sure what a falloff map or incidence shader is but i beleive it is a grey scale map on the model with no lights affecting it.

this website might be a good thing to look at to get a better idea of what im trying to explain
http://www.3dluvr.com/rogueldr/tuto...k/toon_ink.html (http://www.3dluvr.com/rogueldr/tutorials/toon_ink/toon_ink.html)

CGTalk Moderation
03-29-2006, 08:22 PM
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.