View Single Post
  #3  
Old July 15th, 2004, 11:02 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT: Anyone want to help me with a small basic program?

Details? Um...I set every point on the heightmap to -1 to differenciate between points set and points not set. then I put random heights on the heightmap from 0,0 to currently 32,32 using a for/next loop and stepping by half the map size, so 9 height points. The program then is supposed to step accross the map at half intervals, check to see if the current point is at -1, if it is, take the average of all points at the current step distance x,y or both away that aren't at -1, then input the average into it's current square. Once it completes a map, it divides both distances it's stepping by by /2 and goes again until it's done the map at 1,1 intervals. Want the source code?

[ July 15, 2004, 22:04: Message edited by: narf poit chez BOOM ]
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote