Hello, welcome to Knowledge City's Advanced Course in Adobe Photoshop. My name is Jeff Drylow, since I'll be teaching you how to utilize a Perspective Warp Command within some photographs. So this tool is useful in modifying the perspective of a photo or elements within an image. You may need to fix the angles of a building, as we'll see shortly in this image, or maybe working on a composite image that needs to line up in proportion to one or two point perspective. So let's get to it here. So to start off with in my image right now, if we look at this city street, our buildings are angling very much up and away from us, up towards the sky, but they are not straight. So if I were to pull a guide over, you can see how, let me get my guide, how these are not straight lines right now, they're not, you know, top to bottom here very nicely. So I want to fix that. So the first thing I want to do before I do anything is convert this image into a smart object. So I'm going to go up to layer, smart object, convert to smart object. The reason I am doing this, well, two reasons really. First off, it'll help maintain the resolution because we are manipulating the pixels here. Secondly, this is a non-destructive editing method. Now, what that means is I can turn this effect on and off and I'm not permanently altering this picture. Okay. So to get started, we're going to go up to edit and then choose perspective warp. All right. Now you see that my cursor has changed. So I've got this little, you know, shape here. And what I'm going to do is choose the areas that I want to change perspective up. So I obviously want to get the left side of my city street and the right side as well and pull these buildings so that they are straight up and down, okay? So they're vertically, you know, a line top to bottom. All right. So first, let's just drag out and down. All right. So I'm just kind of get that portion of the street there. I'm going to create one for the other side as well. So again, out and down and I don't need to stuff in the background because that's already straightened out. So right now, this is set to layout because I'm creating my layout. Now I'm ready to warp them. So I'm going to click on warp and you can see now we have got our bounding boxes here. So I'm going to start by grabbing each pin in the corner and you can see as I pull out what's straightening my building out, but it does affect the rest of the picture. All right. So that's something that could be very mindful of all working. So this straightened it out. I'm going to leave it as is on the other side. I'm just doing the same exact thing. I'm pulling and stretching, you know, and obviously we could be changing those perspectives even more, but I don't want that. I just want to pull and stretch and get these two buildings so that they are upright in a, no, in a nice clean vertical manner. All right. So once I'm happy with it, one or two options here, I hit return on the keyboard or I click on the little checkbox. If I want to get rid of it, I can just undo and cancel it. And now these three options right here, these just either straighten the vertical lines, straighten the horizontal lines or both. I'm happy with what I have. So I'm not going to click on those, but I am going to hit the checkmark and there we go. One issue that does come up though, like I said, it can play with other elements of the pictures. Now this wire, you know, the electrical wire running across the street does not line up well. So I would go back into that either clone stamp it out perhaps or use the spot healing brush and fix it or even use a clone stamp and straighten it out. That's not the point of this lesson. So I'm not going to go into that, but yeah, you will have to go in and make some other alterations and corrections at times. And we can see what the smart filter down here because that's what we chose with having a smart object. I can turn it on and off and see the effect. So now I want to create a composite image. I've got my picture of a warehouse here. Now I personally went in and put in some horizon lines. I mean, you know, the vanishing point, the horizon line and perspective lines here, just so I can make sure that the crate I'm going to put into this warehouse lines up correctly. So I've got my crate saved here already. So we're just going to copy that and paste it in over here. Yeah. So let's say I want this crate to line up nicely over here on the left side of my image on the floor. So first let's do command T and just get it down to a smaller size, you know, size that looks like it actually belongs there. You know what? I'm going to change it up. Change the right side because this side's a bit lighter and I feel like based on lighting, it would actually work better that way. So we're going to put that over here instead. That is the other aspect of this is you will have to play with the lighting and, you know, work with it, render it so it actually looks like it belongs there. But the point of this lesson is just using the perspective work. All right. So I've got its size down so it'll fit here, turn, let me zoom in. All right. So now when we use perspective war, we're going to be using it a bit differently. Some of you edit and go back to perspective warp again. And I want to get each side of my essentially cube here lined up. So I'm going to be lining it up directly with each corner, but then I'm going to add more. I'm going to come from the other side and I want this one to line up and look, I'm making sure it actually touches so that these points connect. And then lastly, I do have to get the top of the box as well. It didn't quite snap to it. Go see to move those over and have them snap to there we go. Get this one to the back corner of the box and bring this one back into where it belongs. All right. Now I click on warp and I can start to move this around. So yeah, I wanted this to be the front facing portion of the box that's facing us. So you see I'm pulling it down. We're going to pull these back to have them lined up. We can see our horizon line there. We want that not horizon line, sorry, perspective lines. And we want those to line up. Yes, I'm dragging and pulling it all around so it can fit. Starting to make a little more sense now. So you want to pull this back just a little bit more. That's why having a grid there or perspective lines will help because you know things are lined up correctly. All right. And once I'm happy, I can hit that check mark and we have got it placed in there now. When we turn off my perspective lines and obviously we'd want to be adding in different lighting, adding in shadows beneath it, who's going to make it look actually belongs there. But that is the basic idea of how to use the perspective warp. So I hope this lesson has made it easy to see how powerful and useful the perspective warp can be in your projects. Come back from the next lesson, we'll be learning how to use the content aware scaling. Thanks for watching.