Thanks Pete that's exactly what I need!

Sheila

________________________________________
From: Oiio-dev [[email protected]] on behalf of Pete Black 
[[email protected]]
Sent: Wednesday, October 28, 2015 3:31 PM
To: OpenImageIO developers
Subject: Re: [Oiio-dev] DDS support

HI Sheila,

I haven't looked at the OIIO DDS plugin, but I don't imagine it will be too 
hard to get it reading this type of uncompressed data.

I note the OGRE graphics engine has support for reading and writing  this 
format, and you may gain some valuable info on how to integrate this into OIIO 
by looking at the below, and the corresponding header files.

https://github.com/ehsan/ogre/blob/master/OgreMain/src/OgreDDSCodec.cpp

Based on a very quick glance at that code, beyond header-parsing, an 
uncompressed format like this is just read directly off disk into memory which 
should make it pretty easy to handle.

Hope that helps

-Pete


> On 29/10/2015, at 10:51 am, Sheila Santos <[email protected]> wrote:
>
> Hi everyone,
>
> We're using the default dds plugin to read in dds files. I noticed there is 
> only support for DXT1, DXT2, DXT3, DXT4 and DXT5 compression formats. Has 
> anyone tried implementing support for D3DFMTs? I'm specifically looking at 
> D3DFM_A16B16G16R16F - a non compressed 16 bit float format. I know it's a 
> DirectX format - I'm on LINUX and wondering for tips on implementing it 
> myself.  Thanks!
>
> Sheila
>
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

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

Reply via email to