[osg-users] [osgPlugins] DDS textures not loading on Mac OSX and the latest trunk(3.5.0)

Robert Osfield robert.osfield at gmail.com
Wed Aug 12 01:55:12 PDT 2015


Hi Laurens,

I recall the thread.  Alas there was no conclusion as to cause then.

This time around I have had a chance to the review a dataset that
doesn't work on OSX, and to the relevant code that passes that data to
OpenGL and it all looks OK, so it now I'm more certain it's an OSX
driver bug.

This investigation makes it very clear that hacking the DDS plugin to
disable mipmaps is absolutely the wrong thing to do as this code is
correct and works properly on all platforms - I'm confident that it's
working under OSX as well as it's all vanilla C++ code.

If OSX users are to hack code to workaround what looks like a driver
bug then they'll need to do this in their own applications - such as
traversing the loaded scene graphs to disable the mipmaps in
osg::Image.

Hopefully this bug will be a transient issue and that Apple will fix
the bug rather have users/developers run around trying to patch their
applications to workaround it.

Robert.

On 12 August 2015 at 08:20, Voerman, L. <l.voerman at rug.nl> wrote:
> Just a quick remark: this problem was already on the mailing list.
>
> [osg-users] OS X (10.9) Texture2D with hardware compression results in no
> texture data.
> David Guthrie <dguthrie at alionscience.com> May 28
> http://forum.openscenegraph.org/viewtopic.php?p=63862#63862
>
> Regards, Laurens Voerman.
>
> _______________________________________________
> 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