The dds file looks to be in BGR format rather than the standard RGB. Looking through the loader I can't see any means for it to determine that the ordering is swapped, perhaps it is just a convention like the y/horizontal axis flip.
Robert.
On 8/24/06, Heinrich Fink <[EMAIL PROTECTED]> wrote:
already found the option for flip, its "dds_flip" for the reader/writer
but still got the color-problem with uncompressed format...
- heinrich
Heinrich Fink wrote:
> hi robert!
>
> Try this dds-file, for example... (it happens both, with and without
> embedded mipmaps)
>
> http://stud4.tuwien.ac.at/~e0425503/appearsBlue.dds
> http://stud4.tuwien.ac.at/~e0425503/appearsBlue_nomip.dds
>
> It's a kind of wooden texture, and appears completely blue...
>
> Regarding the flip-issue: when loading a dds-file with mipmaps and
> applying osgImg->flipHorizontally() afterwards, only the mip-level 0
> gets is flipped, right?
> This results in terribly filtering issues.... is there an option for
> the osg-dds plugin to flip at loading time?
>
> In prior Discussions about the flip-issue someone mentioned a "flip-y"
> - option in NVIDIAs dds Photoshop-Plugin, but I didn't find any...
>
> greets,
>
> heinrich
>
> Robert Osfield wrote:
>
>> Hi Heninrich,
>>
>> I haven't seen/heard of this problem before. Could you post a
>> problem dds file.
>>
>> Robert.
>>
>> On 8/24/06, *Heinrich Fink* < [EMAIL PROTECTED]
>> <mailto: [EMAIL PROTECTED]>> wrote:
>>
>> Hi,
>>
>> I tried out the DDS-Loader using images generated by NVIDIA
>> dds-photoshop-plugin, and had the following issues:
>>
>> .) when using uncompressed format (3. or 4 channel) I get incorrect
>> colors (looks like only Blue / Green colors)
>> .) the image is always horizontally flipped
>> -> I know this issue was already discussed in the mailing
>> list, but
>> I couldn't find any general solution for that... NVIDIA's own
>> DDS-Loader
>> for OpenGL
>> loads all files correctly, so I guess the flipped image
>> is not
>> intended to look like that....
>>
>> Does anyone have the same issues? Any solutions for that?
>>
>> I like the dds - fileformat because the artists have more options to
>> choose between different compression-formats, and are able to
>> manipulate the mip-map-levels (fading color, sharpening -> esp. on
>> normal maps. etc....)
>>
>> thnx
>>
>> - heinrich
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected] <mailto:[email protected]>
>> http://openscenegraph.net/mailman/listinfo/osg-users
>> http://www.openscenegraph.org/ <http://www.openscenegraph.org/ >
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://openscenegraph.net/mailman/listinfo/osg-users
>> http://www.openscenegraph.org/
>>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
