Jump to content
catchyid

building 3D frames from mesh geo

Recommended Posts

Hi, 

I have a mesh, my goal is to build coordinates on each point that matches the "curvature" of the mesh (plz, see attached). To build a frame, I have Normal which is easy, however I am not sure how to compute the second direction,T,  that should match curvature of the mesh? I've tried polyframe but it did not give good result, also "measure" node only highlights places with high curvature (but no direction is calculated). I also thought about whether the uv map already imported with mesh  could be useful but could find a good use of it (i.e. it's just a map, it does not say anything about the corresponding 3D points).

 

Any ideas :) ?

Thanks

mesh_curvature.png

mesh_curvature_withCoordinates.png

Share this post


Link to post
Share on other sites

i found partial solution: convert to vdb then use vdbanalysis: gradient (scalar-->vector)... it's partial in terms that one needs to convert to vdb first (as opposed to using the actual mesh) and the resultant vectors are "okay", i.e. most of them follow these tangent lines but some go haywire ...

Share this post


Link to post
Share on other sites

In 17.5, the measure sop has been improved. If you set the measure type to "curvature" and "Principal", you can then choose to output a direction vector.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×