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
1 answer

1-dimension Perlin Noise implementation in Clojure

I'm searching for an implementation of 1-dimension perlin noise in Clojure, so far i find a 3-Dimension implementation: https://github.com/indy/perlin/blob/master/src/perlin/core.clj But it don't really fit my needs There is also the one from…
szymanowski
  • 1,359
  • 1
  • 14
  • 25
0
votes
1 answer

height map related issue

I am trying to make a program in Java that uses Perlin noise to make a black and white height map. I tried using the code from here to implement the noise. I used the code below to try to make the noise make a height map but what I get is something…
Will_Opar
  • 41
  • 5
0
votes
1 answer

Create natural Perlin Noise

http://image.kilho.net/?pk=1420781 I am trying to use perlin noise to create terrain. But I always get above noise. http://image.kilho.net/?pk=1420774 What I want to get is the last(7th) image. But my noise image looks like 4th or 5th image. here is…
bmyu
  • 65
  • 1
  • 5
0
votes
1 answer

how do I display an image in a nested switch statement?

I am currently trying to make a game that involves a randomly generated world. I currently have a working splash screen and a working perlin noise gen with it normalized. all i need is a way to implement the code to display the images. the…
0
votes
1 answer

Noise++ Perlin Module returns 0 all the time

Im using the Noise++ Library to generate noise in my program, well at least thats the aim. I have it setup like one of the tests in order to test it out, however no matter what parameters I give it I only get 0 back If anyone has any experience with…
Richy19
  • 85
  • 1
  • 7
0
votes
1 answer

Performance issues when checking if tile is in camera view java swing

I am making a tile based Game, i generate a random map using perlin's noise. When my map is 100 * 100 tiles it works fine but when my map is 1000 * 1000 tiles i get performance issues, I solved most of these by checking if my tiles were in the…
sanchixx
  • 275
  • 2
  • 5
  • 12
0
votes
0 answers

Methods to generate image based on Perlin Noise array

I'm trying to begin learning to use Perlin Noise to create a tile map. I'm just beginning so I found some source code online to create an array based on Perlin Noise. So I have an array of good data right now (as far as I know) but I don't…
Corey
  • 152
  • 1
  • 3
  • 11
0
votes
1 answer

Artefacts in Interpolated Value Noise

I'm trying to create a basic value noise function. I've reached the point where it's outputting it but within the output there are unexpected artefacts popping up such as diagonal discontinuous lines and blurs. I just can't seem to find what's…
0
votes
2 answers

Using Perlin noise to generate a 2d tile map

I looked all over the internet and researched Perlin noise, however, I am still confused. I am using java and libgdx. I have got a Perlin class to work and generate noise but I'm not sure if the values its giving are correct. How do I check it…
user2489897
  • 77
  • 1
  • 1
  • 9
0
votes
2 answers

Desiring jagged results from simplex noise or another algorithm just as fast

I'm wanting to do some placement of objects like trees and the like based on noise for the terrain of a game/tech demo. I've used value noise previously and I believe I understand perlin noise well enough. Simplex noise, however, escapes me quite…
Mythics
  • 773
  • 1
  • 10
  • 19
0
votes
1 answer

Heightmap Generation using Perlin Noise returns black bitmap

i'm making a Heightmap Generator using Perlin Noise, as the title says. i've used a pseudocode from this site -> http://freespace.virgin.net/hugo.elias/models/m_perlin.htm and turned in to C# code. so far i've done all the variable type assignment…
Ace
  • 1,437
  • 6
  • 28
  • 46
0
votes
1 answer

Perlin Noise Image Creation In C#

i've seen so many examples for perlin noise out there, but they all where slightly diferent. i'm wondering how i can use perlin noise algorythm to create an image in c#. i would like to have a function that every time i call it, generates a new…
Ace
  • 1,437
  • 6
  • 28
  • 46
0
votes
2 answers

Heterogeneous tiles and perlin noise

I am trying to implement a tiled game with heterogeneous tiles; tiles of different sizes. All tilesizes are rounded in size (to a meter) to make it easier. I am looking for a algorithm that fits the tiles in pseudorandom order, with the requirement…
RobotRock
  • 4,211
  • 6
  • 46
  • 86
0
votes
2 answers

Map Generator with Weighted Perlin Noises

I have got an arbitary number of perlin noise maps and a weight for each. The sum of all weights is 1, but that shouln't make a difference. I want to get that noise with the highest value regarding the weight. My first approach was to get the…
DiddiZ
  • 625
  • 8
  • 17
0
votes
1 answer

Java perlin noise

I need to make perlin noise like in AS3.0: bitmapData.perlinNoise(baseX, baseY, numOctaves, randomSeed, stitch, fractalNoise, grayScale, offsets); It's seamless noise: I found a lot of material about it, but I can't make it like in my as3.0…
Leo
  • 3,003
  • 5
  • 38
  • 61