Monday, January 9, 2012

dbrToon

This is a brief script I wrote for Zach and Sang to streamline the process of working with multiple toon lines in maya. It is basically just a toon line management script that presents you with the most useful toon line attributes and inputs in a compact interface. Eliminating the need to go through the attribute editor in most cases.



Instructions
Simply input a name for a toon outline, select an object, and click "add new toon"

To vary line width, add a noise texture to line width map.
A useful expression to vary width over time: noise(frame)/x where x is a scale factor for the expression. This can be added to the implode attribute of a noise texture.
In addition if you want to wiggle geometry over time, you can use the node "polyMoveVertex". Select your geo, and type polyMoveVertex in the mel command line.
This expression can be used for the local translation attributes of the polyMoveVertex node: noise(n)/x. Where n is a distance of translation and x is a scale factor.
--Ideas for varying toon line loosely based on Keith Lango's NPR blog posts.

*Works with and incorporates scenes with existing toon lines

Download dbrToon

No comments:

Post a Comment