Jump to content
Sign in to follow this  
mic

bulge/magnet math

Recommended Posts

hello!

can you please tell me the math of these nodes - magnet (or it's simpler version bulge) SOP. i know the metaball's math, what's going on, all these functions (wyvill , etc) - but what's going on when i'm deforming the grid by metaball using bulge SOP? i see the effect but can't get the point what's the math of all of this - which coords the grid points get?..

thank you!

Share this post


Link to post
Share on other sites

it seems to me that

magnet is using metaball's weight to transform points relative to metaball's transform matrix

bulge is using metaball's weight to push points from/to metaball's center

Share this post


Link to post
Share on other sites
it seems to me that

magnet is using metaball's weight to transform points relative to metaball's transform matrix

bulge is using metaball's weight to push points from/to metaball's center

thank you for answer!

but when the metaball is at the zero height (it's center has the same y-coord as the grid) the points which are affected by metaball are deformed only in xz-plane.

so, i don't understand the math of this motion..

ah, ok, sorry. yes, the magnitude is calculated using kernel function (wyvill etc), the distance by the distance and direction to metaball center - as you said..

i think i understood.. thank you!

Edited by mic

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  

×