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
0
votes
2 answers

pnoise2() function in noise module produces SegFault python 3.8

I am trying to procedurally generate some maps for a game I am working on, and I am trying to use the perlin noise function from the noise module. By following some tutorials on the internet, I found out that I had to use it this way: import…
Ciro García
  • 601
  • 5
  • 22
0
votes
1 answer

How to get smoother values?

I am working on a project and one of the parts is to generate a mountain. Someone passed me the source code and I've tried to modify it to fit my needs but the output is not exactly what it needs to be. It is great to generate some flat values for…
AestheticCode
  • 115
  • 1
  • 7
0
votes
1 answer

How to compute the derivative of multi octave perlin noise

I have implemented Perlin Noise (3d) that will not just yield me a field value, but also an analytical derivative. For the analytical derivative, I followed the scratchapixel guide. This is all fine, but I do not know how to treat the derivative if…
Bram
  • 7,440
  • 3
  • 52
  • 94
0
votes
0 answers

How to Create a Multidimenisonal PRNG?

I am working on a procedural terrain generator, but the 3d Map is constantly morphing and changing, calling for at least 4d noise (5d if I need to make it loop). I haven't found a good perlin/simplex noise library that will work in this many…
Bagel03
  • 725
  • 7
  • 22
0
votes
0 answers

Simplex 3D noise animation halts on mobile

I'm using Stefan Gustavson's GLSL impl. of Simplex noise and animating it using WebGL. Works just fine on desktop, but on my Android device, both Chrome and Firefox, the animation always halts after a fixed period. There's no error/warning, the…
ydaniv
  • 1,289
  • 11
  • 18
0
votes
2 answers

Perlin Noise wave effect on a 3d sphere

I have been trying to figure out how to create wave effect on a 3d sphere using Perlin Noise I have found some tutorials on how to do it on a plane, however, none on a 3d object, This code works just fine on a plane, does anyone know how to adapt it…
0
votes
0 answers

How to extract unconnected structures from noise-generated image?

I'm working on a map generator for a strategy browser game. The goal is to have randomly generated islands with height information. I am using Perlin Noise to get these random structures representing islands: Image of islands For the game I need…
0
votes
1 answer

Understanding 3D Perlin Noise

I've been recently studying procedurally generated terrain using two dimensional Perlin Noise. I'm using Unreal Engine 4 blueprints as a way to prototype, but will soon transfer to C++. I have an array of vertices that construct a two dimensional…
ShortStack
  • 1
  • 2
  • 2
0
votes
1 answer

What is the cause of artifacts on the Z axis in my 3D perlin noise?

I am currently working on a 3D Perlin noise implementation in C++, and there are strange block-like artifacts when I visualize it as a video of 2D slices through the 3D volume as defined by this code with just one octave: #include…
john01dav
  • 1,842
  • 1
  • 21
  • 40
0
votes
1 answer

Calculation island error with perlin noise

I'm developing a small project, which is a grid of 100 x 100 hexagons. In the script below, I paint my hexagons with the perlin noise, but the format I want to island does not go away. I'll leave my code and 2 examples as my map stays and how I wish…
DROPE
  • 15
  • 7
0
votes
1 answer

Texture turning black instead of showing 2D Perlin Noise

I'm trying to learn more about programming with Unity, so I have been following this tutorial about Perlin Noise terrain generation. I have followed along and checked my work, but for whatever reason when I try to generate the noise the texture of…
Zelkins
  • 723
  • 1
  • 5
  • 22
0
votes
1 answer

External "noise" library only produces identical values for list elements

I am trying to teach myself how to use the Python external "noise" library that can be found on GitHub here. I'm trying to work through the tutorial on the Red Blob Games website here. However, I'm not sure how to actually make it do anything. I've…
LuminousNutria
  • 1,883
  • 2
  • 18
  • 44
0
votes
1 answer

Processing noise implementation has strictly positive range

At this page, and in the docs for p5.js, Perlin noise is described as having an output range of [0,1], but all other implementations I've found have a small range symmetric about 0, and it seems that this is what should theoretically hold as well.…
0
votes
1 answer

Multiple three.js canvas

I'm working on two modified versions of this Three.js animation: https://codepen.io/farisk/pen/vrbzwL var renderer = new THREE.WebGLRenderer({ canvas : document.getElementById('canvas1'), antialias:true, alpha: true}); // default bg canvas color…
Juárez
  • 121
  • 1
  • 1
  • 10
0
votes
1 answer

Why using chuncks with infinite world creation (unity C# 2d top down)

I'm making a 2D top dowm survival game, I have Perlin-Noise working (I load different sprites based on the Perlin-Noise value) but now I'm at the point to spawn the "floor" inside camera-view and delete "floor" outside the camera-view. When I google…