On Monday, April 19, 2004, at 10:45 PM, Robert Covington wrote: > Thanks a bunch, that's a potential hamburger helper. It may even add > free cheese and ketchup. And it's been in front of my face all this > time it appears. :( I just didn't understand the relation between > Random and Rnd. > > Are my legal 'seed&' numbers for fn realRND anywhere from 0 to > _maxLong? or is it -_maxLong to _maxlong? > > Perlin Noise seems to be the key to all things in the rendering and > fractal and texture and procedural cosmos. It's a biggie. I'm making a > mini-Bryce filter once I figure all this out. In the least, my app's > users will have some nice noisy clouds to play with. > > Muchas Gracias. rc, The seed is any 4-byte integer, although I failed to make it such in my FN. (Add a & to Seed.) Be sure you realize that the fn I gave you can only return 32k different values, so many different seeds will return the same RND value. You might be able to expand that by combining 2 RND calls, but I figure 32k is enough for most purposes. e-e =J= a y " -- To unsubscribe, send ANY message to: futurebasic-unsubscribe@...