Draw 2D lines/curves, possible import from Illustrator

Basically I have a map of the US, with the states outlined. Each state can be colored differently. I have a vector file already done up in Illustrator so if there was some way to import that it would be awesome. But even if there isn’t, what would be the best way to draw lines/curves, and create bounded objects with them so I can insert my own color in them for each state?

My alternative for this would be a rasterized image instead, with each state being a different image layered on top of each other, but I doubt the quality would be as good.

Anyone know? Still can’t find a way to do this.

Hmm you could try splines with a simple colored mesh like this: Blueprint Splines Content Examples | Unreal Engine Documentation but importing Illustrator files without modifying the source code is impossible AFAIK. Otherwise you could try to write your own importer of course.

I have yet to find any good reference on efficiently drawing 2D vector elements like lines and curves with UE4. I have casually looked for a while now, because I have a project in the back of my head that would need to dynamically draw charts and graphs.

ILLUSTRATOR to BLENDER to UNREAL

So you have your eps or AI save your file of the us as a svg(salable vecyor graphic. Open blender(free if you dont have it), delete cube, import your svg, it may be imported small so you may need to zoom in to see it. Select your svg, and look to the right and look for a icon that looks like a wrench. Click on it and click Add Modifier and click solidify. You will notice your svg is now an 3d object. Push alt + C to make it a mesh, the second option you will have from pushing alt + c. Then export as a FBX into unreal and you will have a vector based object that will take a material!

2 Likes

OUTSTANDING answer from 2visual. Creating a 3D-object in UE5 from a random pic from the internet worked like a breeze with this method. Bravo and thank you!

One thing that can be added to help matters. Convert your AI file to 2-color icon and expand before proceeding to save the SVG. The import to Blender works smoother that way.

1 Like