Thank's Christopher !

On Mon, Apr 11, 2016 at 12:19 PM, Christopher Crouzet <
[email protected]> wrote:

> The 6/4 result is to be expected and is not related to a rounding issue
> but simply to the nature of randomness—setting a ratio of 0.5 doesn't
> guarantee a 50-50% split, it only means that the distribution will tend
> towards this goal, especially when the number of samples will be high
> enough (and 10 samples definitely isn't much at all).
>
>
> On 11 April 2016 at 17:06, Olivier Jeannel <[email protected]> wrote:
>
>> Thank's both of you :) Yes, I did use random probability, and it's
>> exactly the translation of the Houdini expression explained by Christopher
>> !
>> I guess I was confused because (in Ice) when I input a ratio of 0.5, It
>> returns 6 particles and 4 particles, instead of 5 and 5.
>> I guess some rounding integer issue ...
>> But thank's for the clarification :) I'm ashamed it was so obvious :/
>>
>>
>> On Mon, Apr 11, 2016 at 11:34 AM, elhemp <[email protected]> wrote:
>>
>>> Test Random Probability Node?
>>>
>>> Cheers,
>>> Stephan.
>>>
>>> Am 11.04.2016, 10:57 Uhr, schrieb Olivier Jeannel <
>>> [email protected]>:
>>>
>>> > Hi guys,
>>> >
>>> > This is a case that keeps coming every once in a while. I'm scratching
>>> > my head on it this morning.
>>> > In Ice, lets say you have 10 particles, and you want to "select" 60% of
>>> > them randomly.
>>> > ("select" means 60% with an attribute of 1, and 40% with an attribute
>>> of
>>> > 0)
>>> >
>>> >
>>> > How would you do that ?
>>> ------
>>> Softimage Mailing List.
>>> To unsubscribe, send a mail to [email protected]
>>> with "unsubscribe" in the subject, and reply to confirm.
>>>
>>
>>
>> ------
>> Softimage Mailing List.
>> To unsubscribe, send a mail to [email protected]
>> with "unsubscribe" in the subject, and reply to confirm.
>>
>
>
>
> --
> Christopher Crouzet
> *http://christophercrouzet.com* <http://christophercrouzet.com>
>
>
> ------
> Softimage Mailing List.
> To unsubscribe, send a mail to [email protected]
> with "unsubscribe" in the subject, and reply to confirm.
>
------
Softimage Mailing List.
To unsubscribe, send a mail to [email protected] with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to