nicholas_yue Posted January 23, 2015 Share Posted January 23, 2015 Hi, In the method ::cookMySop(OP_Context &context) is there a way to differentiate between geometry data changes e.g. points x,y,z change, vs topology changes ? I am writing a SOP which takes input from a node like the Alembic SOP. On initial input connection or reconnection, it's a brand new data input so I am making provision to compute my internal stuff from scratch but when the user drag the time line or hit play, I hope to avoid making the assumption that the topology remains the same but if it does, I want to skip the much heavier construction from scratch. Does Houdini pass on such status between nodes which we can query ? Cheers Quote Link to comment Share on other sites More sharing options...
pbarua Posted January 23, 2015 Share Posted January 23, 2015 I don't know whether it's efficient way. You can create an array of attributes then compare the value of previous frame to current. If value equals to previous frame then pass through. 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.