Questions tagged [perlin-noise]

Perlin noise is procedurally generated gradient noise. As its characteristics can be controlled, it is used mainly in visual effects.

Perlin noise is described in more detail in this Wikipedia article.

422 questions
228
votes
14 answers

Random / noise functions for GLSL

As the GPU driver vendors don't usually bother to implement noiseX in GLSL, I'm looking for a "graphics randomization swiss army knife" utility function set, preferably optimised to use within GPU shaders. I prefer GLSL, but code any language will…
Kos
  • 70,399
  • 25
  • 169
  • 233
57
votes
8 answers

Simplex noise vs Perlin noise

I would like to know why Perlin noise is still so popular today after Simplex came out. Simplex noise was made by Ken Perlin himself and it was suppose to take over his old algorithm which was slow for higher dimensions and with better quality (no…
38
votes
4 answers

Perlin Noise generation for terrain

I'm trying to implement some source code I found online to generate a height map using Perlin Noise. I've successfully managed to get the height map using the noise3 function, with the third coordinate being a random "seed", to allow for random…
Emma
  • 2,012
  • 5
  • 21
  • 30
30
votes
2 answers

How can I generate Perlin noise on a spherical surface?

I am trying to generate terrain using Perlin noise. I understand how to generate it using Cartesian coordinates, but can't quite wrap my head around how it would work on a sphere. I know that you can project 2D surfaces onto spheres, but wouldn't…
dlras2
  • 8,416
  • 7
  • 51
  • 90
24
votes
2 answers

Perlin noise algorithm

I'm having difficulty understanding a lot of the highly mathematical papers available online describing how Perlin noise generation works, and I'm wondering if anyone could point me in the direction of a more accessible introduction. I am looking to…
Johnny
  • 327
  • 2
  • 3
  • 4
22
votes
2 answers

Why does simplex noise seem to have *more* artifacts than classic Perlin noise?

I read Stefan Gustavson's excellent paper on simplex noise, in which I was promised that: Simplex noise has no noticeable directional artifacts in contrast with "classic" Perlin noise. I excitedly implemented it to find out that the opposite…
21
votes
3 answers

Python Random Map Generation with Perlin Noise

Recently, I've been attempting to defeat one of my main weaknesses in programming in general, random generation. I thought it would be an easy thing to do, but the lack of simple information is killing me on it. I don't want to sound dumb, but it…
NAME__
  • 625
  • 1
  • 7
  • 17
20
votes
2 answers

Perlin Noise for 1D?

Try as hard as I can, I cannot find any real tutorials on Perlin\Samplex Noise in 1D. I've searched all around the internet but just cannot find anything. Any sites I do come across mentioning 1D perlin noise are usually very unclear or just shows…
DubyaDubyaDubyaDot
  • 1,224
  • 2
  • 14
  • 24
20
votes
3 answers

JavaScript simplex / perlin noise

I'm trying to create a perlin / simplex / value noise function in JavaScript that will give results similar to the following: (Note: this image has already had a treshold applied. I want it without the treshold.) I've been looking all over the…
20
votes
1 answer

Best way to add seed to Perlin noise?

I'm trying to implement 2D Perlin noise generation in C++, and some implementations I found use no seed at all (here, here or here). Other implementations take a seed value to get different noise depending on the noise value. However I found example…
vividos
  • 6,468
  • 9
  • 43
  • 53
20
votes
1 answer

Fastest Perlin-Like 3D noise algorithm?

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 (procedural, natural-looking grouping, reduced banding, regular feature size,…
Nick Udell
  • 2,420
  • 5
  • 44
  • 83
20
votes
2 answers

Producing 2D perlin noise with numpy

I'm trying to produce 2D perlin noise using numpy, but instead of something smooth I get this : my broken perlin noise, with ugly squares everywhere For sure, I'm mixing up my dimensions somewhere, probably when I combine the four gradients ... But…
tgirod
  • 695
  • 1
  • 5
  • 11
20
votes
1 answer

Any Simplex Noise Tutorials or Resources?

I want to create a terrain-like 3D noise generator and after doing some research I came to the conclusion that Simplex Noise is by far the best type of noise to do this. I find the name quite misleading though as I have a lot of trouble finding…
Jeroen
  • 15,257
  • 12
  • 59
  • 102
15
votes
2 answers

How is a 3d perlin noise function used to generate terrain?

I can wrap my head around using a 2D Perlin noise function to generate the height value but I don't understand why a 3D Perlin noise function would be used. In Notch's blog, he mentioned using a 3D Perlin noise function for the terrain generation on…
Xavier
  • 8,828
  • 13
  • 64
  • 98
14
votes
2 answers

In need of Fractional Brownian Noise (FBM) vs Perlin Noise clarification

I'm researching the various types of noise for terrain generation and I'm a little confused regarding when noise becomes perlin noise and when perlin noise becomes fbm. I'm hoping somebody could clarify anywhere that I'm going wrong. I currently…
user2211776
  • 239
  • 1
  • 2
  • 11
1
2 3
28 29