Jump to content
  • Advertisement

Using perlin noise to generate scenery

Sign in to follow this  
Ed Welch


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.

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

Sign in to follow this  


Recommended Comments

You have some great ideas here.

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

Share this comment

Link to comment

Thanks very much.

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

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!