 Hey there 3d artists. What's going on? So what I wanted to do? I'm going to start a new series It's going to be called Mastering UV mapping. I think something like that and what we're going to do is we're going to get our heads around UV mapping So I found through teaching Maya for a few years that it's the UV mapping the unwrapping that is the thing that Students new 3d artists find it really difficult to figure out So what I want to do is really to series of videos where we'll kind of ramp up the complexity each time To try and help you to really grasp this thing that can baffle so many people So as you can see by what I've got on screen. I've created some toy blocks and what we will be doing today is Getting some cubes and just using some simple UV mapping techniques to get each side of our cubes to have different layers on So let's get into it. I'll delete these and I will create a brand new cube There's our cube lovely stuff So the first thing I need to do is create this texture and put it on there So I'll just nip into my hyper shade Here it is. Hello hyper shade. So you see I've already got one made but I'll make another for your benefit So make a new Lambert. I shall call it M underscore blocks and Then I'm going to link up the texture So if you want to use the same texture that I'm using then follow the link in the description below and you'll be able to get Your hands on that I'll just share the entire project folder and this is what I'll be building on each time So I'll keep adding textures models etc to this one So there's T blocks on score D and you can see all I've done to make this is I've got a wooden texture I've put some letters on there. I've added some colored Squares around it and then we can use UV mapping to Put certain parts of this texture on certain parts of the model so let's create that material and Then I will just drop that material Onto my 3d model. So if you're still new to Maya You might have tried to drop your texture on there and realize nothing happened So it might still stay great if that's the case just press 6 on your keyboard and your texture will magically appear And you can say that it does look good. This is wrong So we need to work out why that is and the first place to get a good grasp on that is in the UV editor So you can get at that in a few different ways So you could just go up here to the top UV and open the UV editor from here And this will open up as a separate window. So then if I click on here I can see my UV shell here and I can see my texture underneath it But I'm going to get to it a slightly different way because I think it makes a better use of the space I've got I'm working on one screen here because I'm recording so I can set a split screen up for that So you've got this little option here, which will allow you to go kind of two sides to your screen panel layout So we'll click on that and then you've got kind of it gives you a An orthographic view and a perspective view. That's not what I want though. So what I'm going to do is just change So if we go to saved layouts and I'm going to change to perspective and UV editor like that So then I get my perspective camera here so I can see what I'm doing and I've got my UV editor over here So that's pretty good So here we we should be able to sell just if you click on here It will turn on like a shaded view of a UV shell So we can see the outline of it So this represents our cube our 3d shape as a 2d version of it. So it's unwrapped. It's opened out And it's laid it on top of our texture and that helps us to see why this is behaving the way it is So if I was just going to shell mode Select this and move it side to side Let's make it so that most of the shell is in this red column here You will then be able to see Let's just make that visible that most of the sides of our cube are in the red space So that makes sense. I think that makes sense. That's pretty straightforward But what we want is the ability to be able to move Different faces onto different parts of our texture So we need to do a bit of simple UV mapping to get that to happen So we need to separate all six of these sides off at the moment They're they're very much joined. They want to move around together. So let's get them separated So I'm just going to be an object mode and have my cube selected I'm going to go to UV and for this one. I'm just going to do a an automatic projection and The default settings are fine because I want to go from six different angles Which there are six sides to my cube so that makes sense. So if we click on project What that will then give us Is one two three four five six sides, but now they're all separate. So if I click on one and Put my move tool on I can move that one around independently Which is really great for this exercise So what I'll do is make sure that I'm in UV shell mode I'll select all six and I want to get them all to be the same size So I'll just put my scale tool on and I'm just going to focus on this one in the middle And I want to make sure that when I place that over one of these squares It's going to be the right size So I'm just going to get it kind of to this wooden inset because then I'll know it's in the right place and Then I'm going to scale it back up to be almost filling The red area on this texture just move it over a tiny bit There so I'm pretty happy with that and I know that they're all the right size So now all I can do all I need to do is go into shell mode and I can move each one of these shells to a different letter. So I'm going to move this shell up here And stick that on a And then this one here, I'm going to put on F So I'm just going to try and get them to look a little bit random. I don't want The same colors to be next to each other if I can help it Okay, so this one here is Kind of over K anyway, so I'll stick with that and then we'll get This one here and we'll move it over And then we've got to find two more. So let's go for a D D for dog Very nice and the final one. Let's stick it on We'll have another green we'll stick it on a there we go So at that stage you can see that we've just used simple UV mapping to Separate our one shell into six different shells and then we can position them. There will be one issue though Because of the way that UV mapping works on cubes. One of these is going to be upside down There it is. It's that a so you can see in comparison to the others. Oh, is it the a? AIF it's the K the K is upside down when you compare it to the others So these two here don't matter as much But the K just looks wrong So we will need to rotate this shell So we're going to select it UV shell put our rotate tool on and then you can rotate it for your hand But you'll almost certainly not get it perfectly straight if you do that only a crazy person would do that So what we're going to do is turn on rotation snapping So at the same time as rotating I'm just going to hold J on my keyboard and that will now snap this rotating to 15 degree increments So as soon as I've gone far enough around that is now facing the right way Okay, so so far so good. We've now mapped out one of our toy blocks and it looks pretty nice I don't like this. I am this a be next to each other So I'm going to move the eye To make it yellow, I think So let's get this UV shell here and we'll probably Move it to See there we go. So I just get that lined up again And then hopefully that will look random enough Okay, so the cool thing about UV mapping is once you've done it for one shape if you duplicate it It's already done for you again. So if I want to create a little group of blocks like I had before Let's just duplicate this we'll move it off to the side We'll just put a little rotation on it to make it look a bit more random Okay, so you can see now they're both UV mapped. So that's good, but they look the same which is less good so what we'll do is We're going to go in and select all of our six UV shells all at once And I'm just going to shift them along and I'm going to do that to hopefully illustrate something So let's move them all down. Yep. I think I'm happy with that Okay, so now these are all where you would expect them to be But one of them has fallen below and what's going to happen is that the one here I'll just select it so I can find it It's on the bottom So this one here is got a D on it and D is the one up here. So what happens is this texture tiles So the texture is shown here in our main zero to one space And there is a way of turning on so it'll show you that it's tiling as well But what it means is that if you can move your your UV shells outside of this and it will still work So that's allowed me now to get a different letter So I've moved them all That way, but I've now got two reds facing the camera, which I don't like so let's shift It over to the left one as well and Then now we've got a couple of different looking blocks beautiful cool So now I'll just create one more And we'll just repeat the same thing And then we will call that the end of the lesson because we've all worked very hard. Didn't we we've done well So let's just randomize that one a little bit And then we'll get our shells in shell mode There we go put our move tool on and this time. I think I'm going to shift To in that direction That was good Back into object mode. So now that's given us a fairly random looking collection of Toy wooden blocks There we go. So we'll just go back full screen Okay, so we'll leave it there for this first-ever episode of UV mapping king of the world. I hope you've taken something from this This is only covering the absolute basics and we will ramp it up But hopefully in terms of just getting your head around how UV mapping works This has been a fairly good demonstration of that If you want to see more videos in this series Then just click the card on the screen to be taken to another video And the last thing I'd like to do is just say a massive. Thank you to all of my patrons You guys make it so much easier to be able to keep putting videos out and My main aim in doing all of this is to always do it for free A lot of people are trying to find ways to charge for this and I understand why that happens We've all got to make a living, but that's not something I want to do I want to be able to put these videos out to be able to help people to learn for free And people supporting me and doing that through Patreon or through donating for the things that the resources I offer really does help and it's very very much appreciated So thanks for helping me keep putting these out and offering them for free And I hope that I'll see all you guys in the next video. I don't know what it'll be yet But hopefully it'll be a good one If you want to take your learning further than I've been able to cover in this video Then I recommend checking out plural site They've got tons of courses covering Maya and they can take you from an absolute beginner through to a pro If you're just getting started with Maya 2018, then I recommend checking out the Maya 2018 fundamentals course by Justin Marshall This gives you a good overview of everything including UV mapping and he's really well paced out for beginners If you want to check it out then use my link in the video description to get a 10-day free trial of the service I can't recommend it highly enough. I'm a member of plural site and I check back in regularly to keep my skills up to date Right, that's the end of this video Hit the thumbs up button if I've helped you out Subscribe if you want to see more and I hope to see you in the next one. Laters