how about using a TimeOffset and a ShuffleCopy to insert the previous frame into it's own channelset in the stream, then in the Expression node, you'd have expressions like:
prev.red == r ? 1 : 0 On 17 July 2013 00:39, Holger Hummel|Celluloid VFX <[email protected] > wrote: > > hey guys, > > i'm trying to evaluate pixels over a range of frames. i was wondering if > it's possible to refer > to the pixel value from a different frame in the Expression node, like e.g. > > r(frame 2) == r ? 1 : 0 > > right now i'm setting it up with a bunch of FrameHold and Shuffle nodes by > shuffling each frame > into its own channel so i'm able to access those pixel values. but maybe > there's an easier way? > > thanks for any hints! > > cheers, > Holger > > -- > Holger Hummel - [email protected] > > Celluloid Visual Effects GmbH & Co. KG > Paul-Lincke-Ufer 39/40, 10999 Berlin > phone +49 (0)30 / 54 735 220 - [email protected] > > ______________________________**_________________ > Nuke-users mailing list > [email protected].**co.uk<[email protected]>, > http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-users<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users> > -- colin alway
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
