You can't currently output 'half' (16 bit float) values to a TIFF texture file.

There is a TIFF spec addendum that allows this, and OIIO will *read* such files 
just fine.

But there are so many other apps that don't read them correctly (including 
Nuke!), that I felt that the safe thing would be for OIIO to not write them, 
instead automatically promoting them to full float.

But if you make your texture be OpenEXR rather than the default of TIFF, you 
can have a half-based texture file.

        -- lg


On Mar 5, 2015, at 4:02 PM, Mark Lee <[email protected]> wrote:

> I'm trying to convert a uint8 source texture such that each texel component 
> gets converted to a 16-bit floating point number.
> 
> I'm not having much luck with this command: maketx -v -d half -oiio src.tga 
> -o dst.tx
> 
> It results in a file which contains full 32-bit floats. 
> 
> My question is - am I doing something wrong, or am I trying to access 
> functionality which isn't supported?
> 
> Thanks,
> Mark
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]



_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to