- Home /
Understanding how infinite terrain works
Hello! Recently I've been trying to add infinite terrain to my game but it has become very very confusing all of a sudden so I'd like to know if I understand how infinite terrain works. So I have created a noise map with the size of my render distance. When the player moves one chunk in a direction the noise map is once again generated with that offset and applied to the terrain. The problem I have is that creating a noise map everytime the player moves a chunk seems like a bad idea and when used it doesnt work fast enough. So then I tried making a HUGE noise map and just making the chunks use coordinates of that noise map to generate. With small sizes it works but then since this is created with float[,] it runs out of memory if its too big. Do I have the whole Idea wrong on how infinite terrain generation works?
I would like to add I know you cannot have truly infinite terrain but something like minecrafts infnite terrain is what I'm going for. Also my noise generation is more complex then just one simple perlin noise. It has frequency amplitude octaves stuff like that so constantly calculating noise can get hevy real fast depending on settings.
Your answer
Follow this Question
Related Questions
Perlin Noise only works in a single axis? 0 Answers
Perlin Noise only implements in one axis? 1 Answer
[C#] Wondering what is amiss with my 1D Perlin Noise Terrain Generator? 2 Answers
Procedual Terrain 1 Answer
3d Perlin Noise? 3 Answers