Hello,
Here's the question: How to add randomness in cylinders rotation?
Thanks in advance.
djz
copy node question
2836 2 0-
- djorzgul
- Member
- 234 posts
- Joined:
- Offline
-
- probbins
- Member
- 1145 posts
- Joined: July 2005
- Offline
That would be a stamp function in the Copy sop.
Create a local variable like, rand_rot,
then a value ie: rand($PT*4)
This will give you a static random value, if you want the tubes to rotate randomly over time the substitute the $PT (point number) with $F (current frame number).
Make sure you turn the stamp function on in the Copy sop.
I would put a Transform below the Tube sop; then in the rotation fields you assign the stamp function;
stamp(“../copy1”,“rand_rot”,0)*100,
The *100 at the end is to expand the random value to something that is noticeable.
The stamp function goes into each rotation field you want to influence.
Create a local variable like, rand_rot,
then a value ie: rand($PT*4)
This will give you a static random value, if you want the tubes to rotate randomly over time the substitute the $PT (point number) with $F (current frame number).
Make sure you turn the stamp function on in the Copy sop.
I would put a Transform below the Tube sop; then in the rotation fields you assign the stamp function;
stamp(“../copy1”,“rand_rot”,0)*100,
The *100 at the end is to expand the random value to something that is noticeable.
The stamp function goes into each rotation field you want to influence.
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
“everything is coincident”
“Love; the state of suspended anticipation.”
-
- djorzgul
- Member
- 234 posts
- Joined:
- Offline
-
- Quick Links