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

Reply via email to