Jump to content

unique point number?


Recommended Posts

Hi all,

I have a huge tall grid that some objects are copied to its points, and a bounding box that kills those objects that move outside the frame. As you know $PT is not unique, and when a point is killed its number is assigned to a new point, and it's causing a motion blur problem for me! the motion blur goes crazy when a point is deleted and $PTs change, so I wanted to know if there's a way to make houdini to generate unique point numbers? something that works with motion blur too?!

Link to comment
Share on other sites

before the point/particle is killed copy the point number attribute to some other attrib like oldPt or something (particles usually have id attrib already assigned for this purpose). Since you are deleting after assigning the point numbers, they will stay unchanged.

hope this helps.

cheers.

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