copy node question

   2475   2   0
User Avatar
Member
234 posts
Joined:
Offline
Hello,

Here's the question: How to add randomness in cylinders rotation?

Thanks in advance.

djz

Attachments:
Picture-10.jpg (62.3 KB)

User Avatar
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.
“gravity is not a force, it is a boundary layer”
“everything is coincident”
“Love; the state of suspended anticipation.”
User Avatar
Member
234 posts
Joined:
Offline
Yeah
It works… I tried to do it in cinema 4d… but Houdini is definitely much more fun.

Thanks a lot.

dj.

Attachments:
Picture-11.jpg (66.3 KB)

  • Quick Links