Hi Robert
sorry for not being more clear
i´m using vista 32bits, visual studio 8.0 sp1
i compile the 3rd parties dependencies with the package in the svn, and the
gdal lib is from fwtools 2.1 package
i have a osgdb_png.dll file which is the result of the compilation and i can
see in the visual studio ouput window that the dll is called anytime i try to
read a png and then unloaded after the operation
about the image issue
that code is executed in a visitor launched through a paged-LOD object tree,
between the update-traversal and the render-traversal calls. and it worked ok
in osg 2.2
i have made no calls to Texture::setUnrefImageAfterApply(bool). I just use the
image to read the name of the file image->getFileName()
the 2.4 compilation was made like a month and a half ago, and the 3rd parties
svn version used was the one that was the last around that date
is there any important update in the svn third parties dependencies since
then??? have anyone else had any problems reading images files with 2.4 or am i
the only one???
thanks
> Date: Wed, 4 Jun 2008 11:48:27 +0100
> From: [EMAIL PROTECTED]
> To: [email protected]
> Subject: Re: [osg-users] problem with osg 2.4 stable release
>
> Hi David,
>
> It'd be useful if you to say what platform you are using/how you built
> the OSG + dependencies, and clarify the problem with loading files.
>
> As the texture no longer having the image, is this after loading?
> After rendering? Do you have Texture::setUnrefImageAfterApply(bool)
> enabled?
>
> Robert.
>
> On Wed, Jun 4, 2008 at 11:40 AM, David _ <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > i´m trying to pass our project to the new 2.4 from the 2.2 version.
> >
> > Right now i´ve found 2 problems
> >
> > 1) With osg 2.2 and pageLOD objets, we were getting the images out from the
> > textures with something like this
> >
> > osg::StateSet *ss = data->GetStateSet();
> > osg::Texture2D *texture = (osg::Texture2D *) (ss->getTextureAttribute
> > (0, osg::StateAttribute::TEXTURE));
> > osg::Image *image = texture->getImage();
> >
> > now with 2.4, although we have a valid texture, the textures->getImage()
> > returns NULL if we´re not in the Top node.
> > we need to know the image filename for doing some stuff, so we need to
> > get access to the image
> >
> > 2) We cannot read PNG images anymore.
> >
> >
> > any ideas????
> >
> > thanks
> >
> >
> > ________________________________
> > Sigue de cerca las últimas tendencias y lo que más rompe MSN Vídeo
> > _______________________________________________
> > 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
_________________________________________________________________
MSN Video.
http://video.msn.com/?mkt=es-es
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org