Calculate Curl on a grid sop using attrwrangle sop

   1901   0   0
User Avatar
Member
39 posts
Joined: 2月 2007
Offline
Hey guys

Ive been trying this for a while now, but i still am not able to solve it.

Other than converting a grid to a volume and running a volume analyse sop, how would one calculate curl of velocity on a grid sop using an attribute wrangle.

Ive setup a simple grid and ran it thru a pointvop in which ive just plugged in the output of a curl noise vop into v. Now i just want to calculate the curl of v using just the attribute wrangle using neighbours() vex function.
So far ive managed to calculate the gradient of each v component, but the rest of math i cannot translate to proper code.

Any ideas?

p.s. does anyone have resources how to move from math notations to code

Thanks
Edited by nosferatu037 - 2016年6月8日 04:32:06
  • Quick Links