Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - Matrix terrain generator

Years of Service
User Offline
Joined: 23rd Oct 2010
Posted: 10th Feb 2012 20:33
Just a simple terrain generator thing I made. It is loosely based of the diamond-square algorithm, and It works in chunks for reasons I have forgotten since I started coding it (2 days ago )
Also, I know matrices aren't amazing for stuff like this, and it's not optimized at all, so If you try to generate a 1000x1000 chunk terrain with a chunk size of 124, It might not work too well ^-^

PS. sorry for my terrible forum name, I made this account when I was young

Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 11th Feb 2012 04:13
nice work

wish I was at the point of doing things like this

to move side ways - is to move forward
Since a Strait line gets thin fast
AGK Backer
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 12th Feb 2012 20:53
its rather unoptimised... perhaps look into stretching near level areas?

hmm hope that makes sense...

But I agree with Resourceful I share the same thought...

Login to post a reply

Server time is: 2023-12-09 14:27:10
Your offset time is: 2023-12-09 14:27:10