WireCapture:possible to have per point control of wires?

   2804   2   1
User Avatar
Member
289 posts
Joined: July 2005
Offline
Hi everybody,

Is it possible to have control, with expressions, over the wirecapture parameters?

For example:
For each point in the controlwire you make U range a bit bigger.
perhaps with an expression like this.
point(“../resample1”,$PT,“P”,1)

Like this it would be possible to have bigger and smaller controlling regions along one single curve giving much better control for rigging and deforming.
A computer is almost human - except that it does not blame its mistakes on another computer.
User Avatar
Member
7766 posts
Joined: July 2005
Online
Recall that when you're keyframing the lookup channel in the WireCapture, it's actually using “time” as the X axis. So instead of indexing by $PT, you should be indexing by $FF.

Note that the main benefit of using a lookup channel is so that the shape of the channel is free of the resolution of the points along the curve. So using the point() expression ties you back to the resolution of the curve. I would recommend using primuv() instead. For the “u” parameter, use something like ($FF-1)/239 where your lookup channel has first and last keys at frames 1 and 240 respectively. Using primuv() means you don't need to resample your curves either.
User Avatar
Member
7766 posts
Joined: July 2005
Online
Ok, here's an example using a version of Houdini that has the latest lookup channel fixes:

Attachments:
wirecapt_primuv.zip (18.8 KB)

  • Quick Links