[osg-users] Behaviour of function osg::Image->getPixelSizeInBits() is strange.
GMD GammerMaxyandex.ru
GammerMax at yandex.ru
Wed Jul 30 06:09:28 PDT 2008
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
More information about the osg-users
mailing list