Original Post
What are some of the techniques to fake infinite terrain?
Quote:
Original post by Narf the Mouse
Perlin noise terrain: Link
Basically, the height of any point on the terrain depends on the location of said point. So, as long as the centerpoint is always the same...
Seeding:Array n[0] = seed * 1376312627;Array n[0] = (((n[0] * (n[0] * n[0] * 15727 + 789181) + 1376312627) & 0x7fffffff));CalculatingArray n = (((n[i - 1] * (n[i - 1] * n[i - 1] * 15727 + 789181) + 1376312627) & 0x7fffffff));Int32 n = x + y * 1376312627;Int32 n = (((n * (n * n * 15727 + 789181) + 1376312627) & 0x7fffffff));This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more