Hi Max,

Could you provide the image file that revelled this issue.  Without
this I have absolutely no chance in tracking it down.

Robert.

On Wed, Jul 30, 2008 at 2:09 PM, GMD GammerMaxyandex.ru
<[EMAIL PROTECTED]> wrote:
> Behaviour of function osg::Image->getPixelSizeInBits() is strange. After 
> loadind OSG-file, I tryed get
> count bits by pixel (several different images was examinated)? and function 
> returns 64! After
> changing image of texture by its copy:
>    osg::Image* dest =dynamic_cast<osg::Image*> 
> (MyImage->clone(osg::CopyOp::DEEP_COPY_ALL));
>    MyTexture->setImage(dest);
>
> function osg::Image->getPixelSizeInBits() returns correct values 24/32.
> Is any ideas?
>
> System: OSG 2.6.0 rc1, WinXp / Vista, VS 2008
> _______________________________________________
> 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

Reply via email to