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
3 answers

Animate an UV sphere with (4D?) noise

I am using a C# port of libnoise with XNA (I know it's dead) to generate planets. There is a function in libnoise that receives the coordinates of a vertex in a sphere surface (latitude and longitude) and returns a random value (from -1 to 1). So…
Pedro Henrique
  • 680
  • 7
  • 22
0
votes
0 answers

Smooth Lower Resolution Voxel Noise

After reading the blog post at n0tch.tumblr.com/post/4231184692/terrain-generation-part-1. I was interested in Notch's solution by sampling at lower resolutions. I implemented this solution in my engine, but instantly noticed he didn't go into…
0
votes
2 answers

Unity 5 renderer.material.setTexture("_PARALLAXMAP"); Won't change the heightmap

So I have been working on a piece of code that generates a perlin noise texture and applies it to a plane in order to create waves. But I can't get it to set the heightmap texture of the material. I have included…
Somebody
  • 333
  • 3
  • 12
0
votes
1 answer

How do the permutation and gradient tables of Perlin and Simplex Noise work in practice?

So I have been doing a bit of research into how Perlin and Simplex noise work and, while I get the core principles of regular Perlin noise I'm a little bit confused about how the permutation and gradient tables work. From my understanding, they…
0
votes
0 answers

Discontinuous Derivative of Perlin Noise

So I've been trying to implement Perlin noise recently, and have run into some unusual problems. Whenever the edges of the grid in which the random vectors are stored are crossed, the derivative appears to be discontinuous. Here's a link to a…
0
votes
1 answer

Why do noise algorithms use 256 permutation values?

I have seen many noise implementations for things like perlin and simplex noise to achieve procedural terrain generation, and they all seem to use 256 permutation values. Why is this? and what would be the effect of using more than 256?
Kelan
  • 355
  • 4
  • 16
0
votes
0 answers

Unity3d temperature simulation

I'm writing a monster AI that has some aspects of group mentality for my game. My first question is what would be the best way to make a heatmap in unity for migration patterns and such. I can figure out lots of things on my own, but I would like…
Var14ble
  • 111
  • 1
  • 1
  • 8
0
votes
2 answers

Map Generation with perlin noise lags after 256 x 256 cube array

I have a Unity project in which I have the necessary code to create a texture anywhere from 2x2 to 512x512 and fill it with perlin noise. I am using this texture to populate a map of blocks (think minecraft) . The map generates correctly, but Unity…
user1801067
  • 133
  • 2
  • 12
0
votes
1 answer

Create terrain from perlin noise

So I have been trying to make a Minecraft-like infinite and dynamic world generation and have been using Perlin Noise to get a random but smooth terrain. I'm using Unity (version 5.0.2f1, at this time) so excuse any non-pure-JavaScript things. (Just…
Ege F
  • 107
  • 1
  • 1
  • 9
0
votes
1 answer

Simplex Noise Adjustments only working in one direction

I am making a heightmap using simplex noise. I am running into problems adjusting it to give a slight tendency to form an island. I am just working on getting the values to be correct before actually rendering the biomes and other features. I have…
chbachman
  • 27
  • 1
  • 7
0
votes
1 answer

Make many lit triangles look smooth

I am trying to create a program that shows a wave-like animation using Perlin Noise by creating many triangles. This is the important part of my program: class OGLT9_NOISE { //class for Perlin Noise (noise3d()) and Fractional Brownian Motion…
sigalor
  • 901
  • 11
  • 24
0
votes
1 answer

c++ libnoise error to Perlin

i installed libnoise on windows with code::blocks and at compiling it gives an error: undefined reference to `noise::module::Perlin::Perlin()' undefined reference to `noise::module::Perlin::GetValue(double, double, double) const' undefined reference…
0
votes
2 answers

Array won't split (using splice(0))

I am attempting something like a perlin noise map, but my array won't duplicate! As a result the array value exceeds the expected value (>2). Array "map" consist of only 1's and 0's. A copy of map is made (called cache) and values from the array…
Apollo Creed
  • 219
  • 3
  • 18
0
votes
0 answers

1D Smooth Noise Function with Seed

I cannot for the life of me find a java implementation of 1-dimensional noise with a seed. I don't even need it to be Perlin/Simplex noise, I just need a simple and fairly smooth noise function. I hate to beg for source code, but I cannot find a…
mario_sunny
  • 1,412
  • 11
  • 29
0
votes
1 answer

Popular Perlin Noise pseudo-random function is not working

Many Perlin Noise tutorials and implementations (here, here, here, etc.) use a function for generating pseudo-random values like this: function Noise(integer x, integer y) n = x + y * 57 n = (n<<13) ^ n; return ( 1.0 - ( (n * (n * n *…
topright gamedev
  • 2,617
  • 7
  • 35
  • 53