Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Robert Osfield
HI Glenn, We did some work for 3.6.3 to smooth the transition between glTexImage and glTexStorage remapping to sized types where possible, perhaps this particular image format it's not remapped properly. The best thing to do now is create a small example/provide data to illustrates the problem

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Glenn Waldron
Robert, Transparency wasn't an issue (that was a missing GL_BLEND) but there are a couple other interesting things I discovered with texture arrays: 1) After loading a GIF, I had to manually call image->setInternalTextureFormat(GL_RGBA8), otherwise I get this message and a blank texture:

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Robert Osfield
On Fri, 14 Sep 2018 at 13:08, Glenn Waldron wrote: > False alarm on the transparency report -- sorry! That's a relief, didn't want to break the record of hearing of the first bug right after tagging a first release. Thanks for the testing, Robert. ___

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Glenn Waldron
Robert, False alarm on the transparency report -- sorry! Glenn Waldron / Pelican Mapping On Fri, Sep 14, 2018 at 3:35 AM Robert Osfield wrote: > GL_BLEND if the image was translucent and tested it with > OpenSceneGrpaph-Data/Images/trree0.rgba and it worked fine. The > modified file is

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Robert Osfield
GL_BLEND if the image was translucent and tested it with OpenSceneGrpaph-Data/Images/trree0.rgba and it worked fine. The modified file is attached. #include #include #include #include #include #include const char* vert = "#version 330 compatibility\n" "out vec4 coord;\n" "void main() {\n"

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Voerman, L.
I did no testing with alpha and 2d texture array combined. Normal 2d textures with alpha seem to be working fine, both with blend and with alpha test. Laurens. On Thu, Sep 13, 2018 at 10:25 PM Glenn Waldron wrote: > Laurens, > Did you test it using a texture with alpha channel? We are now

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Robert Osfield
Hi Glenn, On Thu, 13 Sep 2018 at 21:25, Glenn Waldron wrote: > Did you test it using a texture with alpha channel? We are now seeing some > problems now transparency. Do you see these problems with 3.6.3-rc3? Do they occur with test program Laurens posted? Do they occur with any alpha'd

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-14 Thread Robert Osfield
HI Laurens, Fun image demonstration of mipmapping :-) Works fine for me with 3.6.3-rc3. Cheers, Robert ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-13 Thread Glenn Waldron
Laurens, Did you test it using a texture with alpha channel? We are now seeing some problems now transparency. Glenn Waldron / Pelican Mapping On Thu, Sep 13, 2018 at 8:31 AM Voerman, L. wrote: > Hi Glenn, Robert, > > I used a constructed dds file with marked / differently colored mipmaps to

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-13 Thread Voerman, L.
Hi Glenn, Robert, I used a constructed dds file with marked / differently colored mipmaps to test (attached) Laurens. On Thu, Sep 13, 2018 at 2:11 PM Glenn Waldron wrote: > Robert, > Looks like this issue is fixed thanks to the Voerman PR, but for posterity > I will clarify the reproduction

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-13 Thread Glenn Waldron
Robert, Looks like this issue is fixed thanks to the Voerman PR, but for posterity I will clarify the reproduction steps: Run the example and pitch the camera to a sharp angle so the view vector is almost parallel to the polygon. You will see the telltale aliasing due to the lack of a mipmapping

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-12 Thread Robert Osfield
Hi Glenn etl al, Using Laurens PR as inspiration I have applied a fix for glTexStorage mipmap allocation issue as part of wider standatization of how the number of mipmap levels is selected for glTexStorage, The commit to OpenSceneGraph-3.6 is:

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-12 Thread Robert Osfield
Hi Glenn, I've compiled and run the example against the 3.6 branch with images from OpenSceneGraph-Data/Images and it runs on my Kubuntu 18.04/NVidia system without any obvious issue. Could you explain what the issue looks like so I could specifically test it? Laurens Voerman has kindly

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-11 Thread Glenn Waldron
Robert, Mipmapping is broken for Texture2DArray when glTexStorage is enabled. If you set OSG_GL_TEXTURE_STORAGE=OFF, it works properly again. Here is a standalone cpp you can use to reproduce the issue: https://gist.github.com/gwaldron/9d65c35a5d940965429f401331b72420 Windows 10, NVIDIA 760GTX,

Re: [osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged

2018-09-11 Thread Daniel Emminizer, Code 5773
Hi Robert, So far so good here with initial testing. I had been concerned about Laurens's update on text, but it looks like it turned out without problems. I was able to adjust back one of the text scaling options so now we're back to consistent between 3.4.1, 3.6.2, and 3.6.3-rc2, with