Hi Robert,

The image from the logo isn't displayed.

You can reproduce the error by launching osgViewer with osg64.logo data.

In drawImplementation function from ReaderWriterLOGO.cpp, at line 141, the
image we get back from logo vector is apparently corrupted :

for( p = logos[i].begin(); p != logos[i].end(); p++ )
                    {
                        osg::Image *img = *p;

Kind regards,

2009/1/26 Robert Osfield <[email protected]>

> Hi Alexandre,
>
> Could you explain how it's failing?  I'd like to reproduce the problem
> and fix it properly.
>
> Robert.
>
> On Mon, Jan 26, 2009 at 4:19 PM, Alexandre Amalric
> <[email protected]> wrote:
> > Hi osg-users,
> >
> > Apparently latest osg SVN logo plugin isn't working.
> >
> > I did make it work by replacing line :
> >
> > osg::ref_ptr<osg::Image> image = osgDB::readRefImageFile( name.c_str() );
> >
> > by line :
> >
> > osg::Image* image = osgDB::readImageFile( name.c_str() );
> >
> > in ReaderWriterLOGO.cpp like in osg 2.7.8 version.
> >
> > Kind regards,
> > --
> > Alexandre AMALRIC                   Ingénieur R&D
> > ===================================
> > PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
> > http://www.pixxim.fr
> >
> > _______________________________________________
> > 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
>



-- 
Alexandre AMALRIC                   Ingénieur R&D
===================================
PIXXIM S.A. 73E, rue Perrin-Solliers 13006 Marseille
http://www.pixxim.fr
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to