Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Need Help with this Program

  1. Mar 20, 2010 #1
    Hi :),
    I am trying desperately to make this program work. The original program:


    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: May 4, 2017
  2. jcsd
  3. Mar 20, 2010 #2
    Could the values be getting overwritten as diffreent levels of diamond sqaure algorithm are being run?
  4. Mar 20, 2010 #3
    Just checked the values - they dont seem to be getting overwritten once set.
  5. Mar 20, 2010 #4


    User Avatar

    Staff: Mentor

    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...
  6. Mar 20, 2010 #5
    lol ... what did they used to call a green mop on a head in those days? Just kiddin :)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook