Blender: The Tools and Their Uses: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
mNo edit summary
Line 260: Line 260:




[[file:Blen_Tut_37.jpg]]
[[file:Blen_Tut_39.jpg]]




Line 274: Line 274:




[[file:Blen_Tut_39.jpg]]
[[file:Blen_Tut_37.jpg]]





Revision as of 07:18, 7 May 2012

Basics Header.png

Blender Basics

Disclaimer

This is a list of the most commonly used basic tools you'll find yourself using in Blender. The list below will cover what they do, and some of the scenarios you'll find yourself using them in. Keep in mind that most of the tools and techniques covered below will require a BMesh enabled build of Blender. Version 2.63 and above is required if you want to follow along.


Loop Cut And Slide & Loop Select



Loop Cut & Slide - CTRL+R


Loop Select - ALT+Click the right mouse button or CTRL+E


Ahh, good ole loop cuts. Probably the one tool you'll find yourself using the most when adding detail to your geometry. It's clean, easy to select only producing more quads, and contours to the rest of your geometry. When activated, it'll draw your loop based on the orientation of an edge you hover a mouse over. For example, say you want to cut a loop through the center length of the body of our little bendy example model, like so...


Blen Tut 1.jpg


...you want to hover the mouse over one of the vertical edges when the tool is active. Basically telling it which edge you want it to cut the loop through.


Blen Tut 2.jpg


If you want to cut through one of the segments, you'll pick one of the horizontal lines along the top, you'll hover your mouse cursor over the edge you want to cut through, and it'll show you the purple cut guide, like so....


Blen Tut 3.jpg


Easy.

While the preview guide defaults to the center of the quads you're intending to cut, that doesn't mean it'll cut only there. When you decide on which edge you want to cut through, clicking the mouse button once activates the cut, and moves you on to the next stage of the Loop Cut and Slide tool. That's right, you're going to be sliding your loop cut. Once it's active, just move your mouse about to position your new edge loop to any position you want.


Blen Tut 4.jpg

Blen Tut 5.jpg

Blen Tut 6.jpg

Blen Tut 7.jpg


Once you've got it situated, click your mouse button yet again. You've now added your edge loop.

It's an incredibly simple tool, yet one that will prove it's value in a variety of situations. If you're confused at all by my explanation, all you have to do is spend a couple of minutes playing with it. You'll see exactly what it does.

But what can it be used for? Well...everything. Say you're making a round jug (this is a pretty crappy jug, I admit)...


Blen Tut 8.jpg


...and you want to add in a little more geomety in that highlighted section. Like a little hard lip there. Just add a loop cut and scale it about!


Blen Tut 9.jpg


Or what if you're designing a room...


Blen Tut 10.jpg


...and want to add a small alcove off the center wall? That's easy! First, make a couple new loop cuts...


Blen Tut 11.jpg


...and extrude the new quad you've created...


Blen Tut 12.jpg


There you go! Alcove!

What about a door? Just as easy! 3 loop cuts, and a delete face.


Blen Tut 13.jpg


Literally 5 seconds of your time to carve out a door. For the final example, lets say you want to make your new alcove curved. You're going to need to make a few slices in your geometry to define the contours of your wall. We're going to use loop slices again, but this time, I'm gonna add one little step to the equation.

First, activate the tool, and align your mouse so you define a loop cut that runs through the center of your alcove (FYI, I went ahead and deleted the topmost face on the extruded section for the sake of the tutorial, in case you're wondering).


Blen Tut 14.jpg


...but before you commit the cut, scroll your mouse wheel up. See that? You can add multiple equally sized cuts to your geometry.


Blen Tut 15.jpg


Since they're all equally spaced, you don't have to worry about your new curved wall being oddly shaped. Now just go to your overhead ortho view, switch to vertex selection mode, and mold out your shape. Voila...


Blen Tut 16.jpg


You've got yourself a curved alcove. As you can see, loop cuts are very powerful things. It's added a goodly bit of unnecessary geometry, but it's clean. All quads. Easy to work with, and easy to clean up.

And what do I mean with easy to work with? All those loops you've made? They can be selected in a single click. Say you want to make your door a little taller. You've got two choices here. One, you can go in and edit the two corner vertices, or two, you can perform a select-loop, and transform the loop up to raise the height of the door.


Blen Tut 17.jpg

Blen Tut 18.jpg


That's all kinds of handy and convenient. And loop selects don't just work with edges alone. If you need a row of faces, you can do that as well. To grab your intended row of faces, just perform an action similar to defining the path of a loop cut. In Face Mode, hover the mouse over the edge you want the selection to run through, and click away.


Blen Tut 19.jpg


You can select multiple loops with the shift key. For instance, I have loop selection bound to ALT+Click the right mouse button. If I want to cycle through loops, I'll just use it. If I want to select mulitples, I'll hold down SHIFT+ALT+Click the right mouse button.

Ahh, the wonder of loops. Keep in mind that, wonderful though they may be, they're not all powerful. Loop cuts won't cut through tris or ngons. It'll run the loop until it hits the offended geometry, then stop. From there, you'll have to use the knife tool (which I'll cover below) to cut through it into you get back into quads. And edge loop selections won't select any edges along a corner or one that borders an empty piece of geometry. You'll have to select those extra bits by hand. Still, despite the limitations, they'll make your modelling life oh so much easier.


Knife Topology Tool



Hotkey - K or SHIFT+K


This is yet another powerful cutting tool at your disposal. Unlike loop cuts, which are straight shot cuts across all quads in a row, the knife is a far more precise instrument. If you need to define odd shapes within your geometry, add cracks, make wrinkles, this is the tool to use.

The most basic explanation of what the knife tool does is that it adds edges anywhere within your geometry. Each click of the mouse while the tool is active places a vertice to draw edges between.

Yeah. That's about as clear as mud. So much for the dry and clincal explanation. I think a few pictures illustrating the tool in action would serve us far better here. So...


Blen Tut 20.jpg

Blen Tut 21.jpg

Blen Tut 22.jpg

Blen Tut 23.jpg


YEAH! KNIFE TOOL!


Simple enough to grasp in concept, but where is it best used? Just like the loop cuts, you'll be using it just about everywhere. You have a massive variety of situations where it'll come in useful. To illustrate one, I'll fall back on our old room and alcove we did earlier. I want to make a little sunken star shape in the center of the room. I'll start out by making a loop slice to mark the meridian of my shape.


Blen Tut 24.jpg


Next, I'll activate my knife tool, and start cutting away.


Blen Tut 25.jpg

Blen Tut 26.jpg

Blen Tut 27.jpg


If you find you don't quite like the shape of your star after you're done cutting, just grab your vertices, and transform them into something a little more to your liking...


Blen Tut 28.jpg


Hmm. Decent. Lets go ahead and use an extrude to recess it into our floor.


Blen Tut 29.jpg


Alright! We've now got ourselves an...er...ugly and completely pointless architectural detail that serves no purpose other than to trip people up so they fall over and crack their skulls on the floor in the middle of the night. Way to go, sadist.

But what about more? Say you want to add some cracks to a rough piece of stone. That's easily done. Just activate your knife tool, and do your thing...


Blen Tut 30.jpg


PROTIP: Notice how I kept all my geometry as quads by connecting the corner vertices to the bends.


Next, select your new cuts, and run the bevel too to define the width of your new crack...


Blen Tut 31.jpg


Select the faces inside your crack using a face loop select, and run the Inset Faces tool. Boom. There you go, a (rather sloppy looking) cracked stone.


Blen Tut 32.jpg


By now, you should have you a good idea of the many uses of the Knife Topology Tool. You'll find yourself using it a rather hefty amount.


Inset Faces



hotkey - I


So there you are. You've modelled this somewhat complicated room, but it's missing something. The walls? Yeah, they're pretty bare. Know what'd look nice? A couple little windows with a nice inward slant inside that fancy curved alcove.

Go ahead and make a loop cut to define the bottom edge of your window. For my example, I'm going to put mine right here...


Blen Tut 33.jpg


There are a few things you could do here. You could select those faces and extrude them backwards, and scale the back face til you've got your slanted windowsil. That would work, but it'd be a ton of extra work. An extrude on both of those faces would push your window straight back. You'd have to do a ton of scaling, rotating, and trasforming on each face to get it looking right. You want your window parallel to the face you're extruding from, and the extrude tool doesn't do that automatically.


Blen Tut 34.jpg


Maybe you could duplicate the geometry, scale the new piece, delete the face from the orginal, scale the new piece of geometry and transform it into position, then bridge the edges together? That'd work too, but it isn't exactly any easier than the aforementioned technique. You'd still have to do work on each face separately.


Blen Tut 35.jpg


Hmm. What could you use to make this rather difficult sounding job relatively painless? Simple! The Inset Faces tool!

So what does this tool do exactly? I'll start off with the dry, clincical explanation. An inset will extrude and bevel the geometry parallel to the surface normal of the originating face. Multiple faces will be extruded linerally from their originating point no matter where they lay on the model, but always parallel to that aforementioned originating surface normal.

...what? That's nerd talk! No one but math wizards and D&D dorks who understand the nuanced intricacies of THAC0 are gonna understand that nonsense!

Yup. I think it's time to break out some more pictures.

See this? This is a sphere. Those little orange arrows coming off the highlighted faces show the directions of your surface normals.


Blen Tut 36.jpg


When you activate the Inset Face tool and tweak the depth slider on the toolbar...


Blen Tut 39.jpg


you're going to extrude and scale those face along those lines...


Blen Tut 38.jpg


Neat, huh? You can take multiple points of a mesh, and scale them out equally away from your mesh. As you can imagine, there are multiple places this tool comes in quite handy.

But wait! There's more! By playing with the thickness slider...


Blen Tut 37.jpg


you can bevel out the slant on your new sphere-knobs...


Blen Tut 40.jpg


Now you can see how this tool comes in handy for making our windows. But this isn't even the end of the wonders of the Inset Faces tool. Say you want to make holes within the faces of your sphere. Just select your faces...


Blen Tut 41.jpg


Run the Inset Faces tool, but this time, just play with the thickness slider...


Blen Tut 42.jpg


Wow. Look at that. Now drop the tool, and select the faces within your new inset, and run the Inset Faces tool again, this time tweaking the depth slider.


Blen Tut 43.jpg


That. Is. Nice.

Handy, huh? You can also pop it out if you so desire, but I won't illustrate that, since I'm sure you've got a good idea of how it works. Now let's take what we've learned here, and apply it to our room. First, select your faces of your future windows, run the Inset Faces tool, then move the depth slider back to the appropriate depth


Blen Tut 44.jpg


Oooh. But what about that slanted inward edge I kept going on about? :snap: Thickness slider...


Blen Tut 45.jpg


Kind of looks like arrow slits in a medieval castle now. Neat. Go ahead and delete that back face. Make it look more open and windowish. You know what? Rectangular windows are sort of boring. Lets make em rounded. First, add some vertical loop slices along the top sections of your windows...


Blen Tut 46.jpg


Now, select the edges on the topmost slants of your two windows, and pull them up...


Blen Tut 47.jpg


Next, make a loop cut on both sides of your initial loop cuts...


Blen Tut 48.jpg


Select all the new edges running along the slant, and transform them straight up on Z...


Blen Tut 49.jpg


To make the slant even again, you might need to play with the vertices at the bottom of your cut. Really, all you need to do is grab the one in the middle and drag it down a bit, then the verts next to it and do the same. Make sure you pick the corresponding verts on both windows at the same time, so they remain equal.


Blen Tut 50.jpg


But is that all it can do? Extrude and make dimples ? Of course not! There's plenty more it can do.

Like say we've got this odd little thing here...


Blen Tut 51.jpg


...and we want to run three grooves all the way around it. With the Inset Faces tool, this will be an absolute breeze. Lets start off by making three loop cuts along it.


Blen Tut 52.jpg


Grab your three new loops using loop select on your edges (make sure to hold down shift when selecting multiples), and run the Bevel tool to create the space that will eventually be your grooves.


Blen Tut 53.jpg


Now, grab the new faces using loop select while in face selection mode...


Blen Tut 54.jpg


...and inset! Scale the Depth slider up until you've got it where you want.


Blen Tut 55.jpg


Much like the windows earlier, if you want it to go straight back, then set the Thickness to 0. A little bit of a bevel to your groove? Up the slider. Roughly as simple as pie, isn't it? Now lets take what we've learned, and use it to add some more detail to the room.

Lets start off by raising the loop that makes up the topmost edge of your room. Give yourself some space to work with.


Blen Tut 56.jpg


Now, either run a loop slice across the top that'll mark the center of your future inset groove. Looks good, save for one thing...


Blen Tut 57.jpg


Those little arches over your wall. If you want your future groove to arch over your windows like that, you're already good to go. Just run your Bevel tool, and move on with life. But what if you want it level all the way around the perimeter of your room? Having to move all those verts into a level line would be a huge, huge, HUGE pain in the ass.

Good thing we've got a trick here, huh? To level it out, simply select your loop there, and activate the scale tool, then simply scale it on Z to even out the entire thing.


Blen Tut 58.jpg

Blen Tut 59.jpg


This'll even out your vertices. Chances are good that this action moved the entire loop from it's original intneded position. To fix that, just select the loop, activate the transform tool, and move it up a little bit.

Now, lets select our loop AGAIN, and run the Bevel tool. Make it as thick as you'd like...


Blen Tut 60.jpg


Aw, damn. It did it again! There's really no way to keep it from bending around that arch in your geometry. The plus side is it's now only bent on one side instead of two. Fixing it is just as easy here as it was before. If you like the way it looks, then continue on. If not, do your scale thing.

Next comes the Inset Faces part. From the previous examples, you should know exactly what to do by now. Loop Select while in Face Selection mode, run the tool, then change the depth and thickness to their desired positions.


Blen Tut 61.jpg


Now lets add a little more detail by repeating the process inside our new groove. Make three loop cuts down the center, run the Bevel tool until they're as thick as you want, then loop select while in face selection, and Inset back outwards. This time, I'm going to apply a slight bevel, to give it a little more of a rounded look...


Blen Tut 62.jpg


Lastly, lets make another cut towards the top. Have a bit of trim that overhangs our wall. You should have the process drilled into your head by now, so I'll just show the end results.


Blen Tut 63.jpg


We've got ourselves some fancy trim now. All thanks to the wonders of Inset Faces. Who would've thought one tool would be so handy, huh?

I think there's one last thing we can do with the inset faces tool before we move on. Lets deal up our star on the floor a bit. I want to add some more detail surrounding it. I'll do this by selecting the geometry that makes up the square it's built into, and run the Inset Faces tool once. Give it a lip that'll define the shape of the star a little more. I'll do this by defining the Thickness by itself.


Blen Tut 64.jpg

Blen Tut 65.jpg


Next, I'll grab the faces just inside our new lip, and inset them into the floor.


Blen Tut 66.jpg


Alright! Now we've got even more unnecessary bits of architecture for the future inhabitants of our little room to break their asses on! You sick bastard. Lets make it a little easier on them.

Make it so they're more grooves carved into the floor, rather than huge spaces. We'll start this process by selecting all the geometry in the cavities that make up the star design...


Blen Tut 67.jpg


Make your future groove by running the inset tool, and just playing with the Thickness slider. Much like you did to define the outer shapes earlier on.


Blen Tut 68.jpg


Finally, grab the faces that make up the center geometry, run inset yet again, and bring it all back up so it's roughly even with the rest of your floor...


Blen Tut 69.jpg


Alright! Now our little future inhabitants are less likely to kill themselves tripping over a dip in the floor. They'll probably stick a foot in it and break an ankle instead. You're so thoughtful. Lets go ahead and do one last thing. It's not completely necessary, but it's a good habit to get into.

Those tris are bothering me. If I ever want to add detail in there later, I'll have to work around them. Lets make them quads right fast. Do this by selecting the two vertices that run along the center end of your tris, and scaling them in so you get a nice diamond shape on the end...


Blen Tut 70.jpg


...then selecting the edges that make up the connecting center between your two tris...


Blen Tut 71.jpg


...then call up your menu, and type "limited dissolve". Blen Tut 72.jpg

What this does is deletes any edges and/or vertices from your faces while still keeping the underlying polygon intact. Great for (you guessed it) a variety of situations. In this instance, it'll make our two tris one quad.


Blen Tut 73.jpg


Specifically, what's called a diamond quad, which you'll once you start high poly modelling things like veins underneath skin, or wrinkles in fabric. I'll save all that for a later tutorial.

By now, you should have a pretty good idea of the various uses of the Inset Faces tool.