Bruce Lee
hi peter

We hope that the resample node can output the added points and the previous points, respectively.

Sometimes we do something about the previous point, such as n constraints. When we use resample processing, hoping to distinguish between the previous point and increase the point. This will preserve the processing of previous points. For example, keep the same point constraints.


There is another suggestion that is not very important. Resample can enter the curve, it will be more perfect. Now, you can use the node of soup to let it process the curve. But if you can handle the curve directly, that would be better.


thank peter!!!
Quote 0 0
Bruce Lee
Now we can select all the points before using resample, then create the selection, and wait for the resample solution before selecting the components in the selection. But this is not very convenient. It is not program control.
Quote 0 0
pshipkov
Will add previous eval result output.

Not sure what do you mean with the second message above.

Thanks.
Quote 0 0
Bruce Lee
hi peter

The second suggestion is that the resample input geometry can be a curve. Now it can only be Mesh. If you can cv point of the curve resample, it will be more perfect!
thank peter!
Quote 0 0
pshipkov
Resampling of curves is very simple and can be done with standard Maya nodes and no performance impact.
Check the attached file.
Quote 0 0
Bruce Lee
Yes, it's good.
However, I hope that after rebuilding, I can still keep the position of all the previous points and the id of the point.
rebuildCurve can not do this, it changes the position of the previous point and id, this is sometimes not what we want.

thank peter
Quote 0 0
Bruce Lee
I recently encountered such problems when doing n hair. I'm n-constrained by the point before rebuilding the curve. However, after rebuildCurve is rebuilt, the position of the constrained point changes.

The advantage of this resample node is that it does not change the position and id of the previous point. This is good!
Quote 0 0
pshipkov
That cannot be achieved in Maya. It is not a maya specific problem really, but more like how things work in general.
This will require quite drastic changes of the underlying nurbs curve library.
Not in front of computer right now, but In houdini you can remap the point ids i believe but not the underlying nurbs cvs.
Quote 0 0
Bruce Lee
thank peter! I understand what you mean.
Quote 0 0
pshipkov
The solution to your problem is to transfer the point IDs by looking up the proximity of the CVs between the intermediate (original) curve and rebuilt one, then assign the result list to the constraint.
Quote 0 0
Bruce Lee
Thanks peter! I will try to do it
Quote 0 0

Add a Website Forum to your website.