Programmatic generation of content (graphics, sounds, level-design,...) using random or pseudo-random processes, usually on the fly.
Questions tagged [procedural-generation]
535 questions
-1
votes
1 answer
Connect two procedurally generated landscape pieces
I'm working on a procedural generation of a continuous world.
Recently I've been advised to use height map combinations to apply some constraints on my landscape.
The next step is connecting two procedurally generated pieces to each other so that…

JeB
- 11,653
- 10
- 58
- 87
-1
votes
3 answers
Random float [0-1] to n random floats [0-1]
If I have a set of random floats (0.0f - 1.0f) around a sphere (or even on a 2D grid would work too), each of which only differ by about 0.1f from their neighbors, is there a way to transform these floats into, say Colors, each of which's RGB values…

Xilo27
- 15
- 4
-2
votes
0 answers
Issue with room generation stuck at certain seeds Unity 2D
I use Two scripts for generation, but, sometimes it gets stuck and doesn't generate more rooms even when being way under the minimum rooms demanded. (I implemented a seed system to replicate the problem and try to solve it, just grab a seed with a…

DAL
- 1
- 3
-2
votes
2 answers
Unity Dungeon Generation
I'm attempting to generate random dungeons using prefabs.
I have it working to where it will pick a random doorway from a list of doorways and spawn a new room. I then have a script on the bounding box to update the room script for when it…

Extain
- 72
- 7
-2
votes
1 answer
For loop not starting from zero
I am trying to implement a biomes system into a procedural terrain generation system. I made it so that the height multiplier of each terrain chunk changes based on which biome it is, but that results in the player being able to go under the map…

Nwott
- 29
- 3
-2
votes
1 answer
Procedural modeling of 3d road network geometry and present it on Unity
Edit: As comments said, this question is way too complex so I only hope to get answers which focus on one certain part of this question. Welcome to any ideas in your mind.
I'm working on a project where I am supposed to analysis GIS (vector) data to…

Shinja YU
- 1
- 3
-3
votes
1 answer
Debug Assertion Failed in Visual Studio 2019 "string subscript out of range" C++
I'm making a game in C++ which I hope can successfully create a universe of its own procedurally, however, I've encountered an assertion error with the galaxy generation.
I have a class for Stars with the following parameters for the…

JacobFewell
- 1
- 1
-3
votes
1 answer
Procedural textures in OpenGL
I'm currently reading the "official" opengl guide book and their explanations and example codes are way too complex for me. I think I got the idea of procedural texturing, but I can't find any fine tutorial about them. Does anyone know a good guide…

McLovin
- 3,295
- 7
- 32
- 67
-4
votes
1 answer
How to store chunks in a procedural world?
I am making a game like Minecraft and I have already chunks, but I currently store those chunks in a two-dimensional array. So chunks that I loaded stay loaded and when I go on a border I can't generate more chunks because I use an array.
So my…

Nanored
- 31
- 7