sschoellhammer Posted October 8, 2015 Share Posted October 8, 2015 Attention - Newbie alarm! So I've created a smoke sim with some vorticles in it. I've extracted those and I would like to skin some polygons along their paths. So far so good. The problem is that there are lots of vorticles without movement and I want to filter them out. I have a delete node with an expression like this: point("../dopimport1", $PT, "v", 0) == 0 as I've seen that the vorticles have a velocity attribute. The only shame is that it's all 0's! :/ Is there a better way of doing this ? I've attached a scene file if that helps.. Thanks a lot of suggestions!! Seb fluids1.hipnc Quote Link to comment Share on other sites More sharing options...
bluciensky Posted October 8, 2015 Share Posted October 8, 2015 Put one more trail SOP after your trail1. Change result type to Compute Velocity then under that, put Attribute Wrangle f@len = length(@v);if (@len==0) removepoint(0,@ptnum); Quote Link to comment Share on other sites More sharing options...
sschoellhammer Posted October 9, 2015 Author Share Posted October 9, 2015 Thanks a lot! Works like a charm and i learnt a bit of VEX 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.