See title. Any help is appreciated!
Search for Perlin Noise and you should get some hints for Terrain Generation.
The book Texturing & Modeling: A Procedural Approach by Ebert, Musgrave, Peachey, Perlin, Worley has a couple of chapters about fractals and terrain creation. The book comes with sample code for fBm terrain creation written by Musgrave, using the Perlin noise function. I've used it for teaching as a reasonably simple program that's easy to play with.
Check Iñigo Quilez (expert in this specific field) tutorials here (terrain ray-marching) : http://www.iquilezles.org/www/index.htm http://www.iquilezles.org/www/articles/terrainmarching/terrainmarching.htm
He also has an awesome WebGL shader editor (shadertoy) and this specific example may also be of interest : https://www.shadertoy.com/view/XsX3RB
© 2022 - 2024 — McMap. All rights reserved.