[osg-users] [forum] DXT texture compression

Robert Osfield robert.osfield at gmail.com
Sat May 19 04:30:33 PDT 2018


Hi Roby,

I have just run the test and it sure looks like it's flipped to me.

   osgviewer --image Images/lz.rgb
   ./compressionbug
   osgviewer --image lz.dds

The results are flipped, to make the lz.rgb and dds.dds flip you still
have to use:

  osgviewer --image lz.dds -O "dds_flip"


Robert.


On 18 May 2018 at 17:46, Roby Urban Chaos <urbanchaos at email.it> wrote:
> I've understood.
>
> With the same code, in the 3.0.1 version when compressing the RGB image to DDS, the image was flipped automatically according to DDS default.
> To view in the correct way the DDS I always used "    osgviewer --image lz.dds -O "dds_flip"    "
> With the newer version this is in reverse.
>
> When running the applications with OSG_NOTIFY_LEVEL=DEBUG, I can see the message "Flipping dds image on write" but this is not true.
> The image was not flipped.
>
> The RGB and DDS file were identical.
>
> To view the DDS now it is sufficient to use "   osgviewer --image lz.dds    "
>
> I expect the same result.
>
>
>
> Cheers,
> Roby
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=73674#73674
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list