Forest map is done!

Standard

Hello folks!

Are you a geeky DM?

Are you planning an awesome and full of adventure DnD session for the weekend?

Did you search for a decent map over and over but couldn’t find for your liking or want to create your own map but you cannot even draw a stickman?

Worry not, adventurers!

Today I’m excited to announce our finished generator!

We are going to release our new generator, Forest Map! With this generator, you can generate rock, dirt, water, and forest on the map and send your characters to an awesome and misty forest (or steep and rocky hills, with lots of water, or a desert, it’s your choice).

noisez.gif

Some things I’ve done with this generator:

Screenshot_2.png

Screenshot_3.png

Screenshot_5.png

Screenshot_8.png

You can create your maps with adjusting parameters of water, rock, and forest! I really hope that you’ll enjoy the map!

Stay in Tune!

 

 

 

 

 

 

Advertisements

Blocky Noises?

Standard

Hello all! This week has been quite busy! We are almost releasing our new generator but we still worked on for a few things.

First of all, we saw that the forest generator had some un-natural looking. When we use Perlin noise by Fast Noise, we had “blocky” results, like this:

 

In order to prevent that, we tried to make it more “fractal” and added parameters to adjust the noise’s octave and lacunarity setting.  But before that, I should show a little glossary.

Frequency means more elements in the map. Think of as zooming in and out of the map, when you zoom, we have less frequency, therefore, you see less element. Zooming out, you can see more of the map, more trees more water and mountains etc.

Octave is the sum of different frequencies. Octave makes the map busier and makes it more natural. Like in this example, we add different frequencies and in the end, we use the result.

Screenshot_8.png

Lacunarity determines how quickly the frequency increases with each octave. This leads to elements get more crunchy and fractal.

asdf.gif

But we did not rest here! We tried different noises in order to eliminate these blocks and we tried the Perlin noise from different libraries.

image (9).png

The noises are (in order): FastNoise, Unity and LibNoise Perlin noises. They have the same frequency and the same octaves, although LibNoise has more fractal results, meanwhile FastNoise have more blurry results. But in LibNoise and in FastNoise we can adjust the noises’ parameters(octaves, frequencies etc.) with their built-in functions. On the other hand in Unity’s Perlin Noise does not have them. Also, the libraries have more built-in noises such as Simplex, Value, Cubic etc. That makes them more superior than Unity.

When I read about Perlin noise’s blocky/horizontal results, a couple of people had this issue, even Minecraft had this blocky result on its maps.

According to my research, Perlin noise’s nature allows such results and people needed to have some precautions in order to have more natural terrains.

Next week I will implement a solution to this issue and hopefully publish my generator on ProDnD!

Stay in tune!

 

Forest Generator is DONE!

Standard

Hello all! Today I finished Forest Generator! But before finishing it, I’ve encountered with bugs that are caused by unimplemented tiles. After implementing Dirt, Tree and Water tiles to the respective tile databases I can show my end result:

forest.gif

The used noises for this map: Value Fractal, Perlin and White Noise. Lots of noise, right?

Value Fractal is used for elevation of the map. Higher values represented as Rocks, meanwhile smaller values are dirt, forest, and water. But I needed to use Perlin and White Noise for Forest areas. I wanted Forest to be independent of other areas and also wanted to be able to adjust its coverage of the map without worrying of rock and water percentage. White Noise is used for the crunchy look of Forest.

What I learned from this generator:

  • I can use multiple noises at once in order to add some spice (variety) on the map. This is useful if you want to adjust a certain element independent of other map elements.
  • Learn your environment. Study the project and act according to the system. Whatever you use, first of all, study and ask what is going on in this project. I had difficulties with tilemap system and turns out I had to correctly initialize newly added tiles in order to use them and integrate them with the map.

I hope I can continue on delivering new generators to you.

Stay in Tune!

 

Noises vol2.

Standard

Hello all! This week I spent my time more on adjusting the variables of the map earlier I was working on, and I produced more noises, thanks to FastNoise library.

Here you can see the results with different scales and different noises:

Cellular:

Cubic:

Cubic Fractal:

Perlin:

Perlin Fractal:

Value:

Simplex:

Value Fractal:

Whire Noise:

white noise.png

These are the results and I tried to get a result with Fractal noises (for water and rock) and white noise (for forest):

image (8).png

The parameters should be adjusted as well, but in my opinion, these parameters look good. The real struggle is that in Unity’s Perlin Noise the results are positive numbers while in Fast Noise the range for the noise is between -1.0 and 1.0. There are negative numbers to work on as well, so I extended the parameter range according to this. Finding the exact map that suits my taste is kind of hard thing to do but not impossible.

I’ll be updating you when I experience an Evreka moment 🙂 an I’m really eager to release this map with a river added!

So stay in tune!