[osg-users] ReadImage not routing to plugin?

Robert Spearman rob at digitaliseducation.com
Sat Sep 24 10:56:09 PDT 2016


OK, I see the design flaw I was missing.  You have to load a plugin 
library in order to see what extensions it handles, and plugins are only 
loaded when needed.  But "needed" can only be known if you have loaded 
the plugin already.  That's why there are so many hard coded extensions 
in the Registry.cpp.

So the workarounds are to load a specific plugin in your app or set up 
the registry in your app.  But nothing can fix this in the plugins short 
of redesigning things.

Does that sound right?

Thanks,

Rob






More information about the osg-users mailing list