3__ Posted May 1, 2006 Share Posted May 1, 2006 another quick question: Is it possible to resample a curve with a bias? I'd like to do something like this: Draw a curve, resample with ## maximum segments, append a point sop and make Cd: sin($PT / ($NPT / 180)), 0, 0 Then resample the curve again using $CR as a bias, with more points being added where $CR is highest. scatter seems to be the most likely solution but it doesn't seem to like $CR as an attribute. -cpb Quote Link to comment Share on other sites More sharing options...
old school Posted May 2, 2006 Share Posted May 2, 2006 Tried POPs? Pass the curve in to a Source POP. In the Birth folder use Impulse activation set to $FF==1 and set your Impulse Birth Rate. For the Birth Probability try something like: $CR*0.3 $CR*1 To skew the waiting, adust the multipliers. To help rebuild the curve, I created ptnum and stuffed in $PT then used this to sort then add to rebuild curve. Hacky but not too bad. I wonder why the Distribution Attribute in the Source folder of the Source POP doesn't quite work for Edges (attribute) on curves. Perhaps it needs a surface. Quote Link to comment Share on other sites More sharing options...
3__ Posted May 16, 2006 Author Share Posted May 16, 2006 results using pops were a bit too noisy, also had trouble sorting/adding using ptnum. sometimes even with $CR when applied as $PT/$NPT... resample_curve.zip Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.