GeneralLethal Posted November 4, 2016 Share Posted November 4, 2016 What would be the best way of setting an attribute at birth to FLIP particles, using a noise, so that its value is then retained for its life duration? With normal particles I'd probably use the "just born" group, but as FLIP particles don't have an age attribute, I'm a bit over my head in how I could achieve the same result. Quote Link to comment Share on other sites More sharing options...
woodenduck Posted November 5, 2016 Share Posted November 5, 2016 Set it on the source points before you start the flipsim. After your fluid source node add a attribute vop and plug a turbulent noise vop in to Cd. If you turn off the visualisation in the flipobject/guides/particles/visualisation type in the dopnet, you should see colours coming through on the flip particles. Quote Link to comment Share on other sites More sharing options...
nigelgardiner Posted November 7, 2016 Share Posted November 7, 2016 Hi in the flip solver node under behaviour you can turn on age particles,if that helps. cheers nigel. Quote Link to comment Share on other sites More sharing options...
GeneralLethal Posted November 7, 2016 Author Share Posted November 7, 2016 @woodenduck: Thanks a lot, it makes a lot of sense, I'll try that. @nigelgardiner: Oh thanks! That'll come in handy. Quote Link to comment Share on other sites More sharing options...
Dave Stewart Posted November 7, 2016 Share Posted November 7, 2016 You could also plug the expression $F==2 into the "Activation" of a Pop VOP/Wrangle and set your attributes in there. It'll run once and set the attributes on frame 2 (frame 1 doesn't work as the sim hasn't run yet?) --Dave Quote Link to comment Share on other sites More sharing options...
GeneralLethal Posted November 7, 2016 Author Share Posted November 7, 2016 @Dave: Thanks! I'm not sure that would work in this case though, as particles are emitted throughout the scene, so the noise wouldn't be applied to those born after frame 2. Woodenduck solution's worked, though: add the attribute in the emitter before they're copied in the DOP network.- Quote Link to comment Share on other sites More sharing options...
Dave Stewart Posted November 8, 2016 Share Posted November 8, 2016 Correct! That solution would be if you're sourcing from geometry or volumes, and the FLIP particles are created from that data and not from source points, as is the case with the "FLIP fluid from object" and "FLIP tank" shelf tools. Glad you got it working! --Dave 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.