Maintain a separate thread to accept the pixels and cache them so Nuke isn't slowing the external renderer down. The thread should call update() every tenth of a second or so to refresh Nuke.
-jonathan On Mar 9, 2011, at 9:30 AM, Nicolas DUMAY wrote: > Hi all, > > I'm working on a Iop that take his infos ( the pixels ) from an > external renderer. > My Iop have an internal buffer that I fill with rendered buckets and > the engine function simply display that buffer. > I'd like to call ASAPUpdate when a bucket ended but that lead to too > much call in a few moment and nuke badly segfault. Any idea or > workaround? > > Nicolas > > Ps: I already try to put a usleep of 0.1 sec before calling ASAPUpdate > but this slow my render on simple scene and I'm not sure it's the best > way of doing it... > > Envoyé de mon iPhone > _______________________________________________ > Nuke-dev mailing list > [email protected] > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev _______________________________________________ Nuke-dev mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
