Centroid jittering

   1816   2   0
User Avatar
Member
14 posts
Joined: March 2014
Offline
Hi,

I noticed when I use two transform nodes, with both centroid() as pivot, that the second pivot jitters during rotations.

How one would go about fixing that?

Thanks in advance.


Ryuji
User Avatar
Member
7722 posts
Joined: July 2005
Online
As I recall, the centroid() expression gives the center of the bounding box, so it can jitter when you rotate the geometry. If want the average of all the point positions, then perhaps you can use the AttribPromote SOP for “P” (the position attribute) from a point to a detail attribute. Now you can use a detail() expression to access this centroid.
User Avatar
Member
14 posts
Joined: March 2014
Offline
Hi,

Thank you Edward, that's exactly what I was looking for.


Ryuji
  • Quick Links