Hi David,

I have merged your changes, but... its rather a shot in the dark based
on the assumption that you've done more homework than me...  I looked
at the code and couldn't spot any code properly handling the masks
during reading so it must be making assumptions, in fact the whole
things leaves me rather perplexed - I'm not familiar with the dds
format which doesn't help.

The changes are now merged and submitted to SVN.  There would a couple
of warning fixes that had mad it in since 2.1.1 but no changes that
would affect yours.

Cheers,
Robert.

On 9/14/07, David Spilling <[EMAIL PROTECTED]> wrote:
> Dear Robert,
>
>  Given no replies to my recent "does anybody use the DDS writer" query, I
> was emboldened to submit this very small patch. The bitmasks for RGBA and
> RGB have been modified in the writer portion of the code (line 765 onwards).
> This is now consistent with what the DDS plugin reads. In terms of testing,
> note that many 3rd party applications erroneously ignore the bitmasks in the
> file, and assume a BGRA order.
>
>  This is based on the 2.1.1 release, although I don't think it's changed
> since then.
>
>  Hope that helps,
>
>  David
>
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to