Hi Robert, what I did here is I launch observer thread that checks for that. Simple and working. How to submit the update?
Nick http://www.linkedin.com/in/tnick Sent from Devlet, Ankara, Turkey On Wed, Jan 6, 2010 at 12:59 PM, Trajce Nikolov <[email protected]>wrote: > > Nick > > http://www.linkedin.com/in/tnick > Sent from Devlet, Ankara, Turkey > > On Wed, Jan 6, 2010 at 12:53 PM, Robert Osfield > <[email protected]>wrote: > >> 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. >> > > as is at present, talking about the directshow plugin, this will not do the > job > > >> >> 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 :-) >> > > ok > > >> >> Robert. >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

