Search - User list
Full Version: Questions on Resample node
Root » Houdini Indie and Apprentice » Questions on Resample node
zooropa
Hi. I am using a shortest path node and a fuse node afterwards, which leaves me with 1600 points on the mesh. When I add a resample node with everything inactive (I use it only to get the curveu attribute), the points increase to 260k.

Why do I get an increase in points when no resampling option is active? The viewport does not show any visible change.




The second question is in regards to activating the resampling options of the node:


You can notice that I get overlapped edges, almost like a spiderweb at some mesh areas.
I am not sure why resampling contributes to overlapping edges when the original mesh "looks" clean; I am just trying to increase equidistant points, but I get an irregular distribution of points with multiplication of edges on top of each other.

Is it possible that the shortestpath + fuse displaying clean edges does not show that I have several overlapping edges, and when I resample, they become visible?

Thank you
tamte
zooropa
Is it possible that the shortestpath + fuse displaying clean edges does not show that I have several overlapping edges, and when I resample, they become visible?
This is exactly what causes both of your issues

Shortest path is likely to produce overlapping paths especially because many paths end up travelling through the same edges before eventually diverging

Fuse just fuses the points but the amount of curves will not change so the overlapping segments prevail

Resample even without resampling likely makes points unique per curve to be able to store curveu since if points are shared among multiple curves then a single point would have to store multiple different curveu values

So to clean up your geo you can append Convert Line SOP + Poly Path SOP after your Fuse
That will make sure each path is a single curve at least up to the branching point

Then Resampling to should behave better
But instead of using Resample to also compute curveu, I'd recommend Edge Transport, to get some real distance attribute for curve network rather than notmalized curveu per curve as those will be just segments between branching points
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB