4
\$\begingroup\$

I have an idea for a space-based game where there are different sectors of control. These would be set up in a manner similar to terrain biomes, where there will be clusters with limited space between them where there are 'mixed' biomes or even no biomes whatsoever, indicating no 'side' has control over that region.

There are a plethora of articles on the web these days about how to create two dimensional biome maps, but I have seen none about making three-dimensional maps. Has anyone done any coding like this before? My Google-fu is strong but I haven't found any significant pages on it.

I will continue to work on it solo, but as a beginning, solo programmer I expect I will be quite slow on it. I was just wondering if anyone had done this already.

\$\endgroup\$
1
  • \$\begingroup\$ Looking at answers, you should probably give us a better description of how should they look like, what rules apply, convex/non-convex, polygon/curve borders etc.? Image always helps. \$\endgroup\$
    – wondra
    Sep 22, 2015 at 16:52

1 Answer 1

2
\$\begingroup\$

I suggest using Voronoi subdivision. I gave similar answer here for a map (2d) biomes. You may generalize it in 3d.

enter image description here

Then asociate a value to each point that results (in the example image) in different color for each cell

enter image description here

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .