Comments

Log in with itch.io to leave a comment.

how did you go about rendering a map? does it use a bitmap for a reference? I am interested in how to make something like this

I explain it here, and yeah, for selection I use a voronoi diagram as the province map. I wrote an article that you can read here.

thanks, I have tried to do this multiple times before, and I am assuming this is language agnostic because I mainly develop my stuff in C# rather than C++, but this will help me very much!

Yes, the concept is still the same, regardless of the language or engine used. I would like to expand the border rendering sometime using vector tehniques.

my brain still has trouble with this lol, is there any algorithms for getting outside masses? I use LibTessDotNet for triangulation which requires any other noncontiguous masses to have their own contours, I am able to get convex shapes well, but where my code struggles is when there is holes / islands involved

I think you got in the border vector territory, the pros are that if you get it right you basically get the greatest borders of them all. The downside is that it is super complicated. I plan to tackle this as well sometime in the future, when I have some time off from university work. Your best chance is to try read the docs from oikoumene and implement it yourself.The latest link will get you to their explanations of their algorithms, I wish you best of luck and keep me updated if you manage to implement their approach.