Hi Antonio, What precisely do you mean by noise, and just how much delay are we talking about?
Robert. On 17 July 2012 11:49, Antonio De Giorgio <[email protected]> wrote: > Hi, > I've developed a little application that should open a webcam live streaming > with opencv libraries, process it with openCV again and than send it to an > openscenegraph scene (like the osgMovie example)...in other words i take the > frame, make some processing on it, convert it in a osg::Image and pass it to > a node as a texture...After this i have the main thread that visualizes the > scene, a thread that has to update the frame, eventually process and convert > it in a osg::Image and an update callback that finally just calls the > dirty() method of the osg::Image... The problem is that i see some noise and > either a big delay in the processing maybe caused by a bad sinchronyzation by > the update callback and my thread... if i avoid to use the update callback > and than make all these operations in my thread i have less noise but a > bigger delay...How can i solve it? Have you got any ideas? I hope i've been > quite clear in this post..... > > Thank you! > > Cheers, > Antonio > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=48891#48891 > > > > > > _______________________________________________ > 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

