سؤال

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!

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top