<div dir="ltr">Hi David,<div><br></div><div>we faced the same issues on Mac, and my colleague found "a fast work around", not the fix though. If this is with dds textures, then in ReaderWriterDDS.cpp put the following line into comment:</div><div><br></div><div><span style="font-size:12.8000001907349px"> // if (mipmap_offsets.size()>0) osgImage->setMipmapLevels(</span><span style="font-size:12.8000001907349px">mipmap_offsets);</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">We are investigating this as time allows us, will keep this thread updated if we find something</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Nick</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 3:52 PM, David Guthrie <span dir="ltr"><<a href="mailto:dguthrie@alionscience.com" target="_blank">dguthrie@alionscience.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,<br>
<br>
I started upgrading delta3d to use osg 3.3.x, but I ran into a strange problem that that seems like it must be something that changed in the osg::Texture code, thought it only manifests on OS X. The texture is setting compressed mode, I think it turns on mip mapping correctly, and it ends up calling extensions->glCompressedTexSubImage2D().<br>
<br>
The only reason I think it has to be in this code, is that I tried it with an ive file that has compressed textures. Those load straight into the image object from the ive file, and into the Texture2D.<br>
<br>
I can export the textures from the ive, and read them in an image tool, and I can load the ive and works fine on Windows. In case you get the wrong idea, I have an application with many different file formats and both extrernal and embedded textures. Not a single compressed image we have will load properly on OS X, but they all work on in OSG 3.2.1.<br>
<br>
Any thoughts would be appreciated!<br>
<br>
Thanks,<br>
David<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=63862#63862" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=63862#63862</a><br>
<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" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">trajce nikolov nick<br></div>
</div>