Jump to content

Hold Attribute Value with Solver


Recommended Posts

Hey guys!

I'm trying to wrap my head around the solver sop.

I have an alembic geometry that needs an attribute for the frame any point started changing position.

What I tried was, inside a Solver SOP, appending a Point VOP where I subtract the rest position from the new one, compare the length of that delta and then write the frame on an attribute.

The test and such works fine, but then my frame keeps changing, which I understand that it happens because I haven't figured a way to stop the value from changing.

What I'm trying to achieve is to do a color ramp on the points by the attribute that tells which frame started moving. Any help will be very much appreciated!

20200316_CubeAnimation.rar

Link to comment
Share on other sites

Thank you very much for the guidance and the help, I understand much better know how the workflow should be prepared for this. I didn't thought about the initialization of the value, so I'll keep in mind that for the next time I run into this.

Really appreciate the time and examples, cheers Srdjan! 

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...