skazkaPiter Posted July 2, 2013 Share Posted July 2, 2013 How can I group my points, if some of them have 3 or 2 or 1 vertex I need something like: pointGroup_$NUMBER_VERTICES_IN_POINT Quote Link to comment Share on other sites More sharing options...
anim Posted July 2, 2013 Share Posted July 2, 2013 even though I'm not aware of direct method to sample vertex count from point (as it is for prims) here is one simple idea 1. create vertex attribute with value of 1 for each vertex 2. promote it to points with sum operator so now each point will contain it's vertex count 3. group points by this attribute using Partition SOP groupPointsByVertexCount.hip 2 1 Quote Link to comment Share on other sites More sharing options...
kgoossens Posted July 2, 2013 Share Posted July 2, 2013 (edited) Hi Dmtry, is this what you are looking for? Ah, Tomas version is much simpler. GroupingByVertices.hipnc Edited July 2, 2013 by kgoossens Quote Link to comment Share on other sites More sharing options...
skazkaPiter Posted July 2, 2013 Author Share Posted July 2, 2013 thanks a lot! examples are very helpful. promotion method rules! 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.