Jump to content

tag geo that exceeds vel mag threshold as always 'on' subseque


gnarlog

Recommended Posts

Hello there,

 

I would like to take an alembic imported point cache and turn on the vertices based on some velocity magnitude threshold using a delete sop, but have them not turn back off(get deleted) when the velocity magnitude goes back below that threshold. I know this kinda thing is doable, but I suck at houdini. If anyone is feeling charitable, I'd really appreciate it.

 

Thanks a lot,

 

Matt

Link to comment
Share on other sites

There are many ways to do this but if you just want to use a delete sop, make sure that your imported alembic is converted to either polys or points (you can just drop a convert node down after the alembic node if your uncertain) and has a velocity attribute (if it doesnt then drop down a trail attribute and set it to compute velocity) then set the delete sop to expression and use something like
length($VX,$VY,$VZ) < 5

getting the length of the velocity vector will basically give you the speed then its just about what you want the cutoff to be.

 

-N

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