Brazil r/s Tutorials  Brazil 1.x




Fun with Toon Lines and the Pass-Through Material

Welcome to the wonderful world of Toon shading in Brazil. This little tutorial is to show one of many different styles one can achieve using lines and a couple of tricks, but is by no means a technical tutorial.



Let's get started.
1. Assigning the renderer.
The first thing we want to do is change our renderer to Brazil. You won't want to turn on AA or any other bells and whistles for this tutorial, because of the look we're trying to get.
2. Style analysis.
Now, let's talk about the style we're going to try and emulate. What we're going to do is try and re-create the "stipple" style of illustration. Stipple is a style that uses a very sharp pencil (or ink pen), and ONLY uses dots for shading. This includes all lines, shadows, etc. As you can imagine, this takes a wee bit of time to produce a nice piece of work. With our method in this tutorial, it'll take a fraction of the time (thanks goodness).
3. Method of approach.
Now, there's a couple of ways to approach this, but I found the easiest way was to use the pass-through material for the stipple shadow shading, and the same map (as the pass-through) for the line width. Now, fire up your favorite image-editing program, and lets make some dots.

4. Creating stipple bitmap.
Here's the image I ended up with (simply create a 200x200 bitmap, and draw using a large brush, and the dissolve transfer method in Photoshop).

We're going to use this as the main map (the only map, for that matter) for the picture.
5. Scene setup.
Now that we have our shading map, let's set up a basic scene for our picture. I've included a scene with this tutorial, though it's just as easy to use existing scenes you might have kicking around, but for the sake of this tutorial, we'll use this. Exciting, isn't it? Don't forget to add a couple lights to the scene (don't worry about shadows). Now, let's take a look at the material we're going to make.
6. Creating the stipple material.


Go into the material editor, and create a in one of the default medit slots, go into the map for diffuse, and drop in a falloff material set to shadow/light. The reason screen mapping is selected is if you use normal mapping on objects, the stipple dot size will vary between objects, and that would look quite weird. Another important part of this material is the output curve. If you leave it at the default, you get a graduated stipple…. Real stipple doesn't fade.
That's something around what we need. You can play with that as much as you want, to each, their own.

Now, you'll want to go back to the top level of the material and twist the self-illumination to 100% We do this because we don't want and normal shading on the map.
7. Adding stipple material to toon material.
Now that we have our base shader, we have to pop it into a Brazil 'Toon Material. At the top level of the material you just made, change the material type to Brazil 'Toon, and "keep old material as sub-material". You should end up with the image at left.
Now select the objects in your scene, and apply the material. If everything goes according to plan, (and you turn off ink lines) you should end us with a picture that looks like that. Neat, eh?
8. Adding ink lines.
Now we need the lines. This is the easy part. Set up your Ink Parameters as follows:
Just instance the map you used for the stipple shading into the ink width slot. This will give you the same style in the lines. You'll also want to turn the overlap bias to 0 to get all the edges. If everything goes according to plan again, you should end up with this (you might want to render a bigger image.. this one doesn't show a lot of detail).
And finally, the best thing to do with 'Toon is to experiment! Try using different materials for line thickness, and color. I'll post a couple more ink and paint ideas soon.



All trademarks and copyrights on this page are owned by their respective owners.
Everything else: ©2002  SplutterFish, LLC. All Rights Reserved. Privacy