apply CHOP wave form to curve

   2764   2   1
User Avatar
Member
279 posts
Joined: Dec. 2009
Offline
Hi,
i would like apply a waveforn from a CHOP channel to a curve.

Point 0 would be frame 0, Point 1 will be frame 1, etc..

Any idea ?
Thanks
User Avatar
Member
1925 posts
Joined: Nov. 2006
Offline
Attached is a file that has a couple of ways you can do it using a Channel SOP and just a simple chopi() expression.

In the CHOP network I create a Wave and rename it to ‘ty’. I then merge it in with a Geometry CHOP that is fetching the point positions from the geometry. When I merge I am keeping the ty channel from the Wave. I also reordered the channels but that's not necessary. When using the Channel SOP it is necessary to have all the t channels.

The Channel SOP reads the channels and samples for each point, giving me the modified geometry. For the chopi() example, it is only caring about the ty channel and using the point number as the index. With this method it's not even necessary to have any of the other nodes except the Wave CHOP.

Attachments:
chop_driven_curve.hip (42.5 KB)

Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
279 posts
Joined: Dec. 2009
Offline
Thanks a lot Graham.

In fact, I found a solution with a FOREACH and chopf()
  • Quick Links