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

Robert Osfield robert.osfield at gmail.com
Tue Aug 11 12:44:02 PDT 2015


Hi Curtis,

Assigning a mipmap levels to an osg::Image won't affect loading of
that imagery.  So when you say it doesn't load, could it be that it's
loading fine but a rendering bug of some sort is preventing the
texture it's assigned to from working.

Could you try converting the the model to an .osgb file and see if the
.osgb file works.

If possible could you post the orgingal flt model and textures, and
the created .osgb file.

Right now my suspicion is that there is a driver bug where prepared
mipmaps are failing for some reason, or that the mipmap levels in the
dds file are corrupted for some reason.

Robert.



On 11 August 2015 at 18:52, Curtis Rubel <crubel at compro.net> wrote:
> Hi,
>
> I have looked a bit and did not find this specific issue listed, I think it
> might have been reported already so please accept my apologies
> if this is already in the pipeline to get taken care of....
>
> On Mac OSX Yosimite 10.10.3, osg/osgviewer does not seem to be able
> to load DDS textures when referenced in our openflight files.
>
> This I believe was first noticed by us back on release 3.3.7 and as
> of updating from SVN today from the trunk(3.5.0), still appears to be not
> working as our terrain tiles are all showing with no textures.  It would
> be really great if we can get this fix into the next upcoming release...
>
> At one point we had commented out line 1016 of the ReaderWriterDDS.cpp
> if (mipmap_offsets.size()>0) osgImage->setMipmapLevels(mipmap_offsets);
>
> and was able to get the textures to show up.  So maybe this will help someone figure out the actual area that is affected....  I would be happy to look but this is way out of my area of knowledge.
>
> I will be happy to help in any way I can though if anyone has any suggestions they would like to try, I can put them in and retest...
>
>
> ...
>
> Thank you!
>
> Cheers,
> Curtis
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64725#64725
>
>
>
>
>
> _______________________________________________
> 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