Need Help with this Program

  • #1

Main Question or Discussion Point

Hi :),
I am trying desperately to make this program work. The original program:

http://www.javaworld.com/javaworld/jw-08-1998/jw-08-step.html?page=2


works fine. When I tried to implement it in VB the whole thing works except there are no macroscopic features - as you can see its just rough between between points but there are no hills, plataus etc ...

Your help is appreciated. Thank you.

My VB code is here : http://freetexthost.com/cw0w53qqln" [Broken]

This is what i get (zoomed-out image):

http://img517.imageshack.us/img517/8379/95166269.jpg [Broken]

Ive tried changing the value of the rough variable - everything between 0.1 to 0.99999 without success.
 
Last edited by a moderator:

Answers and Replies

  • #2
Could the values be getting overwritten as diffreent levels of diamond sqaure algorithm are being run?
 
  • #3
Just checked the values - they dont seem to be getting overwritten once set.
 
  • #4
Borek
Mentor
28,328
2,716
lol, I was playing with similar algorithms back in early nineties. Some snippets of my Pascal voxel code are still on the net. Part of the code was a plasma implementation - seems like that's the base of the code here as well.

Hm, seems like plasma is called "FractalTerrain" these days...
 
  • #5
lol ... what did they used to call a green mop on a head in those days? Just kiddin :)
 

Related Threads for: Need Help with this Program

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
8
Views
3K
  • Last Post
2
Replies
26
Views
4K
Replies
5
Views
2K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
20
Views
3K
Replies
5
Views
708
Top