Jump to content

Add to group and track age


Recommended Posts

  On 11/16/2021 at 1:44 AM, papsphilip said:

i have an initial selection of primitives that i append to over time. How can i track the birth and age of the newly added primitives in the group?

i m stuck in the birth-age problem, but i have managed to isolate the newly added prims to the existing group.

Expand  

Hi,

look at the attached file

 

add_to_group_and_track_age_01.hipnc

Link to comment
Share on other sites

it works like a charm thank you!! The birth attribute is not quite right for some reason. i was expecting an integer for each prim that doesn't change over time

Also how can i extrude or transform those newly created pieces, while deleting their previous non deformed/transformed state?

is it doable in the same solver?because i ve been at it for some hours with no luck although it seems straightforward

 

(sorry the second file is my hacky way)

 

add_to_group_and_track_age.hipFetching info...

add_to_group_and_track_age.hipFetching info...

Edited by papsphilip
Link to comment
Share on other sites

  On 11/16/2021 at 9:32 PM, papsphilip said:

i was expecting an integer for each prim that doesn't change over time

Expand  

It does not change and you can easily transform float type to integer

  On 11/16/2021 at 9:32 PM, papsphilip said:

Also how can i extrude or transform those newly created pieces, while deleting their previous non deformed/transformed state?

is it doable in the same solver?

Expand  

it is not necessary to use solver sop for this

add_to_group_and_track_age_02.hipnc

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