Hello,

I'm writing an Iop that requires two complete separate passes with the first 
pass needing thread locks because it uses a spreading algorithm. Instead, I 
thought of adding "numThreads" number of rgba channels and have all threads 
write in their respective channel without locks. Then, in another Iop, add 
those channels together and remove them. I'm not sure this is the best way to 
do it and I thought I would check with you guys before. Is there a way to share 
data between nodes besides writing new channels ? Can I force 2 complete 
iterations of a node before passing down the image (I could simply create 
arrays in the first pass and use it in the second pass) ?

I've looked at the Dilate example, but I don't think I could do it the same 
way. 

PS: I know there a few old posts about this, but no one ever answered, so I 
thought I would start a new topic.

Cheers
_________________
Marc-Antoine Desjardins
Software Developer - ObliqueFX



_______________________________________________
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