Magnet sop in pops

wondering how the magnet sop works and how it might be able to be made with pops

hmm prolly could use a field

oh the bones of this are in the example except it deforms where it touches rather than using more of a normals directional thing

A DiY method, all doable in a Math Mix and a Lookup, may be, to isolate the points that are facing toward the magnet’s point, is get a vector from the surface point to the magnet point (A - B), normalize it (normalize(A)), and then taking then taking the surface normals, and doing a dot product between the two vectors (dot(A, B)). All the positive values are facing away and you would want to reduce their weights. The dot product going into a Lookup POP will give you a 0-1 number to multiply by a Field POP weight that you can use to displace the points. something like that, shape-permitting. Maybe one of you alphaists can try that out, if you can decipher what I’m saying!

1 Like

hmm not understanding the dot product into lookup pop step here. Havent used the lookup attr or chan pop so not sure how exactly they work

Oh i guess you’re saying that I could use the lookup to reduce the number of point calculations I end up doing?

Regardless, here is what appears to be a working example without the lookup

magnetpop.toe (9.1 KB)