I am trying to make a 3-d java lwjgl game that stores the data in chunks and generates one chunk at a time as the player explores (infinite). How does the terrain blend between the chunks so that it is seamless? I am stumped after researching for a long time (days, many days). Please help me!
Asked
Active
Viewed 2,163 times
0
-
Also, if you will have questions related to algorithms in GameDev, I think it will be more helpful to ask them on [GameDev.StackExchange](http://gamedev.stackexchange.com/) – Jul 07 '12 at 17:48
1 Answers
2
Try to use box-based terrain generator algorithms.
To make transition between boxes smooth, use small boxes upon generating your terrain.
How much small boxes should be depends on smoothness you want to achieve.
Smaller boxes lead to smoother terrain.
-
-
1Use [Perlin noise algorithm for 3D-space](http://stackoverflow.com/questions/6091468/how-is-a-3d-perlin-noise-function-used-to-generate-terrain). – Jul 07 '12 at 19:29