Viewers: in countries Watching now:
This course provides an overview of modeling, animating, and rendering 3D graphics in the open-source software Blender 2.6. Beginning with a tour of the Blender interface, author George Maestri shows how to create and edit basic objects, work with modifiers and subdivision surfaces, and apply materials and textures. The course also demonstrates lighting 3D scenes, setting up and using cameras, animating objects, and assembling basic character rigs.
Now, let's use the UV image editor to precisely align a bitmap to an object. Now, I'm using Blender 2.7 for this, because the way it unwraps objects is a little bit different. So we're going to use that, just to be current. Now we already touched on the UV image editor just a little bit when we took a bitmap image and showed it in the viewport. But we can also use that editor to actually align the image to an object. So let's go ahead and start with this simple box.
Now this has no materials on it so let's add some, I'm going to go into my materials panel, hit new and just create a new blank material, we don't need to name it. And then we need to add a texture so your going to go into texture panel, again hit new and we're going to add an image or a movie. And scroll down. Click Open. And the image we're looking for is called CardboardBox.jpg. Open that up, and you'll see it's a cardboard box. Hit F12 to render.
Now, if you're on a Mac, you may need to use the pull-down menu. You'll see that this image kind of goes on the box, but not really. I mean it's not even close to what we want in terms of image mapping. Well we can change one thing just be changing the way that it generates the map. So our mapping coordinates right default are called generated, which means the object itself generates the coordinates. But want we to control that. So we're going to change that to UV. And when I do that and hit another render, you'll see that at least I'm getting one image on every face.
So I've made some progress, but we needed to go a lot further. We're going to use the UV image editor to control how this image maps to the object. So I'm going to give myself some room here. I'm going to close off this tab. And in order to see the UV image editor. I'm actually going to create a separate window here. So, I'm going to click up here in the top corner, drag it out, and then change this window to UV Image Editor. Now, right now, it's going to show my rendered image.
But we can change that. So, we can go Image > Open Image. And we're going to choose that same image, CardboardBox.jpg. So there's my box. Now I need to get this unwrapped and onto here. Now, notice this image is basically just a cardboard box that has been unfolded. So it's basically just flat panels that are all on the same image. So all we have to do is unfold this box to match this. We do that by creating what are called seams.
So if I take my object. Make sure I'm in edit mode. And then hit Ctrl+Tab to go into edge mode. Now what I'm going to do is I'm going to select the edges, that are going to match the open edges of this box. So if you see the ones here in the middle. Those will be closed edges. Those will be connected, but the ones along the outside edge, those are the open ones. So I need to define those edges. So I'm going to go over on to this side of the box and Shift+select a couple of edges.
So basically, this is the open panel. So I think about it as this side here. And once I've got those selected, I can go Mesh > Edges > Mark Seam. Now, if you notice, these seams highlight in red. That tells me that they're seams. We can do the same on the other side. So, I'm going to select this one. Shift+select this and this. And again, mesh edges. Mark seam.
Now, we've got one more, which is that open bottom there. And so, actually, this one is along the bottom. So I need to select this one here. Go Mesh. Edges > Mark Seam. So, now that I have all of this marked, I've got a complete path around the box. So, that's really what you're looking for here. So, my path starts here, wraps around the side along the bottom, up along the back, and back along the top. So, now that I have that, I can select everything in the box, hit the A key.
And now we're going to unwrap this. So go Mesh,> UV Unwrap, and then Unwrap. Now what happens is, is it unwraps along those seams. So if I put this into texture mode, you'll see that well, hey, I've got this. This is pretty close, actually so now all I have to do is move this shell. To match this. Now, we can do this using our standard move and translation tool. So if I hit G for grab, I can move all of these vertices to match.
Now, if I want, I can move a vertice at a time. I can move an edge or a face at a time. Now, if I move this over here, you'll see that I've got a selection set here. It allows me to go vertices, edges, faces. Or if I do Ctrl+Tab in here, you'll see I have vertex face. And then I also have another one called island, which means that if you have multiple islands of UVs, you can use that as well. We're not really doing that here. Well, what I can do is I can either hit that button or hit Ctrl +Tab.
And let's say I select Vertices here. So I can select this vertex here, and move it. Or let's select this one here. And then again, using our Grab key. You can see how when I move this, it changes the mapping. Now, I can do the same for edges. So if I want to, I could select this edge here. And again move it. Or I could do it with faces. So if wanted to slide this face here, and again move it, I can move it. Or I can select multiple faces just by doing Shift + Select.
This is exactly the same keystrokes and selecting the objects in edit mode. Now, the reason we do this is so that we can align these UVs to the object. Now, I've been using the Grab tool. But we can also use rotate and scale if we want. But let's go ahead and move these to align them to the object. So I'm going to zoom in here. A little bit. I'm going to select Vertex. going to select this one, and shift select this one, and then use the Grab key.
And if I want I can use X or Y so GX will constrain it to X. GY will constrain it to Y. And that's great if you're really close and you just need to tweak it vertically or horizontally. So again, if I select this one or this one, I can do Grab, which allows me to move it in any direction. Or if I do GY, it just allows me to push it up or down. So I could probably also select these vertices here. Seems like I'm using a lot of Y translation here, but I'm going to go GY.
And there we go. And then, this last one here. Now once I've got this, I should be able to see my box. And of course, I can affect this any way I want. Now this is just a really simple example, but it does show you the power of UV Unwrapping. This is used a lot in mapping characters. Or any other complex object to a simple Bitmap. So go ahead and play with this and maybe even do it for your own objects, and get used to the process. Because it's a very powerful and important tool to know in Blender.
Find answers to the most frequently asked questions about Blender Essential Training .
Here are the FAQs that matched your search "" :
Sorry, there are no matches for your search "" —to search again, type in another word or phrase and click search.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.