[osg-users] osg::Image::setImage problem

Robert Osfield robert.osfield at gmail.com
Sun Feb 19 00:19:43 PST 2017


On 18 February 2017 at 21:57, Evan Tsai <evanyftsai at gmail.com> wrote:
> Can you point me to more detailed documentation about the definition of these two parameters, packing and rowLength?

The parameters all related to OpenGL functions that define the packing
of the source image, packing and rowlength parameters are also
literally what they are.

Also If the doxgen docs aren't sufficient then go look at the
implementation i.e. src/osg/Image.cpp.

For you own tasks what will be important is what the source data is
packed as, the OSG can't help you with you, only you know what tool
you are using to read your image data, so it's down to you to do this
research.

Robert.



More information about the osg-users mailing list