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

2015-08-25 Thread Curtis Rubel
Hi all, The current version of OpenGL for Yosimite 10.10.5, seems to be working to some extent from the testing I have done here recently, depending on the data you are loading. I have a new set of flt tiles here that loading their associated dds textures OK, I can convert the flt.files to .osgb,

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

2015-08-25 Thread Robert Osfield
HI David, On 25 August 2015 at 01:00, David Guthrie wrote: > I had modified the code to just ignore all loaded mipmaps in a few of the > plugins to fix it, but everything work in older versions of OSG. The code > is so different now, it's hard to tell what change triggered the problem. > If yo

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

2015-08-24 Thread David Guthrie
Hi, I had modified the code to just ignore all loaded mipmaps in a few of the plugins to fix it, but everything work in older versions of OSG. The code is so different now, it's hard to tell what change triggered the problem. David -- Read this topic online here: http://forum.

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

2015-08-18 Thread Curtis Rubel
Hi Robert, We will be continuing our investigation to see if we can get a better handle on what is the culprit behind these differences... The suggestion for the NodeVistor is also something we will be looking at for the Mac systems until such a time as we can find out the exact cause of the issu

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

2015-08-18 Thread Robert Osfield
Hi Curtis, On 18 August 2015 at 14:58, Curtis Rubel wrote: >With things the way they are now, its very strange. I have a few sets > of flight files that work and also a set that does not. The dropbox > link I put in my last post for the small flight test case, the dds textures > do not loa

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

2015-08-18 Thread Curtis Rubel
Hi Robert, OK thank you for taking a quick look With things the way they are now, its very strange. I have a few sets of flight files that work and also a set that does not. The dropbox link I put in my last post for the small flight test case, the dds textures do not load on the mac

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

2015-08-18 Thread Robert Osfield
Hi Curtis, 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. It very much looks like exactly the same proble

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

2015-08-17 Thread Curtis Rubel
Hi Robert, After some checking around with our development team, we discovered that after updating to the latest OSX release the newest GL package from Apple was also installed as part of this update and this issue seems to have been resolved... The numbers from my particular mac: Version: 4.1 N

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

2015-08-12 Thread Curtis Rubel
Hi Robert, I am searching the OpenGL Mac forums right now to see if I can find any references to mipmap or compressed textures but so far no results. I will look a bit more before entering a new post. When I was replying earlier I missed the other updates on this thread that occurred, so I now s

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

2015-08-12 Thread Robert Osfield
Hi Curtis, On 12 August 2015 at 14:53, Curtis Rubel wrote: > A real fix is going to take someone very good at openGL on the mac > to find it then.. > I suspect it might be a case of just confirming it's an OpenGL driver bug, reporting this, and then coming up for workarounds for the interim. A

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

2015-08-12 Thread Curtis Rubel
Hi Robert, I know the openGL implementation on the Mac is different, we run into shader issues all the time when we setup our applications to run on WIndows, Linux and Mac. It never fails the Mac will have some sort of issue we need to account for... A real fix is going to take someone very good

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

2015-08-12 Thread Robert Osfield
Hi Curtis, On 12 August 2015 at 13:57, Curtis Rubel wrote: > Hi Robert, > > OK I will do some more digging into this and see if I can > find anything myself that could help. Hopefully there > are some other mac folks out there that have a better > background in this area than I do, that would b

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

2015-08-12 Thread Curtis Rubel
Hi Robert, OK I will do some more digging into this and see if I can find anything myself that could help. Hopefully there are some other mac folks out there that have a better background in this area than I do, that would be nice... I can def say that OSG 3.3.1 is working OK on my mac, as I jus

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

2015-08-12 Thread Robert Osfield
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.

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

2015-08-12 Thread Voerman, L.
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 May 28 http://forum.openscenegraph.org/viewtopic.php?p=63862#63862 Regards, Laurens Voerman. __

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

2015-08-11 Thread Robert Osfield
Hi Curtis, I have gone through the DDS plugin checking the mipmap_offsets vector that gets passed to the osg::Image to set where the mipmap levels are and it all looks correct. I've put debugging into the Texture.cpp where the data gets download to the GPU and again all the values are as they sho

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

2015-08-11 Thread Robert Osfield
Hi Curtis, The model (both .flt and .osgb) works fine for me here - Linux, NVidia drivers + Geforce GTX 760 Do you get any OpenGL errors reported to the console? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensce

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

2015-08-11 Thread Robert Osfield
Hi Curtis, Thanks for posting the model. I'm downloading it now. However it's pretty late here in Scotland, and I have a lot of other work to prep for the OSG-3.4 release and presentation work to do for the OSG BOF at Siggraph tomorrow so really don't have time to look into this evening. Might

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

2015-08-11 Thread Curtis Rubel
Hi Robert, The files ended up being a bit to big to upload I guess as it kept failing. Here is a a link to my dropbox... It contains a zip of the flt file, all the dds textures and a .osgb file converted on the mac. https://www.dropbox.com/s/t5r8x1s7ee6m107/DDS_TEST.zip?dl=0 This tile will loa

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

2015-08-11 Thread Robert Osfield
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 .

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

2015-08-11 Thread Curtis Rubel
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