[futurebasic] Re: [FB] Re-negotiable Noise

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2004 : Group Archive : Group : All Groups

From: Jay Reeve <jayreeve@...>
Date: Tue, 20 Apr 2004 03:41:26 -0500
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.


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.

  =J= a  y

To unsubscribe, send ANY message to: futurebasic-unsubscribe@...