Hi,

I am having a problem with flickering in my application.  I have a scene that 
includes a live video texture that I project into the scene using a TexGen 
node.  The texture uses an ImageStream object on which I call setData with the 
pointer to the raw image data.  This image is provided by another subsystem 
that I do not have control over.  The image is updated approximately every 20 
ms.

When I recently tested my application with a different physical camera and a 
different version of the image capture subsystem, I would see flickering after 
the application is running for 5-10 minutes or so.  The flicker would stop if I 
shut off the video feed (so that Image::setData is no longer called).  This 
would make me suspect a bug in the image capture code; however, the entire 
graphics window flickers, not just the area with the video projection.  In 
fact, I can move the scene so that the video is no longer in the view frustum 
and the flickering continues.  Other than the camera, the hardware is identical.

This is a Qt application and the 3D window is just one panel of a larger GUI 
window.  The OSG widget is set up along the lines of the osgViewerQt example.

I tried setting OSG_NOTIFY_LEVEL  to DEBUG to see if there were any errors but 
I didn’t see anything suspicious.

I am using OSG 3.0.0, Qt 4.8.4, and Windows XP.  The video driver is Intel HD 
Graphics.

Does anyone have a suggestion on what could be the cause of this flickering and 
how to fix it?

... 

Thank you!

Cheers,
Michael

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=57201#57201





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to