[osg-users] ECW Image Files - Secret Tricks?

Jason Beverage jasonbeverage at gmail.com
Sun Aug 19 09:52:31 PDT 2007


Hi Nick,
I think there is a misunderstanding of how osgdem works.  The OSG
readImageFile method, which invokes the plugins you are talking about, is
not used in osgdem/VPB currently: it uses the GDAL library directly.  I
don't want you all to go down the wrong path trying to tweak OSG plugins
that will have no effect.

As far as recompiling GDAL to get ECW support, I would suggest trying to
download the binary releases of GDAL included in the FWTools package (
http://fwtools.maptools.org/).  The sight is down this morning, but should
be back up at some point.  It has almost all the optional plugins built for
you and I'm pretty sure ECW is supported out of the box with those
libraries.

Thanks!

Jason

On 8/19/07, Antoine Hue <tonio_73 at tiscali.fr> wrote:
>
> Nick Prudent wrote:
> > Antoine,
> >
> > So how do I make sure that the osgdb_ecw.dll plug-in gets called
> > instead of GDAL? As it is, osgDem just stops (crashes actually...). I
> > am not looking foward to recompiling GDAL ;(
> >
> You may get debug messages from OSG setting in environment
> OSGNOTIFYLEVEL=DEBUG_INFO
> or setting it directly in your app:
>
> #include <osg/Notify>
> ...
>
> osg::setNotifyLevel(osg::DEBUG_INFO);
>
> This will list all tried plugins. A lot of text to analyse but the only
> way to verify that the ECW plugin is in the list.
>
>
> Antoine
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070819/53dafa19/attachment.htm 


More information about the osg-users mailing list