Need Help with VB Program Implementation | Troubleshooting Tips Included

  • Thread starter quddusaliquddus
  • Start date
  • Tags
    Program
In summary, The conversation is about a person trying to implement a program in Visual Basic based on a Java program that generates rough terrain. The VB program works, but is missing features such as hills and plateaus. The person asks for help and provides links to both the Java and VB code. They also mention playing with similar algorithms in the past and jokingly refer to a green mop on their head as a hairstyle from the same time period.
  • #1
quddusaliquddus
354
2
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"

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

http://img517.imageshack.us/img517/8379/95166269.jpg

Ive tried changing the value of the rough variable - everything between 0.1 to 0.99999 without success.
 
Last edited by a moderator:
Technology news on Phys.org
  • #2
Could the values be getting overwritten as diffreent levels of diamond sqaure algorithm are being run?
 
  • #3
Just checked the values - they don't seem to be getting overwritten once set.
 
  • #4
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 :)
 

What is the purpose of the program?

The purpose of this program is to solve a specific problem or perform a specific task.

What language is the program written in?

The program can be written in any language, depending on the needs of the project and the programmer's skills.

How do I get help with this program?

You can get help by reading the program's documentation, asking for assistance from the programmer or other experts, or searching for online resources.

What if the program is not working properly?

If the program is not working properly, you can try troubleshooting by checking for errors or bugs in the code, or seeking help from others who have experience with the program.

Can I modify the program for my own use?

It depends on the license of the program. Some programs are open-source and allow for modification, while others may have restrictions on use and distribution.

Back
Top