Jump to content

Maximum in sets (vopsop)?


Recommended Posts

Hi,

I'm trying to get the maximum value of a set in vopsop. I subtracting the centroid of a grid with the pointpos and get the length of that vector to get the distance of each point from the center. How can I get the higher value of this set? I want to plug it in the source max value of the fit node.

thanks

Link to comment
Share on other sites

You can use an attribute promote from point to detail using maximum as the operation.

You can't do that in VOPs (I don't think) because the current point being processed has no way to query the other points usually. You could create an array with all the distances, but it's too much work for the buck.

Cheers

Link to comment
Share on other sites

Thanks guys!

So do I need 2 vopsop to get my value? or I can do the attrib promote after the vopsop node and get the info back inside vop (place before the attrib promote node) ?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...