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

Unity TerrainData not compatible with absolute elevations?

Is it possible for the Unity TerrainData structure to take absolute elevations? I have a terrain generator that generates absolute elevations, but they are huge. The perlin octave with the highest amplitude is the one that decides what altitude the…
Miles
  • 1,858
  • 1
  • 21
  • 34
0
votes
1 answer

Perlin Noise issue

I've created a Perlin noise function. My issue is when I generate a terrain map from the noise it ends up blocky, nothing like the cloudlike images I've seen. I'm curious on what I'm doing wrong (if anything). here's my code: main.cpp #include…
0
votes
2 answers

Make 3D perlin noise function from 2D function

So, I am trying to plot abstract shapes that change with time using openGL. For that, I want to use the Perlin noise function. This code (http://www.sorgonet.com/linux/noise_textures/) is a just perfect start for me, except for the fact that the…
bluewhale
  • 167
  • 3
  • 13
-1
votes
1 answer

How do I make the perlin-noise module for python use a seed?

I'm trying to add infinite generation to a game I'm working on in pygame. Here is the code I am having trouble with: from perlin_noise import PerlinNoise global world, xpix, chunkSize #set globals chunkSize = (12, 12) xpix, ypix =…
Gooberton
  • 17
  • 7
-1
votes
1 answer

What does it mean to 'instantiate' a class?

I have found this code regarding 3D perlin noise: https://blog.kazade.co.uk/2014/05/a-public-domain-c11-1d2d3d-perlin-noise.html I created a noise.h file from the first chunk of code. Then I added the second chunk to my C++ project, included the…
Rich95
  • 199
  • 1
  • 3
  • 18
-1
votes
3 answers

How to generate perlin noise in pygame?

I am trying to make a survival game and I have a problem with perlin noise. My program gives me this: But I want something like islands or rivers. Here's my code: #SetUp# import pygame, sys, random pygame.init() win = pygame.display.set_mode((800,…
Pydude
  • 149
  • 13
-1
votes
2 answers

Software Perlin noise implementation

I have written a 2D Perlin noise implementation based on information from here, here, here, and here. However, the output looks like this. public static double Perlin(double X, double XScale, double Y, double YScale, double Persistance, double…
bob_twinkles
  • 252
  • 2
  • 9
-1
votes
1 answer

How can i get a two dimensional terraria like a map using python

I am trying to get a natural looking landscape like the game Terraria. I use a cellular automaton to generate caves and 1d Perlin noise for surface. The result is something like this: my prototype But this is not satisfactory to me because the…
-1
votes
1 answer

Using 1D Perlin Noise to Generate 2D Terrain

Alright, so I'm working with Swift, and I have GameKit's GKNoise class which allows me to get a noise value given an input. If you graph it you get that standard perlin noise mountain. What I need to do is create a second perlin noise function that…
theParadox42
  • 65
  • 1
  • 7
-1
votes
1 answer

How do I fill a massive 2D array

I am currently trying to make a Perlin noise generator in C# and I need a massive 2D array to use. This is my current solution, but for a bigger array, I could not do this. int[,] noise = new int[8, 8]{ {0,0,0,0,0,0,0,0}, {0,0,0,0,0,0,0,0}, …
mr dr
  • 1
  • 1
  • 1
-1
votes
1 answer

2D Platformer procedural world generator

i am currently developing a 2D tile based java platformer. Not to earn money, just for fun. Recently i found this game called Caveblazers. It is a 2D platformer too and i think it is also tile based. It's world is procedurally generated and looks…
-1
votes
1 answer

Improved Perlin syntax

In Ken Perlin's improvement on his own Perlin Noise formula he has a certain grad function where he calculates the pseudorandom gradient can anyone tell me what the syntax he's using actually means? I'm not familiar with it. This is the grad…
nachtwezen
  • 123
  • 9
-2
votes
1 answer

How solving Problem installing the noise package

I tried to install noise Python package, but I encountered this error ` PS C:\Users\MacBook\Desktop\python-superhi> python -m pip install noise Collecting noise Using cached noise-1.2.2.zip (132 kB) Preparing metadata (setup.py) ... done Building…
-2
votes
1 answer

Need help in perline noise ursina to make an a plain land

i understood using perlin-noise to make a pattern with cubes but what i want to is a random terrain plain land such as this game called muck (that has been devolped by unity) i've tried doing: noise = PerlinNoise(octaves=3, seed=2007) amp = 3 freq =…
Bahjat
  • 25
  • 4
-2
votes
1 answer

how to understand Perlin Noise and how to use it?

I'm desperate right now. Searched every corner and everything to figure out but i still cant.. I'm looking how to use noise to generate a tiled 2d map in java. This is the only thing i ever wanted in programming to know this. Best way to me to learn…
1 2 3
28
29