Hello,

I've written a custom Camera node which reads data (matrix, FOV etc) from 
custom file format. I'm using overridden method "_validate" to set "local_", 
"matrix_" and "focal_length_" members. I've also added context frame to hash in 
append method. In knob_changed I'm using "invalidateSameHash()". There are no 
input nodes.

It seems to work fine for the first time, however once I change some knobs 
(speed, offset etc) camera starts to jump around. Also, if I scrub playhead 
forward I get proper motion, but it gets jagged when scrubbing backwards. 
Moreover when I play animation I get "previous animation" for first loop and 
then "new animation" for second one and so on.

It seems an issue with cached values to me. How should I invalidate/clear cache 
properly? Any ideas?

Tested on Nuke 6.3v8 and 7.0v2

Thanks a lot,



_______________________________________________
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