Converting c++ to VB

Started by
21 comments, last by nexguy 20 years, 11 months ago
I think srandom is just a seeded random number.
*st0ned*
Advertisement
As it turns out, SRANDOM returns a float between -1 and 1. I believe the equivilant VB code would be...

x = Rnd * 2 - 1

Is there a better/similar algorithm out there to (fractally) generate terrain, so that you can take any part of the terrain and use it to generate more detailed terrain?

Chris
You could do multiple octaves of perlin noise to create a heightmap( and to refine landscape ), and then use the noise data to create a landscape outta the height data?
The reason for the question mark is because i''ve never actually read over the perlin noise spec, ever, and this is just information that i guessed should fit from my understanding of the algorithm. That said, im probably wrong
*st0ned*

This topic is closed to new replies.

Advertisement