zeekindustries Posted March 19, 2020 Share Posted March 19, 2020 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 Quote Link to comment Share on other sites More sharing options...
djiki Posted March 20, 2020 Share Posted March 20, 2020 (edited) This is modified, working version. You have to init some value before solver node, and then inside solver make tests only for unaffected (initialized) values. So those, already affected stay intact. AIL_FX_cubeAnimatedVertexColor_v02.hiplc Edited March 20, 2020 by djiki Double attachment 1 Quote Link to comment Share on other sites More sharing options...
zeekindustries Posted March 23, 2020 Author Share Posted March 23, 2020 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! 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.