hi fellow TDs! I'm working on a gizmo atm- and am trying to figure out the best way for this. I'd like to find the average non-zero value of a channel on the current frame. (working with depth and motion blur)
The slowest way I can imagine doing it is to run nuke.sample() on every pixel with an if statement, to eventually average the non-zero (or alpha) pixel values together. Surely there's a better way to do it? Ideally this should happen on every frame transparent to the comper. Cheers, Jordan
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
