Hi Alex,

The OpenFlight plugin does not support multi-threaded usage, but does
have a reentrant mutex to marshal access through it - effectively
serializing access to it.  There was a point when the OpenFlight
plugin didn't yet have this serializing feature.  Which version of the
OSG are you using?

When using the DatabasePager it runs its own background thread for
doing the file reading and data prep, there is only currently one
thread that it runs, so typically reading from plugins is still still
single-threaded.

Oh yea - I am using the plugin in src/osgPlugins/OpenFlight, not the one
in src/osgPlugins/flt. Out of curiosity, why is there two different
plugins for the same file type?

OSG-2.0 only has the new OpenFlight plugin, the old flt plugin has
been removed.  In 1.2 we kept the flt plugin around for cases where
the new plugin wasn't quite mature enough.

Robert.

On 6/30/07, Pecoraro, Alexander N <[EMAIL PROTECTED]> wrote:
Hi, I was wondering if anyone was using the OpenFlight ReaderWriter
plugin in combination with the osgDB::DatabasePager? I modified the
plugin so that it creates PagedLOD nodes for external reference records,
instead of ProxyNodes, so that I could have paging functionality in my
OpenFlight terrain. I made sure to set thread safe reference counting to
true, but I still seem to get segfaults when I fly around the terrain.
It appears to happen in the std::vector class when the OpenFlight plugin
tries to add some new object, such as a vertex, to a vector.

I'm just trying to confirm whether it could be something that I caused
or if the OpenFlight plugin doesn't work well with the database pager.
So if anyone has used openflight files with the database pager please
let me know.


Thanks.

Alex
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to