Procedural mesh: Curve a plane to match the surface of a sphere

Hi!

I’m using Unreal Engine 5.3.2.

I have followed this article, Building Procedural Art Tools in Unreal Engine 4, to create my first Procedural mesh. I have copied the code to create the triangle, quad, cylinder and a cone.

Now, I’m wondering how can I give to the quad some curvature. I want to create a sphere with some quads and I want to give it the shape of the sphere surface. I suppose I have to use the radius of the sphere to give it the curvature, but I don’t know how to do it.

The image for the code that draw the quad is here: Draw Grid posted by AzzaMat | blueprintUE | PasteBin For Unreal Engine

Any idea how can I give this curvature? Or probably, it could be easier to create an sphere and split the mesh in different areas.

to create a quad sphere you would start with a cube. tesselate the edges/quads. then calcuate the per vertex normal from the center and move the vertices along the normal to a fixed distance/radius from the center.

Thanks, it sounds good. But I have no idea about how to do anything, hahaha. I will search how I can do it.

Thanks!

1 Like