ruchit

How to get Center Line from a set of 3D Points  in Maya ??
[f9XXP] 


See this
curve reconstruction from unorganized points

Reply 0 0
pshipkov
Easy
Reply 0 0
ruchit
Cool. nice trick but not working in my case...I have mesh of character arm filled with scatter points.
I tried with scatter>outPositionPP to pointCloud>inArray, got weird result.

See this
Best Fit Line

Reply 0 0
pshipkov
Do we have to preserve fingers ?
Also, if you have the arm geometry why do you need to sample on the point cloud inside ?
Especially given the fact that the arm geometry defines the "boundary" ?
Reply 0 0
David l
Sounds lile ruchit wants to use the curve tangents/normals to generate a custom torque field running through a joint hierachy :)
I dont think this is possible without pointcloud lookup tools, which sadly is missing in maya, if you have access to houdini look for the cluster sop.
Reply 0 0
pshipkov
The cluster SOP is pretty simple to implement with SOuP or standard Maya tools.
Also, it requires manual intervention by the user to "segment" the data set (define the clusters).
If manual intervention is ok - then there is very simple way to generate the curve.
Reply 0 0
ruchit
i want to bind procedural spiral curve on resultant center line. Trying to do some ting like this
http://www.brandonriza.com/3DVisualEffects/HTML/RiseOfLegends--FXBuild--S0012.htm



Maya Spiral Curve Node..
https://www.creativecrash.com/maya/plugin/spiral-curve-node-and-cmd-for-maya-8-5-to-2012
Reply 0 0
ruchit
Ok will do manually using cluster/locator.
Reply 0 0
MOAB
Not sure if you found a solution to that problem but maybe this Houdini tut might help you. It's not really for generating a curve from points but it will show you how you can create a force field from your mesh with a VDB volume, modify that volume (with a volume vop) and then advect particles or fluids.


The goal is to create a kind of "inner" force and then compute the cross product of that force with another vector and you will get a spiral motion for your particles... then you can "trace" your particles and you will get your curves.
I did some test within Maya and it seems to work.

VDB_GradientForce.jpg    VDB_GradientForce2.jpg
Reply 0 0
ourouk
Very interesting MOAB !
Could u send higer rez screenshot please ?
Having hard time actually to decode your network/attributes/connectionss :)
Reply 0 0
MOAB
You can download the scene file here. It will be easier for you to check the network this way.

GeometryField.png 
Reply 0 0
ourouk
Thanks ! will check that asap.
Reply 0 0
Reply