schiho Posted February 4, 2014 Share Posted February 4, 2014 Hi, i would like to add a second condition to my blast node, how this is done in Houdini? if(pscale > 0.5 && $F > 30) thats what i want to achieve. @pscale > 0.4 but what about the second condition? how is the syntax? thanks Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted February 4, 2014 Share Posted February 4, 2014 Hi, i would like to add a second condition to my blast node, how this is done in Houdini? if(pscale > 0.5 && $F > 30) thats what i want to achieve. @pscale > 0.4 but what about the second condition? how is the syntax? thanks This looks like a legal expression to me, you only forgot to put the output to the conditions, like: if($PSCALE > 0.5 && $F > 30, 1, 0) The trick is that I don't think you can't do this in a blast node, but a delete node which has the parameter field for expression. Cheers Quote Link to comment Share on other sites More sharing options...
tjeeds Posted February 4, 2014 Share Posted February 4, 2014 The Delete node is quite slow compared to the the Blast node. If you're dealing with a lot of points you might want to use an AttribVOP or AttribWrangle instead. The VEXpression version is:: if(@pscale>0.5 && @Frame>30) removepoint(0,@ptnum); 1 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.