Mike,

If you arrange in your ‘append’ overload to always return the same Hash value, 
the caching system won’t save the frames because it won’t detect they are 
different.  The problem is, I’m pretty sure the Viewer won’t know to update its 
image window as well.  Very fast, but perhaps not too useful.

Steve

From: [email protected] 
[mailto:[email protected]] On Behalf Of mike.artixels
Sent: Monday, May 14, 2012 8:51 AM
To: [email protected]
Subject: [Nuke-dev] How to Disable Viewer Cache from a plug-in ?

Hi there,

I am working on an image sequence generator which produces image data around 20 
fps on my machine when I have turned off Viewer Cache (Disk cache) manually at 
the preferences panel.

If the Viewer cache is ON, the caching has actually slowed down the playback, I 
guess the procedurally generated data is kinda faster than cached playback in 
this case (My cache disk is slow anyway). In addition, the cache system 
allocates additional memory which quickly hit the peak memory (as i was 
changing my params interactively) and the memory manger kicks in and caused 
additional slow-down.

So I would like to know if there is any means that may instruct Nuke not to 
generate Viewer cache of my output. (at least allow my users to choose). I have 
tried "asapUpdate()" as I saw from the documentation that it will disable 
Viewer cache but it didn't work.

Any idea or pointers?

Thanks,

Mike

(CONFIDENTIALITY NOTICE: The information contained in this email may be 
confidential and/or privileged. This email is intended to be reviewed by only 
the individual or organization named above. If you are not the intended 
recipient, or an authorized representative of the intended recipient, you are 
hereby notified that any review, dissemination or copying of this email, or the 
information contained herein is strictly prohibited. If you have received this 
communication in error, please notify the sender by return email and delete 
this email from your system. Thank You.)

_______________________________________________
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