[osg-users] Model(s) load ~10 times longer in 3.6.x than 3.4.x series in osgviewer (and my in-house software)

Robert Osfield robert.osfield at gmail.com
Fri Jul 20 10:30:41 PDT 2018

Hi James,

On Fri, 20 Jul 2018 at 15:59, James Davis <davisjamesf at gmail.com> wrote:
> I suppose my confusion comes from the original issue I was seeing... the very slow loading of ive and osg files (even though obj's are slow too)
> So.....When osgconv creates an ive and/or osg formats from a obj, does the obj information remain wrapped up in the ive/osg formats and the obj plugin still used when loading?    That would make sense that the obj plugin is the problem when loading.

The obj plugin is creating an osg::Geometry with a separate
PrimitiveSet per triangle, once it's created this monster of a scene
graph it pollutes whatever else touches it.  It's technically is a
valid scene graph, the OSG won't fail to load and save it or render
it, but you should expect such a scene graph to be inefficient.  You
can fix it with optimizers but this is trying to put the horse back in
the stable once it's bolted.

As I said already several times, the problems stems from the obj
plugin, this is where the fix needs to be made.


More information about the osg-users mailing list