Hi All ,
I am trying to assign an attribute to each particle based on ID. This attribute is called $RANDSTART . Each ID gets assigned an integer number. To represent a start frame. My question is when inputting 100 points do I get so many numbers assigned by my attribute repeating.
I would be extremely interested as to why. As ever please look to the details view.
r
vops and Rand ID
2887 2 0- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
- tamte
- Member
- 8595 posts
- Joined: 7月 2007
- Offline
it is random so it is natural to get repeated values
you have 100 points and each one has random int number 1-100
you cannot expect each to have different number
just change your attribute to float and you will see that they are different before rounding to int
you can also add parameter to change seed of the random to get different set of numbers
you have 100 points and each one has random int number 1-100
you cannot expect each to have different number
just change your attribute to float and you will see that they are different before rounding to int
you can also add parameter to change seed of the random to get different set of numbers
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- circusmonkey
- Member
- 2624 posts
- Joined: 8月 2006
- Offline
-
- Quick Links