How to get the max value of a point attribute in expression

   1242   1   0
User Avatar
Member
373 posts
Joined: June 2023
Offline
I've checked the document. There is a pointavg [www.sidefx.com] function that returns the average value of a point attribute.

But what if I need the max (or min) value? There is no pointmax or something...
User Avatar
Member
5100 posts
Joined: Feb. 2012
Offline
You would have to do this in VEX or Attribute Promote and then read that attribute.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
  • Quick Links