<div dir="ltr"><div><div><div>Hi Curtis,<br><br></div>I've tried the model under Linux and it works fine.  From converting to .osgt I see the model originally had references to .dds files so presume the osg::Image are generated with mipmaps and these are stored in the .ive as they should be.<br><br></div>It very much looks like exactly the same problem - that OSX GL drivers aren't handling pre generated mipmaps.  The workaround for this driver bug is exactly the same as I outlined previously - a NodeVisitor that is run on OSX that finds osg::Image with mipmaps assigned and disables them - this approach works for .dds files loaded directly or osg::Image with mipmaps that are embedded with an .ive or .osgb file.<br><br></div><div>On the OSG the only thing we could do is add such a hack, but as this driver bug is very likely transient I don't see as something sensible to do - we'd be disabling a feature on the OSX for an unspecified period going forward and introducing hacks to the OSG that could introduce bugs themselves.<br></div><div><br></div>Robert.<br><div><div><br><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 August 2015 at 14:10, Curtis Rubel <span dir="ltr"><<a href="mailto:crubel@compro.net" target="_blank">crubel@compro.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Robert,<br>
<br>
Maybe I spoke too soon...  Just to add some more data<br>
to this thread:<br>
<br>
The attached file, terrain.ive is something we use for testing<br>
and is also delivered with Sundog's Triton package as part<br>
of a demo.<br>
<br>
This file loads fine on Linux all versions of OSG.<br>
<br>
On the mac it loads fine on OSG 3.3.1, but since then<br>
no textures are loaded with this file.<br>
<br>
I also have another set of openflight files that have the<br>
same issue, Linux all versions is OK, Mac OS, nothing<br>
after 3.3.1 will load the dds textures.<br>
<br>
This link to a small sample database, also has issues<br>
on the Mac, but works fine on all Linux versions:<br>
<br>
<a href="https://www.dropbox.com/s/nm8f4op5ybw39dq/MalaysiaFlt.tjz?dl=0" rel="noreferrer" target="_blank">https://www.dropbox.com/s/nm8f4op5ybw39dq/MalaysiaFlt.tjz?dl=0</a><br>
<br>
It is still likely that this is some Mac OSX OpenGL thing, but<br>
if some time comes up might be worth looking at just to<br>
be sure what is happening with them.  Maybe its an old<br>
version of flight formatting or something.<br>
<br>
Loading one of the flt tiles on the mac, the only suspicious<br>
message I see is:<br>
<br>
Warning: Detected OpenGL error 'invalid operation' at After Render::compile<br>
<br>
OpenGL extension'' is not supported.<br>
<span class=""><br>
<br>
...<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Curtis<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=64824#64824" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=64824#64824</a><br>
<br>
<br>
<br>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>