Jump to content

Changing Digital Asset parameter doesn't recook the nodes inside.


Recommended Posts

Hey guys,

 

I have a digital asset I have been working on.  It simulates a weapon firing and I am using a parameter at the top level of the digital asset to set the fame numbers it should fire on.  The good news is everything seems to work fine if there is nothing cached.  Bad news, after I sim it once and go back and change those frame numbers that tell it when to fire, the cache doesn't get cleared and it just continues to play the previous cache.  Just looking for some advice on what is causing this or a way to fix it?  I currently can not share the .hip I'm working in but if absolutely necessary I could probably make a similar test scene.

 

EDIT: I went ahead and created an example file that is representative of my original file.  I figured it would just be easier that way.  It is attached.

DA_TEST.hip

da_test.hda

Edited by dereklewis12
Link to comment
Share on other sites

Oh, I had no idea DOPs couldn't read that?  I set the is_firing frame numbers on the DA but then inside the DA apply that as an attribute on a point that is also called is_firing.  I thought that would tie it all together and force it to recook when the parameter changes because the DOP is actually reading the point attribute inside the DA.  Could you explain why DOPs can't access that?  And I'm not real clear on what you mean by handling the logic up in SOPs.  I thought that was kind of what I was doing by applying it to a point attribute but I could be misunderstanding how this is working entirely.  Thank you for the response and help.

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