Huy Le

huylefx

About Me

FX artist looking for opportunities
EXPERTISE
Student
INDUSTRY
Film/TV

Connect

LOCATION
United States

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Labs Curve Resample by Weight attribute Aug. 29, 2024, 10:41 p.m.

Does anyone know how to set up the weight attribute for "Labs Curve Resample by Density" node?
I have a curve and a "weight" point attribute set up as an array but they're not working.
My goal is to resample the curve with custom lengths in the attribute.

Curve Resample Varying Segment Lengths Aug. 29, 2024, 5:48 a.m.

freshbaked
If you don't mind maintaining the position of the input points you can simply assign a @num_segments integer attribute to each primitive using whatever logic you want and the Resample SOP will divide each primitive into the number of segments specified.

Wow this is pretty cool! Do you happen to know a way to also control the length of each of those segments?

Curve Resample Varying Segment Lengths Aug. 28, 2024, 6:09 a.m.

zengchen
Aizatulin's example is great, and you can use attribute interpolate or intersection stitch to interpolate the point attribute from origin curve.

I use intersection stitch SOP a lot on curve, it's really a powerful SOP.

I also used array to achieve the aim.

But you may need to convert all the parameters to attributes that make the feature truly procedural.


Hello guys,

I'm now also trying to resample the curve into vary lengths. I have an array of how long each prim is gonna split into (say a 7 = 5 + 2). How can I incorporate that into your code example (I don't want to use the multiparm list but set lengths)?