i want to calculate the distance between points on a sphere and the centroid… so have the “extractCentroidSOP” as the second input into the pointVop,
but when the points iterate inside the pointVop …it evaluates point p0 correctly.. but p1 has no element in the centroid as the 2nd input is only one point( the centroid of the sphere)
any help much appreciated
centroid as second input to a pointVop
1745 2 0- carthick
- Member
- 27 posts
- Joined: Aug. 2013
- Offline
- markinglevfx
- Member
- 9 posts
- Joined: July 2015
- Offline
- carthick
- Member
- 27 posts
- Joined: Aug. 2013
- Offline
markinglevfx
Make sure you're locked to pt0 from the second input. See my attached image - the importpoint VOP has the ptnum value to a constant of 0
That did the trick ! thanks !
PS: I was trying to color the valley and mountains based on the mountain sop displacement . see image
Edited by carthick - Feb. 28, 2020 17:18:33
-
- Quick Links