Thanks. I change Nvidia drivers (174 > 175), function getPixelSizeInBits return 24 )))
04.08.08, 15:26, "Robert Osfield" <[EMAIL PROTECTED]>: > Hi ?? Could you please sign with the name you would like to be > addressed with as it's tedious having to guess. > On Mon, Aug 4, 2008 at 12:09 PM, GMD GammerMaxyandex.ru > <[EMAIL PROTECTED]> wrote: > > ok. > Thanks. To check this out, I've added to src/osgDB/ReadFile.cpp's > osgDB::readImageFile() function the line: > notify(NOTICE)<<"Image "<<filename<<" > getPixelSizeInBits()="<<rr.getImage()->getPixelSizeInBits()<<std::endl; > Image doska.jpg getPixelSizeInBits()=24 > Doing a gdalinfo shows that this file is a RGB, single byte per > channel. This suggests that the loading is correct. > Now, you mention something about a texture copy, but I can't work out > how this relates to the problem, your original email sounds like that > the copy produced the correct results, while the incorrect results > happened before. > Robert. > _______________________________________________ > 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

