Hi Nick, On Wed, Jan 6, 2010 at 10:48 AM, Trajce Nikolov <[email protected]> wrote: > I am trying to do some more work with the directshow plugin, to implement > the loop mode. The rendering is done in the back by directshow so I need > some hook to test for completition
Currently there isn't any callback system for informing client apps that the image has been updated, so the only way right now is to watch the image modifiedCount to see if it's been updated. This is crude but if you do it once per frame it probably isn't too bad, just a bit clumsy. The other route is add a callback mechanism into osg::ImageStream to allow plugins to pass events such as image updated back to the client application. Feel free to come up with such a change :-) Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

