Journey to Procedural Planets in Unreal Engine 5 - Part 2
At the end of the last post, we left off with a single triangle. Everyone loves a good David vs. Goliath story, but our little triangle alone does not make for good terrain. Therefore, we must go deeper...to the grid! It's all about the grid, man. At this point in the journey, I was getting a little nervous as the process ahead was clear, but still intimidating. We've got a triangle and now we need a full quad. That's very simple - you add 1 more entry into your vertice array, 1 entry into the UV array and 3 more entries into your triangle indice array. That looks like this. At this point, it's pretty clear that we can't simply keep manually adding entries here if we want to progress in a reasonable manner (preferably in our lifetime). So we need a formula or algorithm to help us sort all of this data out for us. Luckily, generating a grid of points is not terribly difficult to do. Let's start off very simple in blueprints, ...