Sign in to follow this  
quddusaliquddus

Help with setting initial variables

Recommended Posts

Hi :), I am trying to implement the code here: Java World: Fractal Landscape in VB.Net. My code: My Code Ive set the initial roughness = 0.95 and initial LOD = 10 At each level of the diamond-square algorithm the roughness is recalculated to rough=roug*roughness But the result looks nothing like a landscape. It has little pertubations throughout but no macroscopic features. Zoomed out image: How can I fix it so that the code creates landscapes with hills and plataus? Thank you for your help. [Edited by - quddusaliquddus on March 20, 2010 9:09:53 AM]

Share this post


Link to post
Share on other sites
Quote:
Anyone?
GDNet doesn't currently support BBCode, so you might edit your post to use HTML instead. (Yeah, I know it's lazy, but a lot of people - myself included - will often skip over posts with incorrect formatting and un-clickable links.)

Share this post


Link to post
Share on other sites
You need to add some lower-frequency data to the map in order to create "bigger" features.

Read up on "Perlin noise", that will give you ideas on how to proceed.

Plateaus are usually simulated by a response curve that flattens to horizontal on the topmost values. In reality, plateaus and ridges are formed by corrosion caused by water and wind as well as the irregular composition of the ground material itself, so for realistic results you might want to simulate that (at least statistically).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this