Thanks that helped a bit.

Any idea why 

Code:

osg::ref_ptr<osg::Image> ima = new osg::Image;
ima->allocateImage(160, 200, 160, GL_LUMINANCE, GL_UNSIGNED_BYTE);
std::cout << ima->getImageSizeInBytes() << std::endl;



returns 32000 instead of the expected 5120000?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17673#17673





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to