shawn_kearney Posted April 22, 2016 Share Posted April 22, 2016 To get the the maximum value from geometry attributes I've been using a sort SOP. Typically I then plug this into a another sort and reverse so that I can normalize the attribute using Fit Range VOP. This works, but it's a bit cumbersome to set up every time I want to normalize an attribute, which is very frequent. Is there a better way? Quote Link to comment Share on other sites More sharing options...
Skybar Posted April 22, 2016 Share Posted April 22, 2016 You can use Promote SOP and promote the max/min to detail. Then pipe those attributes into Fit Range VOP. Quote Link to comment Share on other sites More sharing options...
ciliath Posted April 22, 2016 Share Posted April 22, 2016 Sky pretty much answered you, there's also the option of using the max and min vop sop nodes for the global max min values. Quote Link to comment Share on other sites More sharing options...
Skybar Posted April 22, 2016 Share Posted April 22, 2016 45 minutes ago, ciliath said: Sky pretty much answered you, there's also the option of using the max and min vop sop nodes for the global max min values. That would only work if you iterate over all the points, even then it's quite cumbersome. Wouldn't recommend it. 1 Quote Link to comment Share on other sites More sharing options...
animatrix Posted April 22, 2016 Share Posted April 22, 2016 I wrote this op in VEX, faster than using 2 AttribPromotes: http://orbolt.com/asset/animatrix::attribFit::1.00 3 1 Quote Link to comment Share on other sites More sharing options...
ikoon Posted August 31, 2021 Share Posted August 31, 2021 Animatrix thank you very much for the OTL! Five years passed and I am thinking ... now that we have many new Attribute nodes, is this feature inbuilt in Houdini somewhere? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.