Hey!

Something that bugged me the whole night are soft copies that are created of nodes. These nodes are instances of the same op that, as far as i understood, are used to work on different frames at the same time. I can observe many instances of these are created. My Node, as it has more internal data calculated than what i have in the knobs, is reacting on that by checking if this == firstOp(), which works very well.

However, i just wonder how they work exactly. Here's my further understanding:

It is a new instance with the same name of my node that is not visible in the UI. It shares the same data that is defined in the knobs. They operate on the same data set as defined in the knobs. If there is additional data in your plugin (which is very likely the case for more advanced stuff) the developer need to take care of this and probably has to share up-to-date data between those ops.

Please correct me if i'm wrong here.

Now, where i'm not quite sure is how they might get called. Is it possible that e.g. engine() is called for instance 0 and instance 1 at the same time? How is the exact threading behavior? I just want to make things bomb-proof :)

Thanks,
Thomas
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to