Jump to content

Simple VEX/Houdini array question


Recommended Posts

Hey guys soo I'm using grains within Houdini and ive been trying to write a simple expression/code/vop/vex that deletes the particles with less than 'X' amount of neighbors - which I'm finding difficult as the neighbour attribute is an integer array and theirfore I cant think of how you would get this to work? - (Ive tried myself converting the array into something else but had no luck, and ive also tried writing little expressions to delete arrays with less than 5 integers say (so less than 5 neighbors) - I could just be missing something little but if anyone has any ideas or a solution I would be really appreciative (and any explanation on how to work abit with integer arrays) :)

Thanks guys


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.

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...