Monday, October 08, 2007
Digital Sculpting Tutorial
Here is a tutorial on a technique I discovered for making modeling with Blender's sculpt tools and multires objects feel more like working with real clay. And the best part is that since you already have a computer, you save a couple of bucks by using digital clay since Blender is free! Shut up, I know I'm cheap.
I stumbled onto this way of working while trying to come up with a simple way to quickly block out a character for sculpting, similar to ZBrush's ZSpheres. There's a script someone wrote with the same basic idea in mind, but I wanted something faster and more intuitive.
This process should be friendly for those who are more comfortable with grabbing a chunk of clay and forming it with you hands, rather than selecting vertices, extruding, cutting edge-loops, and other such processes. My real hope is that a talented traditional artist friend of mine will be able to use this tutorial to quickly learn cg sculpting a make some really cool stuff for me to drool over. That said, I do assume that you have a basic understanding of how Blender's interface is laid out, how to create and transform objects, and a wacom tablet would be helpful as well.
To begin, open a new scene in blender. Let's clean up the scene a little by selecting the lamp and camera in the scene, press M to move them to a different layer and click on the fifth layer from the left to place the objects. Go back to layer 1 and delete anything else. You may also want to do is get rid of the grid by opening the View Properties and turning off the Grid Floor and X & Y axises.
To block out our character, we're going to use an object type that is probably the least used/useful of any known to man. Give it up for...Metaballs!
Go into the top view (important), press Space and add a metaball. Metaballs are a nifty, ancient piece of 3D technology that is useful for creating blobs. (Similar to lumps of clay, eh?) You create simple primitive shapes and scale and rotate them to block out your character's shape. When the primitives come close to one another, they bleed into one another the way water droplets merge when they touch. Cool.
Remember that Blender jumps out of Object mode into Edit mode when you create an object, so press Tab to switch back to Object mode. You won't be able to scale your Meta primitive non-proportionally in Edit mode. In Object mode, you can change these options for the entire Meta object, while tabbing into Edit mode gives you more options for the selected meta primitive, such as changing the type from Ball to Tube, Plane, Cube, etc. and you can also make Negative metas . Press Shift-D to duplicate the Metaball and place it where you like. Continue blocking out your character, building enough blobs to represent the limbs or forms you will need to sculpt your masterpiece. Don't get carried away by putting in too much detail at this stage, use as few shapes as you need. This is supposed to be quick and fun, after all.
Now that you've got something that resembles what you're after, select all the Metaballs and (object mode) type Alt-C to convert it to polygons so you can actually do something with your blob. Delete any of those black rings left over from the metas and select your new polygon mesh. If you Tab into Edit mode you will see terrifying ugliness instead of nicely gridded mesh. "Certainly, we can't be expected to create anything useful out of this!" you shriek. Take it easy, my friend. It's time to add a Decimate modifier.
The Decimate modifier will do two things for us. It's primary job is to reduce the poly count of a mesh. A pleasant side effect for our purposes is that it will begin to rearrange the topology into a more manageable heap of triangles and quads. Keep reducing the Ratio slider below 0.5 until it becomes as coarse as you can stand. You want the lowest polygon base you can have that still maintains enough detail in the limbs and shapes you made with the Metaball phase. One thing to watch for is that this process sometimes creates holes as it does its best to simplify the mesh. I find that usually you can slightly change the Ratio to fix the problem, but if you're still finding holes, check out the Tips & Tricks section at the end. So as you can see, this step greatly reduces the Face Count, which will be good later. Next we need to get rid of those triangles as much as possible. Click Apply (in the modifier panel) and Tab into Edit mode. Press A until all of the vertices are selected (turn yellow) and hit Alt-J to convert the faces from triangles to quads, which will subdivide better. Now you should have something we can work with.
Beginning to sculpt:
Right below the Modifiers section is the Multires panel. A multires object has the options to add numerous levels of smooth subdivision to a mesh. While you can use the sculpt tools on any polygon or nurbs mesh, the great strength of sculpting with Multires is the ability to jump back and forth to different levels--quickly changing gross form at lower levels, and adding finer detail at the higher levels. Add the Multires and Add a level. We're ready to sculpt.
In case you haven't noticed, Blender's different modes offer different tool sets and options. To make the sculpting tools available you need to be in Sculpt mode, accessible through the Mode drop-down in any 3D window header. You'll see two new tabs next to the multires panel, Sculpt and Brush. Sculpt has most of the options you'll need to begin shaping your mesh. Note that most of the different brushes in this panel have hot-keys which will save a lot of time(G=Grab, D=Draw, S=Smooth, etc.). Most important here is changing the brush size and intensity. Pressing F and dragging the mouse will resize the brush, while Shift-F will allow you to adjust the Brush Intensity. You can also turn on Symmetry to paint, for instance, both sides of a face at one time. This can speed up tasks tremendously, as long as your mesh is aligned to the axis properly.
The Steps Overview:
-Create Metaballs, duplicate, move, scale, rotate
-Convert to Polygon via Alt-C (delete original)
-Apply Decimate modifier
-Quads via Alt-J in edit mode
-Apply Multires, add a level
-Switch to Sculpt Mode and sculpt away!
I think that's about enough to get started with your new-found free digital clay. Check out the links in the Tips and Tricks section for further exploration. Let me know if you find this tutorial is useful. While I've used many 3d packages over the past decade, I've only been using Blender for a few weeks, so I'm certainly not an expert. If you really want to learn blender's tools, go through the tutorials and user manual at wiki.blender.org and happy sculpting!
TIPS & TRICKS
Repairing holes from the decimate modifier:
Holes happen. Here's how to fix them. If you've already added a multires, go back to level 1 and click Apply (you will loose any sculpted detail on higher levels). Tab into Edit mode and select 3 or 4 vertices on the hole's edge and press F to create a face across those verts. Continue the process until the hole is filled. Type A to select all the verts and then Alt-J to convert to quads. Problem solved.
Need more subdivision!
Sometimes you just need more subdivision in specific areas like the hands and face of a character and don't want it everywhere. A simple way to add some more polygons to those areas is to drag a selection around the verts in question (B key) and press W. From the menu that pops up, select Subdivide Smooth. Tab out of edit mode and move on to the Beginning to Sculpt section of the tutorial.
Tools that will make your entire life easier:
-Alt-B -- commit this to memory. It allows you to drag a box around an area of mesh to isolate a specific area. This is great for getting those hard to reach places inside a mouth, or for adding detail to an area while keeping the redraw time down.
-Partial redraw -- here is an option in the Sculpt menu that I switch on at times when I'm working with really dense mesh, it works it's magic to draw really dense mesh more quickly. Yay.
-Set Smooth / Set Solid -- these buttons are helpful. I usually sculpt with the edge normals set to Solid so you can really see the changes you're sculpting into your mesh. Set Smooth will remove the facets and give you a better picture of how it will render.
Videos & Tuts:
-Check out this youtube video to watch a head sculpting screen capture.
-Here is a Tutorial containing info about adding texture to your sculpt brushes.
at 3:31 AM