perlin noise
Blitz3D Forums/Blitz3D Programming/perlin noise
| ||
Does anyone know how to create perlin noise in bb? I found some great articles but I'm not that good at maths. http://www.bundysoft.com/docs/doku.php?id=l3dt:algorithms http://freespace.virgin.net/hugo.elias/models/m_perlin.htm I'm just trying to create a terrain generator. thanks. |
| ||
This looks like it could be good: Improved Perlin Noise 2D and 3D ... as does this: Perlin Noise HeightMap Generator You might also want to look up the Diamond-square algorithm, which may be faster at producing equivalent results; it is certainly both simpler and more suited to a "mesh" implementation than an "image" implementation, so you can just generate the terrain mesh or final heightmap directly, rather than messing about with blending intermediate images. Last edited 2012 |
| ||
I did the same thing. My terrain generator is not complete, but you can take a look at it here: http://www.lumpcat.com/?q=node/2 Good luck! |