resampling line

   3708   2   1
User Avatar
Member
1390 posts
Joined: July 2005
Offline
Hello!
i have one question:

I would like to have a line with many points on it (to copy some other geometry on them). But the distance between points should be different, somehow randomized but still controlable (i imagine a channel with which i could control density of points on a line). I don't know any local paramiters of resample sop so i cannot use any expressions .
I know that it's possible in houdini to control any paramiter also with wave file (it's volume level) - maybe this is the answer, because full animation will have few minutes… and i need to animate this density trought all movie. How to setup such a system?

I will be appreciate for any sugestions…

Best,
symek.
User Avatar
Member
121 posts
Joined: July 2005
Offline
you could try chf() expression in the point sop

line sop (Direction = 1,0,0)
resample (Lenght = 0.01)

wire this in a point sop and create a spare channel (name it spare1)
In the channel editor set a keyframe for spare1 at frame 0 (value = 0) and a keyframe at frame 100 (value = 1)

in the tx parameter of your point sop, put
chf(“./spare1”, $PT)

now you can control the distribution of points by inserting additional keyframes (between frame 1 and 99) in your sparechannel.

Hope this gets you started
Achim
User Avatar
Member
1390 posts
Joined: July 2005
Offline
Thank You! Thank You! Thank You!
This was extremely helpfull advice!!!
It works!

Cheers!,
Symek
  • Quick Links