Jump to content
Sign in to follow this  
JJ FX

Curvature field

Recommended Posts

Yellow!

So how can I convert a curvature calculated from VDB Analysys (curvature) into a vector field, where the vector will be always pointing to the higher values curvature?

Share this post


Link to post
Share on other sites

You can compute the gradient of the curvature field you create, using a second VDB Analysis.

  • Like 1

Share this post


Link to post
Share on other sites

Yeah yeah, something more specific would be nice :)

Actually my friend helped me with that. Cannot share the file or screenshot because of securiity, but will try to show how its done. So....

1. VDB Analysys (closest point, name = curvature)

2. VDB Analysys (normalize, name = cp)

3. VDB Analysys (curl, name = curl)

4. merge (2,3)

5. VolumeVOP or wrangle:  curl = cross(cp, curl)

6. blast cp

7. vdbAdvectFromPoints (your points, 6, 1) - these are the inputs

And looks like its doing something that resambles what I wanted....

 

Share this post


Link to post
Share on other sites

not exactly sure what you're after but if you want to calculate the gradient of curvature there is no better and easier way than what toadstorm already mentioned ...

curv_gradient.hipnc

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

Hm... U are right. It looks like both are doing similar thing... However now I can see that what I have is not what I wanted. However the resault is nice too :)

 

 

curv_gradient_2.hipnc

Edited by JJ FX

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
Sign in to follow this  

×