dynamoanders Posted November 9, 2012 Share Posted November 9, 2012 Hi guys. It´s been a while since I used Houdini, and I can´t remember how I do a different force "weight" per particle in the curl noise node. Basically I put a sphere down, do a popnet and from the source add a curlnoise node. What I want to do is to have a random weight per particle, and from what I could remember doing this before, I just added a rand function with the $ID multiplied buy a number. I am not getting this to work now, so does anyone have a suggestion? It is to prove a concept using curlnoise. Thanks Anders Quote Link to comment Share on other sites More sharing options...
rafaelfs Posted November 9, 2012 Share Posted November 9, 2012 (edited) Basically I put a sphere down, do a popnet and from the source add a curlnoise node. What I want to do is to have a random weight per particle, and from what I could remember doing this before, I just added a rand function with the $ID multiplied buy a number. I am not getting this to work now, so does anyone have a suggestion? I'd do this in a VOP POP and just read this random attribute you created as a multiplier to the curl noise before adding it to the position or velocity of the particles... Cheers Edited November 9, 2012 by rafaelfs Quote Link to comment Share on other sites More sharing options...
dynamoanders Posted November 9, 2012 Author Share Posted November 9, 2012 Hey. Thanks for the input Rafael! I was trying to do it just in the curlnoise node inside the popnet, without going into a voppop, but that definiatly works too! Quote Link to comment Share on other sites More sharing options...
SpencerL Posted November 9, 2012 Share Posted November 9, 2012 Since its a wrapped up VOP POP, you can drive the parameters of the curl noise POP with attributes. So if you wanted to control the Velocity Blend parameter, create an attribute POP, set the name to match the parameter name, ie 'velblend' and then you can set your rand() expression in that. This will override any value you have for the given parameter on the curl noise POP Quote Link to comment Share on other sites More sharing options...
dynamoanders Posted November 9, 2012 Author Share Posted November 9, 2012 Hey Spencer. Thanks for that tip. Got it working with both your suggestions. Good stuff! Seems that I still have some problems with the $ID though. Somehow it doesnt want to recognise $ID. Putting in expressions is fine, but my $ID attribute or $LIFE seems to struggle in the forcescale. I wanted to drive the forcescale but multiplying it with my $ID Quote Link to comment Share on other sites More sharing options...
SpencerL Posted November 9, 2012 Share Posted November 9, 2012 you would then need to create another attribute called 'forcescale' and set the value to '1 * $ID' 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.