Hi Matt,

I haven't ever used JPEG 2000 images and multi-threaded reading before
so I can't say whether this will be thread safe.  Are you using the
OSG's jasper based plugin, or your own route?

You'll need to use a debug to find out where you application is
crashing.  Also try changing to another image format to see if that
has any effect.

Robert.

On Wed, Feb 2, 2011 at 2:41 PM, Matt Schafer <[email protected]> wrote:
> Hi,
>
> I'm working on a program that periodically receives new images to display in 
> our scene and sometimes may need to load multiple images at the same time.  
> I'm currently trying to use my own background threads that call the osgDB 
> readImage to return an Image pointer and then add a texture mapped object to 
> our scene from our main GUI thread that is doing the OSG updates.  We had 
> problems when doing this with JPEG 2000 images so I'm wondering if this usage 
> is even supported.  Can I have multiple threads calling osgDB readImage or 
> should I be doing something else?
>
> Thanks,
> Matt
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=36271#36271
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to