> Can anyone tell me why I have not the same result when I put the seed in
the
> beginning of the code or just before using the stream ?
The fact that you consider *not* putting the seed before the calls to rand()
makes me think you're using it wrong. I have never experienced the behavior
you're describing.
Are you doing it like this?
#declare mySeed = seed(123);
...
#declare randomNumber = rand(mySeed);
The important thing here is that you pass the seed variable into the rand
function.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|