Hello Folks,

Sorry for bothering you all with my question.  I figured out the problem.
I thought that osgViewer::Viewer was single threaded by default.  It is
not.  It turns out that there were other threads updating the image and
causing the artifacts.

Regards,
Adam

On Mon, Aug 13, 2012 at 11:20 AM, Adam Stambler <[email protected]> wrote:

> Hello Folks,
>
> I am using OSG to render a scene and take a huge number of screen shots
> from of tons of different orientations and positions.  When looking at the
> rendering through my viewer, everything looks correct.  However, when I
> look at the saved screen shots, there are obvious artifacts.  It looks like
> rolling shutter camera has been caught in mid capture.
>
> You can see what I mean here :
> https://www.dropbox.com/s/xj2dakjkuyw8d0v/view381.png  The discontinuity
> is on the right hand side.  The top looks like a new rendering while the
> bottom looks like the old.
>
> I am using an osg::Image to read the screen buffer during a the main
> camera's post draw callback.  Has anyone else experienced this kind of
> problem?  Most of my captures are OK, but greater than 1% captures are
> not.
>
>
> Thank you for any help you can provide.
> Cheers,
> Adam
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to