Jump to content

A fit that takes the minimum maximum of a value instead of you providing it?

Recommended Posts


I was wondering if something like this exists.


Share this post

Link to post
Share on other sites

Prior to an attribute vop or wrangle you need to place two attribute promote and set your value to detail and methods respectively to min and max. You can then plug these outputs into the second and third inputs. Then in your attribute fit setup you can reference these detail attributes.

The reason this does not work within a normal vex or vop context is that they iterate over the data type i.e.. points, vertex, prims. The attribute promotion itself needs to loop through all values to do it's calculation. 

So if you wanted to use this auto fit within a vop/vex chain you would need to split your code between two separate vex/vop node with the promotes sandwiched between and the sop level.

  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now