85 questions
1
vote
0
answers
79
views
How to make a 2d simplex noise map that loops in both directions? Godot 3.6
So I've followed a few tutorials to try and do this but I'm not getting anywhere. What I'm trying to do is make a 2D noise map that loops in all directions (I'm making a game map you can walk around ...
0
votes
1
answer
60
views
Issue With 2d Noise
I'm making a top down survival game and I have done a procedural world gen using noise2D (FastNoiseLite). The next step was to randomize the seed, but I can't figure out how to...
Thanks
I tried :
@...
0
votes
0
answers
47
views
How do I generate Simplex noise with a bias on lower values?
I want to generate Simplex noise with a "bias" on lower values. The project I am using this for is intended to generate islands, but the islands are too close together and sometimes connect ...
1
vote
1
answer
687
views
Cannot get npm simplex-noise package import to work in JS project
I am having trouble getting this package to work. I have made a basic P5JS project and I cannot get the import to work in my JS file.
This is my JS file which works fine in the browser until I add the ...
0
votes
1
answer
270
views
WebGL: INVALID_OPERATION: texImage2D: ArrayBufferView not big enough for request
using twgl.js, I keep getting this error when I call twgl.createTexture. Im making a map using simplex noise from noisejs, and each pixel on the screen has a height value and a moisture value. It ...
3
votes
1
answer
324
views
Noise function outputs subtly different result when converted from hlsl to c#
I am making a game in which I procedurally generate planets using a compute shader which builds a deformed sphere based on noise from a noise function I downloaded. The whole system works fine in the ...
0
votes
1
answer
280
views
How can I improve the performance of my HTML5 2D canvas?
I've made a "biome gridmap playground" app which help to design biomes for a 2D grid map using simplex noise. The algorithm is roughly this: for each grid map tile, we look at the noises ...
1
vote
1
answer
103
views
Why is no data getting written to image?
I'm trying to create procedural textures, and for that, I'm generating noise, and then writing that data to an image file, to be displayed. So far I generated the noise, and now I'm trying to write ...
0
votes
1
answer
170
views
Symbol.tsx: undefined is not a constructor (evaluating 'new _simplexNoise.default(i + "-" + j)')
construct.js infraction, coupled in with the source at Symbol.tsx, likely.
Symbol.tsx
import type {
SkFont,
Vector,
SkiaValue,
SkiaClockValue,
} from "@shopify/react-native-skia";
...
2
votes
1
answer
384
views
Infinte map generation in isometric game - Java LibGDX
I'm currently trying to learn game developing in Java with LibGDX and have a few questions regarding infinite map generation in an isometric type tile game. My current code in a Screen constructor ...
1
vote
1
answer
446
views
I can't get this demo to work on my computer in three.js and cannon.js from sandbox
Here is the demo but it always says that I am missing the modules whereas I have all the dependancies : https://tympanus.net/codrops/2020/02/11/how-to-create-a-physics-based-3d-cloth-with-cannon-js-...
0
votes
1
answer
133
views
Physics.Raycast not working with a Marching Cubes -generated mesh
What it spits out
My raycast spits out a position way off from what it's supposed to be. I'm trying to place objects procedurally on a procedural mesh. I've been scratching my head at this for a while....
0
votes
1
answer
670
views
How does Roblox's math.noise() deal with negative inputs?
While messing around with noise outside of Roblox, I realized Perlin/Simplex Noise does not like negative inputs. Remembering Roblox has a noise function, I tried there, and found out negative ...
0
votes
1
answer
389
views
Issue with seamless 1-D SImplex noise
Typically when generating seamless Simplex noise the strategy is to go to 4-dimensions (a strategy which has worked well for me in the past when using 2-D Simplex), however I am trying to generate a ...
3
votes
1
answer
931
views
How can I generate a circle/square gradient and store it in a 2d array?
I'm trying to figure out how I can - or at least where I can read more about it - create a circle / square gradient and store the data in a 2d array.
My goal is to use the gradient with simplex-noise ...
2
votes
1
answer
608
views
Transforming simplex noise value to color
I am trying to create a 256x256 heightmap using simplex noise. The noise function returns a value between -1 and 1 and this is my current attempt to turn that value into a gray value.
import { ...
1
vote
1
answer
461
views
Speed up Simplex Noise
I want to make a Java program, in which moving sky is generated out of Simplex Noise, but I have performance issues (framerate is too low). I'm using https://github.com/KdotJPG/OpenSimplex2/blob/...
0
votes
1
answer
1k
views
Godot - How can I make my chunks generate around the player in a 3 by 3 grid
How can I generate chunks in a 3 by 3 grid so that there is always 9 grid instances in the scene? Currently I only have 1 chunk generating every time the player moves to a new area/chunk.
To make it ...
0
votes
0
answers
252
views
Gain/Persistence in Simplex Noise based on slope
I'm currently working on a terrain engine and I'm experimenting a little bit with noise. It's so fascinating to see what different structures, functions and pure imagination can create with just a few ...
3
votes
1
answer
2k
views
What is the intent of using 4D OpenSimplex Noise instead of 2D Perlin Noise to create a looping noise?
While I was learning about ways to create a looping generative art GIF, I encountered two different ways of making noise loops.
Etienne Jacob's example code in his tutorial uses 4D OpenSimplex Noise ...
1
vote
1
answer
421
views
How to adjust Color Properly in a Noise Pattern?
I am trying to write a noise pattern that resembles wood in GLSL. Here is my current code:
#ifdef GL_ES
precision mediump float;
#endif
uniform vec2 u_resolution;
float random (in vec2 st) {
...
0
votes
0
answers
143
views
Is there any way to improve performance of my procedural generation code?
I've been working on a project lately that creates procedurally generated terrain which uses 3d simplex noise as well as the Marching cubes algorithm. I am currently running it on my cpu which takes ...
2
votes
0
answers
492
views
Why is the quality of my GLSL simplex noise so much worse then the one run on Java?
I've been working on an infinetly procedurally generated terrain using Simplex Noise. I've decided to improve its performance by transferring the Code for simplex noise to my compute shader. The ...
1
vote
2
answers
173
views
SimplexNoise rescaling the Gradient inside fbm
How do i need to modify the gradient vector in my fbm loop?
The Problem is that i can't get the Normals calculated right with this code...
They are pointing just a bit off the right direction, this ...
0
votes
0
answers
90
views
Color individual vertices on a plane threejs
I want to create a terrain generator with three.js and simplex noise, but I don't know how to color the vertices on the plane according to their biome. Here is my code:
document.addEventListener("...
2
votes
1
answer
244
views
Creating Terrain(shape) in Pymunk using Opennoise
I have been trying to create a game in pymunk with a 2D terrain using Opennoise. The coordinates of the terrain are:
from opensimplex import OpenSimplex
noise = OpenSimplex()
inputs = np.zeros((...
0
votes
0
answers
336
views
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 ...
0
votes
1
answer
258
views
CDLOD issue with lighting while morphing triangles
I have an Icosahedron subdivided and with LOD. Now i am trying to add a dynamic Material.
The Problem is that i need the Normals for that.
I use Unreal Engine 4, when i use the build in Function to ...
-1
votes
1
answer
540
views
How to generate multiple 3D Coordinates with noise [closed]
I am currently trying to generate a 3D planetary map like No Man's Sky does using the simplex noise plugin in unreal engine blueprints. How can i generate coordinates for the individual planets?
I ...
2
votes
1
answer
547
views
Simplex noise range too small
I'm using the following implementation of simplex noise (Appendix B):
https://www.csee.umbc.edu/~olano/s2002c36/ch02.pdf
This was written by Ken Perlin himself.
The code in the PDF is written in ...
0
votes
2
answers
2k
views
Simplex noise to generate a set of images
I need to generate a set of images using simplex noise. Below you can find the code I developed and an output image.
How can make the code to generate different images every time I run it? At the ...
0
votes
1
answer
366
views
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 ...
0
votes
1
answer
62
views
SimplexNoise not giving out correct image
I am currently toying around with Noises, like Perlin and SimplexNoise.
When I integrate the Noise function into my code, I get something that looks like static, which it clearly shouldn't be.
Here is ...
-1
votes
1
answer
2k
views
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. ...
0
votes
0
answers
394
views
How to draw simplex noise fast on JavaFX canvas?
I'm using Kurt Spencer's implementation of OpenSimplexNoise found here.
I'm trying to draw the resulting noise on a 512x52 JavaFX Canvas as fast as possible.
Note: Not shown in the code below for ...
3
votes
0
answers
691
views
Why is wrapping coordinates not making my simplex noise tile seamlessly?
I've been trying to create a fake 3D texture that repeats in shadertoy (see here, use wasd to move, arrow keys to rotate) But as you can see, it doesn't tile.
I generate the noise myself, and I've ...
0
votes
2
answers
229
views
THREE.js Mutating vertices of Plane according to Data from mp3
So i've been stuck for a while because i've been having trouble dynamically changing the shape of the vertices in a place geometry according to the frequency data of an mp3, I've been having 2 main ...
3
votes
1
answer
4k
views
Python Procedural 2d map generator explanation
So i found a certain procedural map generator in Python and I understand parts of it but i'm having a very hard time piecing it together to be able to modify it to suite my needs so I was wondering if ...
2
votes
1
answer
311
views
OpenSimplex and PyQt5: Why is my function taking so long?
I am trying to implement Simplex Noise using PyQt5 and Python to create Proceduraly Generated Height maps for simulation purposes. I have chosen PyQt5 because that is the GUI I am most familiar with. ...
0
votes
1
answer
2k
views
OpenSimplex noise generation problems (just seems random, is my function wrong?)
I'm working on a 2d tile based game in pygame and I'm trying to use a noise map to generate my map.
I've installed the OpenSimplex library and everything works fine there.
Problem is that I don't ...
0
votes
1
answer
1k
views
Determinisitic Compute Shader For Simplex Noise In Unity
So I have been trying to use the power of compute shaders to speed up the process of generating simplex noise for my map terrain generation in unity. The problem is that for the game to work it ...
0
votes
0
answers
61
views
How to use index to derive pseudorandom gradient in 2D simplex noise
When using simplex noise one of it's main features is in the generation of gradients on-the-fly. This algorithm is described here. The problem is that even in the patent the gradient generation ...
1
vote
2
answers
3k
views
Smoothly mapping a 2D uv point onto a 3D xyz sphere
I have been trying to procedurally generate a sphere's surface using simplex noise, and I figured that in order to get smooth, non-distorted noise I need to map each uv pixel to an xyz coordinate. I ...
2
votes
1
answer
2k
views
Inaccurate shader precision on android compared to webgl
I am trying make a simplex noise on android, based on this example:
https://github.com/ashima/webgl-noise/blob/master/src/noise2D.glsl
After converting the code and compiling it on the device, I ...
2
votes
1
answer
1k
views
Random seed for Simplex noise
I'm procedurally generating terrain for games. I gave Simplex noise a shot. The terrain is generated beautifully. However, when I run the program multiple times, the terrain is the exact same. How to ...
0
votes
1
answer
306
views
Simplex noise reference to array
EDIT: I have been adjusting the sliders on the Simplex noise constructor. I have used more softer floating point numbers and have seen reduced numbers of bars. Possible solution?
{ frequency: 0.001, ...
0
votes
1
answer
1k
views
Make Perlin Noise Scaleable
I got a perlin noise algorithm and an opensimplex noise algorithm that returns a double based on the X and Y values given. I'm designing software and I would like to know how to:
Scale the perlin ...
0
votes
1
answer
358
views
How to use SimplexNoise for 1D
I've been playing around with Simplex Noise. But I still dont know how I should use it right. My Goal is to get a terrain for an Sidescroller game. It shoud have a polygonal style look.
I got the ...
1
vote
1
answer
668
views
OpenSimplexNoise higher detail level
I'm new to world generation and the algorithms which are used for them, so I hope someone can give me some usefull explanation or code or both or links to some resources I missed while searching for a ...
0
votes
1
answer
1k
views
Draw and get OpenSimplexNoise result
I want to generate a random terrain with OpenSimplexNoise. To start I just want to get a result and draw it to a window.
My question is now: How can I get the correct output of OpenSimplexNoise (...