[osg-users] Problems with MRT

Robert Osfield robert.osfield at gmail.com
Fri May 18 03:06:03 PDT 2018

Hi Rômulo,

On 18 May 2018 at 09:34, Rômulo Cerqueira <romulogcerqueira at gmail.com> wrote:
> thanks for your comments. I tried your suggestions without success, even output image in different formats (BMP, PNG, TIFF...). It is funny, because I can handle the image data as GL_FLOAT, but the image is only properly written in disk as UNSIGNED_BYTE.

I'm not the original author of the plugins you are trying to use so
can't provide any quick answers, like yourself I have to read the code
and look up the 3rd party libraries/formats to find out whether it
possible for them to support writing data out in floats.

It might be that the plugins you are trying to use might be able to
support float output but the plugins don't yet implement it.  Like all
parts of the OSG things get developed when users need features that
don't yet exist so it might be the case here.  So I'd recommend just
diving into the plugin code and see what is happening for your data,
you have you data and application so best placed to do this.


More information about the osg-users mailing list