quddusaliquddus
03-19-2010, 08:35 PM
Hi :),
I am trying to implement the code here:
http://www.javaworld.com/javaworld/jw-08-1998/jw-08-step.html?page=2
in another language.
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:
http://img517.imageshack.us/img517/8379/95166269.jpg (http://img517.imageshack.us/i/95166269.jpg/)
How can I fix it so that the code creates landscapes with hills and plataus?
Thank you for your help.
I am trying to implement the code here:
http://www.javaworld.com/javaworld/jw-08-1998/jw-08-step.html?page=2
in another language.
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:
http://img517.imageshack.us/img517/8379/95166269.jpg (http://img517.imageshack.us/i/95166269.jpg/)
How can I fix it so that the code creates landscapes with hills and plataus?
Thank you for your help.
