Fastest Perlin-Like 3D noise algorithm?

前端 未结 2 1218
南方客
南方客 2020-12-17 10:29

It\'s been well over 20 years since Ken Perlin first invented his noise. Has anybody managed to make a faster kind of 3D noise generator with properties close to Perlin\'s (

相关标签:
2条回答
  • 2020-12-17 10:46

    You want Simplex Noise.

    • less computationally expensive
    • not based on a square grid, so no obvious directional artifacts
    • scales better to higher dimensions: O(N^2) vs Classic Perlin's O(2^N) for N dimensions

    There's a good explanation here. Apparently Ken Perlin's example implementation is not the most easy to understand code.

    0 讨论(0)
  • 2020-12-17 10:52

    A year ago, I was needing a fast Perlin Noise too and have finally implemented this one.

    Java Gaming which is 2d in java but can be turned into 3d easily (and indeed in any other language other than java).

    Depending on your need you can just use something like noise2d*noise1d (or similar trick), here is a trick sample (should be noise2d*noise1d) rendering in full Java Software.

    0 讨论(0)
提交回复
热议问题