Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

This question already has an answer here:

I've just started learning 3d stuff and want to make minecraft clone, cause cubes are easy ( I hope ) :) Arleady wrote chunk creation, menagement and displaying and want to generate nice terrain, but I dont know how. I found simplex noise and perlin noise c++ ports, but I dont know how to use these functions to generate heightmap. I tried it but terrain is mostly "jumpy". I want it more smooth/real.

Should I use 2d or 3d version and what octaves, persistance, and scale settings should I use? Should x y z be my array index values or time or what? I just need explaination how to use these noise fuction to generate map. I know there's a lot of stuff about this, but I really run through tons of it and still don't get it, so any explaination or links are welcome. Thanks in advance!

share|improve this question

marked as duplicate by Byte56, Anko, msell, bummzack, Josh Petrie May 21 '13 at 14:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

add comment

1 Answer 1

Start here: Really nice noise library because using noise in a meaningful way takes a little work.

Most of your "what octaves, persistence... etc..." questions are answered by trying values and sticking with what works for you, there is no universal truth otherwise all maps in all games would look the same. In fact, the best way to get up to speed is to build a quick tool that lets you change these values and generate new data dynamically so you can see what these different numbers do to real data.

The basic concept is that you have a variety of noise types at your disposal and the art of creating usable maps comes from layering these noises much like a photoshop artist layers graphics to get the final picture.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.