painting terrain with polygons vertex points

I have a task: create landscape map from heights map and set of polygons. Heights map was successfully applied to terrain. terrain a set of several small terrains. Now i need to paint this terrain. For this i need to get a texture from polygons and cut it on parts. But i don’t understand, how can i draw a vector image in Unity and then cut it on little pieces?
p.s. polygons described by vertex point

"geometry": [
632.0,373.9,
628.5,305.9,
540.0,318.0,
464.5,335.2,
384.5,335.2,
308.6,335.2,
303.0,438.9,
377.1,442.6,
447.5,429.7,
528.9,411.2,
632.6,373.2]

I’m not sure what this means exactly.

Unity does not have a built-in facility to turn polygons or vectors into raster images, but there are things you can get from the asset store, but I’m not even sure that’s what you are asking.

You could make procedural geometry out of it and then take a picture with a RenderTexture, but that’s a lot of work if that’s not what you’re trying to do.

If you want some examples of procedural geometry and also of terrain manipulation, check out my MakeGeo project.

MakeGeo is presently hosted at these locations:

https://bitbucket.org/kurtdekker/makegeo

thank you very much. i found many intresting in that

1 Like