Jump to content

Time In Groups


Recommended Posts

I have such a technical challenge (maybe not so challenging):

I'd like to add points or primitives in my geo. to some predefinied group during a shot (easy with number of tricks in H.) but then I'd like to count time/frames every point is in a group and then use it info to some purpose (first store it in point attrib as I suppose) just like $LIFE for particles but for geometry. Any idea how to achieve it? Borning particles on primitives after adding then to groups and use particles attrib for measuring time of belonging primitives to specified group?

thanks for advice!

SYmek.

Link to comment
Share on other sites

I have such a technical challenge (maybe not so challenging):

I'd like to add points or primitives in my geo. to some predefinied group during a shot (easy with number of tricks in H.) but then I'd like to count time/frames every point is in a group and then use it info to some purpose (first store it in point attrib as I suppose) just like $LIFE

Link to comment
Share on other sites

many thanks for detail reply!

I'm about to find the answer ;) . One think which bother me is that $FF variable will be calculated in every frame for whole group or geometry not ones for frame in which geo was added to group. I tried to do something like: 'if($timeInGroup=0, $FF, $timeInGroup)' in Primitive SOP/custom tab, but with no result, though this must be my stupid mistake :unsure: . I thought I can bake geo on disk for every shot to keep correct value of variable in place. But it hard to call it ellegant way... :)

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