[osg-users] 3D osg::Image allocation size problem

Josiah Jideani josh.jideani at gmail.com
Mon Jul 25 00:13:40 PDT 2016

Hi SMesserschmidt

I think you are right about the size issue.

With sizes less than 640, the getTotalImageSizeIncludingMipmap() function returns the correct size that is 640 x 640 x 640 x 4 x 4.

With sizes between 640 and 1024 it returns the wrong size that is even less than the maximum size of a 32bit int.

With sizes above 1024, it just returns 0.

Changing the data type of the size calculation in the source code could be a step in the right direction.  How soon can it be changed?



Read this topic online here:

More information about the osg-users mailing list