 Hi everyone, welcome back to GameDevAcademy. I'm Shane and in today's video we're going to jump into Maya and I'm going to show you how you can fix messy topology like what we've got here. So if you look at these two meshes you can see that they started out as the same mesh. So here's the one with the crazy topology which I kind of made crazy on purpose for the purposes of showing you what we're going to do today. So you can see that looks ridiculous and this one here is what happens after I have applied the little method that I'm going to show you today. Look how neat and even it is. It's wonderful. Plus one of the upsides of it as well as if you look this one's got a triangle count of over 300,000. This one has just 10,000 which is pretty good. So let's have a look at how I went about doing that. So we'll delete this one. So here's the mesh that I started with and I see all kinds of crazy topology for my students. They're mental. So they'll just delete edges willy-nilly. They'll have weird triangles, end-gones all over the place. They're out of control and this is going to be what I'm going to show them in future to sort that out without me having to do it. And this is much quicker than having to do it manually, believe me. So I'll just duplicate the messy one. Here we go. So you can see they are now identical and this is the one that we're going to fix. So into mesh we're going to use the remesh option I think. No, we're going to use retapologize. That makes more sense. So let's open the settings for that and this tool is new for Maya 2020. So we're lucky to have it. Right, let's check the settings out. So target face count. You can choose what you want that to be. So I think this is what I had it set to previously. So that was 5,000. Let's see how well we go if we drop that down and go for 4,000. And then we've got the tolerance. So that means that it can go 10% above or below that in trying to retapologize. And the thing that I have changed, in fact, let's go to we'll reset it. This is what it starts out at. Face uniformity. Now I put that all the way up to one because I want square polygons in this. And then after I've got them, I can go in and delete any edges I don't want because a lot of them aren't needed in this case, but it's so neat and uniform. It's the thing of beauty. So I'm going to put that all the way up to one. So my target face count and decided it was going to be 4,000. Leave that at 10%. Yeah, everything else is great. And then we can click on read to apologize. So this does take a little while. It is reassuringly not quick. This is still much quicker than doing it manually. But it does take a little while. So I'll hit read to apologize. It'll take about five minutes, I think for me because my CPU is shit. And then I'll see you on the other side and we'll check out the results. Click. Welcome back. So this is now literally just this second finish for me. And you can see that that mesh is now much tidier. Look how even all those polygons are distributed. It's getting me a little bit excited actually. I might just need a moment alone with this mesh. So that's it basically. So there you go. You can now see this mesh now actually probably looks cleaner than the original. I've managed to get the triangle count down. I've managed to sort out the topology. This is beautiful. It also now has edge flow as well. So if I go into edge and double click on any of the edges, it'll go all the way around, which it would not have done before. So that means if I want to delete any edges, it will go mental because now it's re-topologizing again to be able to do that. Here's a tip for you. After you've re-topologized, make sure you delete your history before moving on. Otherwise every time you change something, it will go through the whole re-topology thing again, which I keep forgetting to do. Anyway, that's all I've got for you today. So this video is over. If you liked it, do the thumbs up thing. If you really liked it, do the subscribe thing. I'm going to say thanks to all my amazing patrons who support me every month to keep making videos like this one. We are Game Dev Academy. What we do here is give you videos and tutorials to do with game art and game development. That's what we're about. So if you like it, join us in one way or another. At least subscribe to the channel, and I'll hope to see you in a future video. Bye.