Jump to content

keeping groups after carve SOP


Javier31

Recommended Posts

Hello everyone,

I have a bunch of particles born just on frame 1 and being emitted from a grid and going upwards. I have created one group per particle on VEX, then i have attached a trail SOP and the groups have been translated to the trails. So far so good. Then i attach a carve SOP and i lose the grouping! The thing is that i need those groups for the connection lines i use later.. because i want to connect those points between them excluding the points of their own group 

I attach a couple of screenshots and the fille in case someone can help me with this one :-)

Cheers!!

 

 

keeping groups after carve.hipnc

1.JPG

2.JPG

Link to comment
Share on other sites

There's 2 solutions to this afaik.

the more complex one is writing your own carve node that keeps primitive groups, in VEX for instance.

the easy solution, is to use an (integer) attribute instead of a group, then you can regenerate the group from the attribute later
using a group expression for example: @attrib=1

Edited by acey195
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...