Random Continent Generating With Perlin Noise

This topic is 2039 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

Hello!

I have got a problem with random map generation.

I'm trying to generate a map based on fantastic Perlin noise.

Here my results

And now I want to create only a continent with nearest islands.

I tried to use Gauss function for reducing squares far from center and I tried to use a simple circular reduction for ignoring squares far from center.

Both of this ways gives me a map with good-loking maps, but with circular contour of reduction at edges of reduction zone.

Here an example

I need your opinion to solve this problrm. What another methodics I can use to create best random maps?

I'm using C#.

Denis

P.S. Sorry for my English

Edited by Barrett

Share on other sites

Grow/shrink the circle using 1D perlin noise? Make the radius a function of the angle, something like this:

// PerlinNoise1D(x) returns a value in [0, 1]

Share on other sites

I found a solution that look like good for me.

I 'm creating a radom "fuzzy" rectangle as reduction area/

Here are some examples

And get some maps like that

It looks nice.

Any ideas of improving this algorythm?

Share on other sites

Grow/shrink the circle using 1D perlin noise? Make the radius a function of the angle, something like this:

// PerlinNoise1D(x) returns a value in [0, 1]

Oh, good idea! I will try it and upload here some results.

Edited by Barrett

Share on other sites

Grow/shrink the circle using 1D perlin noise? Make the radius a function of the angle, something like this:

// PerlinNoise1D(x) returns a value in [0, 1]

Oh, good idea! I will try it and upload here some results.

Here's some results for you:

Since you are using a 1D function indexed by angle, the pattern ends up as a randomized star-like shape. You can't generate disconnected islands this way. All pixels lying along a given angle will use the same radius.

However, if you use a 2D noise function, indexed by (x,y) to modify the radius, you can get some disconnects:

Pixels lying along a given angle won't use the same radius, so some pixels further out might use a shorter radius than pixels lying nearer in. This means that voids, or holes, open up, providing the necessary turbulence to create disconnects.

Share on other sites

Oh, thank you so much!

1. 1
2. 2
3. 3
Rutin
15
4. 4
khawk
14
5. 5
frob
12

• 9
• 11
• 11
• 23
• 12
• Forum Statistics

• Total Topics
633662
• Total Posts
3013231
×