That leaves a very small risk that you'll get 2. I would use min and max of 
-1.5 and 1.5, and round instead.

gray

From: [email protected] 
[mailto:[email protected]] On Behalf Of Ciaran Moloney
Sent: Wednesday, May 09, 2012 02:01 PM
To: [email protected]
Subject: Re: Random Values

Hi,
randomise value by range, with min and max set to -1 and 2. Then pass the 
result into a floor node.


On Wed, May 9, 2012 at 6:52 PM, Olivier Jeannel 
<[email protected]<mailto:[email protected]>> wrote:
Hello list,

Im sure it is easy :

I'm trying to get random (scalar) values distributed on some points.
But I want only values 0 1 or -1 to be returned.

How do I do something like that ?

Thank you !

<<attachment: winmail.dat>>

Reply via email to