Jump to content

Need to use 'context.myTime' but node says Time Dependent: No


Recommended Posts

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.

Link to comment
Share on other sites

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

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