Jump to content

Attribute's Incremental Increase Animation


Recommended Posts

I think your assumption is wrong. When a sop recooks it gets its values from the previous sop in the chain not from the previous frame. Unless this is a pop node in which case that may not be true, i've never written a pop node, but since they are simulations I could well imagine they work that way.

In this simple case it seems like you ought to be able to get the current frame and multiple that by your step amount and add that instead, but I suspect this is just an example for something more complex?

Link to comment
Share on other sites

Thanks, Simon for you reply,

This is indeed just an illustration of the sort of problem I have, but after taking a gulp of fresh frosty air in the local park I thought the situation over and came exactly to the conclusions that you suggested.

Probably the problem is that, though I am working on fluid simulation, I do it on SOPs level (seemed easiest for me to implement) – the whole thing kind of works, but I’ve got a couple of assumptions to check. Concerning this “previous frame based” approach – I think that saving the result of the current frame (result_$F) and then reading it the next frame (result_$F-1) can be a workaround – I’ll check this now.

bzbzbz

PS. maybe it would be more natural to code DOPs, but I’ve never coded DOPs before. Maybe next step?..

Link to comment
Share on other sites

I think although it is doable to simulate in sops, you will always be fighting the system. Much better to try and work in pops or indeed dops. Maybe you could get around it by using the sop solver?.... and therefore write what you need in sops but do the simulation in dops, if you see what I mean.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...