Jump to content

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!

Link to comment
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

Link to comment
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
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...