Thomas Lake wrote:
>
> Thanks for the info! I'm trying to find out how to create random numbers
> between -0.75 and 0.75. I tried to come up with the function using your
> examples but I can't seem to get it right. The general for seems to be
>
> Num = rand*x + y
>
where x is the range of values and y the center minus half the range (or
the lowest value):
#declare Num = rand(Seed)*1.5 - 0.75;
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|