gnarlog Posted April 15, 2014 Share Posted April 15, 2014 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 Quote Link to comment Share on other sites More sharing options...
narbuckl Posted April 15, 2014 Share Posted April 15, 2014 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 likelength($VX,$VY,$VZ) < 5getting the length of the velocity vector will basically give you the speed then its just about what you want the cutoff to be. -N Quote Link to comment Share on other sites More sharing options...
eetu Posted April 15, 2014 Share Posted April 15, 2014 Here's a simple example, done with a group node inside a Solver SOP. The expression solution doesn't scale too well, if speed is an issue do the velocity calculation and grouping inside a vop sop. ee_velocity_reveal.hip Quote Link to comment Share on other sites More sharing options...
gnarlog Posted April 15, 2014 Author Share Posted April 15, 2014 Thanks for the responses! Eetu, that is exactly what I was after. Thanks again! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.