sim Posted September 14, 2014 Share Posted September 14, 2014 (edited) I'm sure this is simple, but I can't figure it out. I have a destruction sim of ground falling away. I'm now adding smoke to this. For the fuel source I am deleting the geometry based on velocity, so that only moving points of the geo remain to be fuel. But now I'd like to put down a point attribute that lists the frame that a point comes into existence? I've tried using an attribVOP with an 'if' block inside. For the 'if' condition I use a 'compare' of the 'frame' attribute itself. If It's zero, then go ahead and change it, otherwise leave it alone. (Is what I think my logic is doing.) But this isn't working. I've attached here a very simple setup showing what I've tried to do. Currently it's failing and writing the current frame number to every single point. I'd appreciate any help. -Simeon startFrameAttribute_01.hip Edited September 14, 2014 by sim Quote Link to comment Share on other sites More sharing options...
rayman Posted September 14, 2014 Share Posted September 14, 2014 Frame attribute is just a input of current frame. Changing it won't update actual frame, just the attribute itself. Instead you have to go through entire time range and compare and store each frame just like simulation. You can use sop solver for this purpose as it won't flush your previous frame data. It probably may be possible instead to use CHOPs but I`m not shire how exactly it can be done. Good luck! 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.