nestumkiller Posted June 3, 2008 Share Posted June 3, 2008 Hi guys! I have a generator SOP which I need to be time dependent (hope it makes sense). However when I cook it and check the its status it says: Time Dependent: No How can I make it time dependent? Thanks Quote Link to comment Share on other sites More sharing options...
edward Posted June 3, 2008 Share Posted June 3, 2008 Why is your generator SOP time dependent? context.myTime is always valid so you don't need to be time dependent to use it. However, by not being "Time Dependent", it means your SOP won't recook when the playbar changes. As a general rule, you shouldn't need to worry about it in most cases. If you have a time dependent expression on your node, it will automatically be made time dependent. Quote Link to comment Share on other sites More sharing options...
nestumkiller Posted June 3, 2008 Author Share Posted June 3, 2008 Why is your generator SOP time dependent? context.myTime is always valid so you don't need to be time dependent to use it. However, by not being "Time Dependent", it means your SOP won't recook when the playbar changes. As a general rule, you shouldn't need to worry about it in most cases. If you have a time dependent expression on your node, it will automatically be made time dependent. The SOP imports (animatable) baked geometry from disk which should vary with time. So I need access to time inside the cookMySop(). I figured out context.myTime would vary when the silder would play... Any tip? Thanks Quote Link to comment Share on other sites More sharing options...
edward Posted June 3, 2008 Share Posted June 3, 2008 Add this line inside your cookMySop(): flags().setTimeDep(true); Quote Link to comment Share on other sites More sharing options...
nestumkiller Posted June 4, 2008 Author Share Posted June 4, 2008 Great! Thanks Edward! :thumbsup: 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.