Using perlin noise to generate scenery

posted in Merc Tactics
Published February 03, 2017
Advertisement

All scene's in MercTactics are generated randomly.
Previously, I've just "sprinkled" stuff into a scene randomly, but this doesn't look very good. Stuff tends to be clumped together in the natural world.
So, I used a Perlin noise map to control the placement of plants and rocks.
In fact, for the rocks I use two perlin maps, one to control size and one to control colour, because rocks of the same colour tend to be clumped together as well.
I use a less detailed perlin map for tone, so the colour changes more gradually.
perlinNoise.jpg

Finally, I use a third Perlin map to control the placement of grass, weed and trees.
This is how the complete scene turned out:
finishedScene.jpg

 
6 likes 2 comments

Comments

Navyman

You have some great ideas here.

A sidenote, a before and after set of shots would have been great!

February 04, 2017 04:41 PM
Ed Welch

Thanks very much.

Unfortunately, I never took a screen shot of the first version :(.

February 04, 2017 07:07 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement