JJ FX Posted May 9, 2018 Share Posted May 9, 2018 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? Quote Link to comment Share on other sites More sharing options...
toadstorm Posted May 9, 2018 Share Posted May 9, 2018 You can compute the gradient of the curvature field you create, using a second VDB Analysis. 1 Quote Link to comment Share on other sites More sharing options...
JJ FX Posted May 11, 2018 Author Share Posted May 11, 2018 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.... Quote Link to comment Share on other sites More sharing options...
petz Posted May 11, 2018 Share Posted May 11, 2018 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 1 Quote Link to comment Share on other sites More sharing options...
JJ FX Posted May 14, 2018 Author Share Posted May 14, 2018 (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 May 14, 2018 by JJ FX Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.