 Hi there, 3d artists welcome back to mastering UV mapping and Today we're going to take a look at unwrapping this book in this tutorial We're going to be doing a full UV map for the book and then going beyond that We're going to create a UV snapshot Which is something you can use to take into an external application in this case We're going to use Photoshop and then you can texture in the application So we're going to create an old style book cover using Photoshop once we've got our sexy UV mapping done If you want to follow along yourself You can get the book by following the link in the description below and you can download all the models and textures That I've used in this series so far. So let's get on with this book. We're going to start with the pages Okay, and you can see let me just get my UV editing workspace set up That the UV map as it stands is not good So we need to sort that out And what I will do is go into face mode to make a start on that. So I'm going to get these first faces along the front here and then I'm going to do a Plane the projection and Looking at my axes down here. I can see that I'm looking through the x-axis. So I'm going to choose that one Make sure keep image width and height ratio is set to true And I'm going to project on that and that then is these pages here So I'm just going to move that out of the way and Then next I need to do These faces here on the top and bottom. So if I just drag a box like this I'll get this side and this side at the same time and these two need to be mapped on the Z axis Project brilliant So as we've looked at already if we go into shell mode These two are going to be stacked on top of each other and we need this red one To not be red that's got to be blue. So it needs to be flipped So going to transform and we'll flip it Now everything is blue The next thing I want to do is stitch these three pieces together So that the pages are going to sort of go around in a continuous line without any visible seams But first I've got to get them all the same size or relatively the same size to one another so I'm going to go into shell mode and I'm going to do a layout and I'll just go into the settings so you can see what I'm doing with this so There's layout and it's this pre scale world that I'm interested in that's got to be set to that So that the sizing the resizing happens. So a layout and these are now all the same Height and that will allow me to stitch these together. So I'm going to go into edge mode And I'm going to click here and then hold shift. I am let's go just deselect everything I'm going to click over here and then shift double click here and that'll get that entire end there and Then I'm going to get over here Keep holding shift and then click and double click And that just means that I've got the top and bottom edges at the same time And then I need to stitch these together and that lives in the cut and sew area So let's go to stitch together and that creates one long piece and that'll do just nicely for now So we'll Make sure that this fits in the zero to one space When we're finished, but the next thing we need to do is move on to the book cover This is a slightly trickier shape because we've got to do a few different things with it And the first thing I want to do is get these end pieces UV mapped to get them away from the rest of it just for now So in order to do that, I'm going to go into face mode and Select that face there and then I'm just going to hold shift and double click there And that's going to select all these end pieces Swap around to the side. I'm still holding shift click there and double click there And I've now got both the top and bottom end pieces Looking at my axes I can see that for a planar projection that needs to be done on the z axis So I'm going to give that a go planar Z project and that for now will give me these Long curvy pieces. So I'm going to put that into shell mode so that I can separate them and Work out which of these two the red one is which is that one and I'm going to give that one a little flip There's my flip option So I've now got two blue shells That means that the remaining shells put it into shell mode are the inside The outside of the cover and also these end pieces and for that what I'm going to do is Another planar projection and I'm going to do this on the y-axis And you can see that's giving me a problem because I can't possibly UV map the top and bottom So now what I need to do is put my model into edge mode And I need to tell it where I want some seams to be where I want to cut it open to allow it to unfold And I'm going to select that one there And the corresponding one on the bottom part of the cover And that's going to separate the outside of the cover and the inside of the cover into two separate UV shells So I'm going to use my cut option here cut And then into shell mode Select these shells And I want to unfold them. So I'll click my unfold option here There we go. So they are on top of each other But if I separate them out You can see I'll just turn these squares off to make it easy to see I'll turn my grid back on You can see that I've got these two wonderful UV shells one represent in the outside of the cover one represent in the inside I could leave it there if I wanted to I would quite like these To be part of the cover It'll make texturing a little bit easier And here's how I'm going to do that So I've identified this as being the shell that's on the outside And what I'll do is go into edge mode And I'm going to click here And then I'm going to go to the other side double click And there'll be a corresponding edge selected here And what I want to do is stitch that together And that will make you want to panic when you do that But you don't need to worry Because if we put it into shell mode And unfold that again It will sort it out set a funny angle But it will absolutely sort it out Next we need to do the same thing on the bottom So we're going to go into edge mode again I'm going to click here hold shift and double click here to get the entire bottom edge I'll stitch that together Select the UV shell And unfold And you can see that that now has these edges stitched to the top and bottom of the shell That's looking pretty blooming good Next up I'm going to lay these out to get this one to be straight again hopefully So let's find layout There it is That has straightened everything up This one's slightly bigger because it's got more pieces on it and it's on the outside as well And this one represents the inside At this stage we're almost done What we need to do next is get everything on one UV map And then we can export it to photoshop for texturing. So I'm going to go into object mode and select everything And you can see that in terms of pixel density, there's going to be some difference In fact, I can show you that if I turn the squares on the squares here are smaller Than the squares outside and we'd kind of like them to that to be consistent in terms of size So to fix that I'm going to use my layout option And because I have that pre scale world setting on that will sort all my scaling issues out And that's pretty good The last thing I will do in shell mode just because I know I'm going to be Texturing this in photoshop is just move the shells away from each other a little bit And that'll just make it easier to work with in photoshop You don't have to do this you can pack them together a lot more tightly if you want But for me, this is what I want to do and the last thing I'll do is just check that everywhere Has squares and not rectangles. So squares on the front The tricky part is going to be around the spine. They all look like squares as well And squares on the bottom squares on the pages The only place you should see any distortion is as we go into this bit here And that's not really avoidable because of the way we've mapped the pages And we wouldn't want to fix it anyway because the way we're texturing will hide it And we really don't want to see a seam there that'll blow the illusion So We're going to leave that as it is Let's turn the the squares off Oh, one other thing that is worth looking at with the squares This is the front cover of my book And this has got 1001 on it and this shows me that the my book's actually not upside down You could Get a bit confused if you had this shell upside down So that's the right way up if it was upside down you just put your Rotate tool on hold j and just flip it over And turn it the right way up. Okay for me that just makes that go upside down. So I don't want that Okay, so the uv mapping is now complete squares off Into object mode and select all the pieces To be able to texture this in photoshop We need to export what's called a uv snapshot And that is just an image with these lines on which will allow us to then texture on top of them as a guide You can do that by going into image and uv snapshots there or there's just an icon over here. So I'll hit the icon Here's my uv snapshot images by default. It should want to go into the images folder of your project If not, I recommend putting it there Choose your size So generally you want power of two texture sizes In this case, I would recommend going for either 512 by 512 1024 by 1024 or if you want to go really high res you could go 2k do 2048 by 2048 I prefer the target image format because it never gives me any issues But you can choose whatever you're comfortable with and the edge color for me why it works So I'm going to go to apply and close And then I'm going to look in my images folder For my uv snapshot and I'm going to open that up in photoshop Right, here we are in photoshop them Here is our uv map And we're now going to do some texturing on top of this and import the texture back into maya To see if we can make the book look really good The first thing I tend to do is hit control and zero just to make use of my space. So control zero is just going to zoom in And what I want is I've already found it And if you've downloaded my project file from the link in the description, you'll have this too So this old book texture is what I'm going to use And I'm just going to open that up as a separate image so I can copy and paste pieces into here And I'll start with the pages What I want to do is create a copy of my background layer By just dragging it onto the new layer icon I'm just going to rename this to lines And I'm going to change the Blending mode of this layer to screen And what that will do is put a copy of my lines in front of everything else So I'll start pasting the bits of texture here And then I'll still be able to see my lines to make sure that I'm lining up properly In here then I'm going to start by getting a marquee selection I'm going to just go here to here. So as much of this Page textures I can get That looks nice And then I'm going to hit control and c in this image Back into the uv map and control v There are my pages. So then I'll go control t I'm going to hold shift as I rotate and that will snap it And I'll put it up in the top corner Like that and then I'm just going to bring this down a little bit Perfect Final thing I will do is just stretch this all the way down here It could look a little bit stretched depending on what kind of image you're working with But I know this will work because the eye will just see pages. It'll look good So there's that bit done Next I want to focus on the front cover which is down here Into my old book texture. I can see this is the front cover here Well the Yeah the outside of the cover And I'm going to get this by again doing a marquee selection. That looks pretty good And then I will copy that And paste it into my main image here. There it is And now I'm going to hit control and t again and just start by putting this in place And I'll probably just zoom in on this a little bit Or maybe not yet actually I'll just scale it down a little bit first Okay, so that looks like it's lining up there But I have got a bit of a problem here. So I'm going to do a little bit of Work to make this fit So I'll hit enter for now and just save that first Bit of positioning and then I'm going to hit control and t again And I'm just going to move This image over now Until the spine lines up with this first line here or the beginning of the spine does So about there. I think looks good I'll hit enter to keep that Now what I want to do is get a marquee selection that starts at the beginning of the spine Like that And then I'm going to hit control and t And pull this out until the other side of the spine here is going to line up with this line And that's going to happen just about there I think And finally I'll get one more marquee selection Of the book up to about here And then I'll scale that back down So that we're using as many of our pixels as possible I'm happy with that that's going to work. I'll hit control and zero again just to make the most of my space And I just need to do something with this part of my texture It doesn't matter so much what I do here Because you'll hardly be able to see it But I do need to put some kind of color on there And the way I'm going to attack that is by getting this darker color here And I'll just select that control c control v I'm going to lock this layer here so I can't accidentally select it Then I'll move this piece up control t Rotate it around so it's a better fit and then I'm going to put this bit up to the top corner And just drag this down to fill it Like that And you'll notice that I'm going slightly outside of the texture. I'm not going up to the lines I'm going over the lines because I want to make sure That I don't see any black in my finished texture. Okay. The last thing for me to do then is to turn the guide layer off Now I'm going to do file save as I'll save this twice So I'm currently in my images folder. I don't want to be there when I use textures I put them in the source images folder And I'll call it t underscore book master And it's master because this is my photoshop file. I'm keeping all my layers intact in case I ever need to come in and make any changes I'll then make another copy of it save as this one's going to be a target And this is the one that I'll actually use as a texture. I'm going to call this one t underscore book underscore d for diffuse And I'll save that now what I want to do is go back into Maya And apply that as a texture and it should look pretty damn nice. Let's see if it does So we'll go into Maya classic for now. I'm done with the uv editor Just turn that blue effect off for now There we go And I want to make a new material. I'm just going to do this really quick with a lamb but so I'll right click Go to assign new material I'm going to choose a lamb but And then let's just move all the way over here so I can find the lamb but properties And then for color. I'm going to just click on here to make a connection to a file And then click on the folder to choose the file And it's going to be what did I call it t underscore Oh, it's not saved properly. I didn't click on this 24 bits per pixel okay Right, let's try that again T underscore book diffuse lovely and open And now if I just press six to turn on hardware texturing That will start to look like a book So there you go One of the cool things about making a book like this is that all you now need to do if you want to make a variety of books Is go back to your texture put other book covers and pages on there and it can look like a completely different book Okay, so I'm going to leave this tutorial here. Hopefully you've learned something We're now starting to get into the art of unwrapping Which can be really useful. We're also making sure that we're keeping consistent text density And that we're straightening all our uv maps off And we've also now taken a uv map out into photoshop to allow us to text really an external application If you appreciate this video then be a hero and hit that like button If you really like it, you could check out my patreon campaign And become a patron to help me to make more videos like this one If you're currently learning 3d modeling and you want to become super ace at it I recommend you check out the courses over at plural site Plural sites where I learn a lot of what I know And if you really wanted to get into 3d modeling, I can't recommend it highly enough If you want to get a 10 day free trial to them Then use my link in the video description below and I don't think you'll regret it The last thing I want to do is say thank you to my latest patreon backer So long tin hang Thanks so much for pledging the support of everyone is massively appreciated And it really does help me to keep doing tutorials like this So i'm going to go now. Hopefully i'll see you in the next tutorial