<div dir="ltr">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.<div>Laurens.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 10:25 PM Glenn Waldron <<a href="mailto:gwaldron@pelicanmapping.com">gwaldron@pelicanmapping.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Laurens,<div>Did you test it using a texture with alpha channel? We are now seeing some problems now transparency.</div><div><br clear="all"><div><div dir="ltr" class="m_1272684838205335526gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Glenn Waldron / Pelican Mapping</div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 8:31 AM Voerman, L. <<a href="mailto:l.voerman@rug.nl" target="_blank">l.voerman@rug.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Glenn, Robert,</div><div><br></div>I used a constructed dds file with marked / differently colored mipmaps to test (attached)<div><br></div><div>Laurens.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 2:11 PM Glenn Waldron <<a href="mailto:gwaldron@gmail.com" target="_blank">gwaldron@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Robert,<div>Looks like this issue is fixed thanks to the Voerman PR, but for posterity I will clarify the reproduction steps:</div><div><br></div><div>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 min-filter on the texture. Then set the OSG_GL_TEXTURE_STORAGE env var to OFF, and repeat; you will see the min-filter acting as expected.</div><div><br clear="all"><div><div dir="ltr" class="m_1272684838205335526m_-4452420807284881060m_-2236901582930607961gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Glenn Waldron</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 12, 2018 at 12:11 PM Robert Osfield <<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Glenn,<br>
<br>
I've compiled and run the example against the 3.6 branch with images<br>
from OpenSceneGraph-Data/Images and it runs on my Kubuntu 18.04/NVidia<br>
system without any obvious issue.  Could you explain what the issue<br>
looks like so I could specifically test it?<br>
<br>
Laurens Voerman has kindly investigated the issue and has a PR that<br>
addresses it:<br>
   <a href="https://github.com/openscenegraph/OpenSceneGraph/pull/624/files" rel="noreferrer" target="_blank">https://github.com/openscenegraph/OpenSceneGraph/pull/624/files</a><br>
<br>
I want to be able to recreate the issue so that I can confirm that the<br>
PR fixes it - it looks like it fixes it to me but don't want to make<br>
any assumptions.<br>
<br>
Cheers,<br>
Robert.<br>
<br>
<br>
On Tue, 11 Sep 2018 at 21:23, Glenn Waldron <<a href="mailto:gwaldron@gmail.com" target="_blank">gwaldron@gmail.com</a>> wrote:<br>
><br>
> Robert,<br>
><br>
> Mipmapping is broken for Texture2DArray when glTexStorage is enabled.<br>
> If you set OSG_GL_TEXTURE_STORAGE=OFF, it works properly again.<br>
><br>
> Here is a standalone cpp you can use to reproduce the issue:<br>
> <a href="https://gist.github.com/gwaldron/9d65c35a5d940965429f401331b72420" rel="noreferrer" target="_blank">https://gist.github.com/gwaldron/9d65c35a5d940965429f401331b72420</a><br>
><br>
> Windows 10, NVIDIA 760GTX, OSG 3.6.x branch tip 9/11/18.<br>
><br>
> Glenn Waldron<br>
><br>
><br>
> On Tue, Sep 11, 2018 at 7:36 AM Robert Osfield <<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>> wrote:<br>
>><br>
>> Hi All,<br>
>><br>
>> I have just tagged the 3.6.3 release candidate 2:<br>
>><br>
>>     <a href="https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.6.3-rc2" rel="noreferrer" target="_blank">https://github.com/openscenegraph/OpenSceneGraph/tree/OpenSceneGraph-3.6.3-rc2</a><br>
>><br>
>> My aim is to tag the 3.6.3 at the end of this week. Please test and<br>
>> provide positive/negative feedback via this thread.  :-)<br>
>><br>
>> Cheers,<br>
>> Robert.<br>
>><br>
>> -- Changes since 3.6.3-rc1<br>
>><br>
>> Tue, 11 Sep 2018 11:56:04 +0100<br>
>> Author : Robert Osfield<br>
>> Updated rc number 2 for 3.6.3-rc2<br>
>><br>
>> Tue, 11 Sep 2018 11:29:36 +0100<br>
>> Author : OpenSceneGraph git repository<br>
>> Merge pull request #620 from LaurensVoerman/txt_SCREEN_COORDSfix scale<br>
>> problem for osgText with characterSizeMode SCREEN_COORDS and _position<br>
>> set.<br>
>><br>
>> Tue, 11 Sep 2018 11:23:34 +0100<br>
>> Author : Robert Osfield<br>
>> Fixed hang using a ReentrantMutex<br>
>><br>
>> Tue, 11 Sep 2018 10:13:49 +0100<br>
>> Author : Robert Osfield<br>
>> Fixed build<br>
>><br>
>> Tue, 11 Sep 2018 09:31:35 +0100<br>
>> Author : Robert Osfield<br>
>> Fixed build<br>
>><br>
>> Tue, 11 Sep 2018 09:03:01 +0100<br>
>> Author : Robert Osfield<br>
>> Cleaned up code<br>
>><br>
>> Mon, 10 Sep 2018 08:00:41 -0400<br>
>> Author : gwaldron<br>
>> osgText: fixed thread-safety issues in Glyph and Font<br>
>><br>
>> Sat, 8 Sep 2018 18:18:33 +0200<br>
>> Author : mp3butcher<br>
>> fix examples context creation for X11 (when display not :0.0)<br>
>><br>
>> Tue, 11 Sep 2018 08:34:20 +0100<br>
>> Author : OpenSceneGraph git repository<br>
>> Merge pull request #619 from mathieu/topic/SaveInlinedImagesAdded<br>
>> saving of inline Images without having the physical image file.<br>
>><br>
>> Tue, 11 Sep 2018 08:11:27 +0100<br>
>> Author : Robert Osfield<br>
>> Added greater control of how cubemap is set up and controlled<br>
>><br>
>> Fri, 7 Sep 2018 15:09:15 +0200<br>
>> Author : Laurens Voerman<br>
>> fix scale problem for osgText with characterSizeMode SCREEN_COORDS and<br>
>> _position set.<br>
>><br>
>> Fri, 7 Sep 2018 14:04:41 +0200<br>
>> Author : Mathieu MARACHE<br>
>> Added saving of inline Images without having the physical image<br>
>> file.The can be read from and inlined image file<br>
>><br>
>><br>
>> Thu, 6 Sep 2018 12:30:18 +0100<br>
>> Author : Robert Osfield<br>
>> Merge branch 'OpenSceneGraph-3.6' of<br>
>> <a href="https://github.com/openscenegraph/OpenSceneGraph" rel="noreferrer" target="_blank">https://github.com/openscenegraph/OpenSceneGraph</a> into<br>
>> OpenSceneGraph-3.6<br>
>><br>
>> Thu, 6 Sep 2018 12:29:44 +0100<br>
>> Author : Robert Osfield<br>
>> Updated for 3.6.3-rc1<br>
>><br>
>> Thu, 6 Sep 2018 11:50:21 +0100<br>
>> Author : Robert Osfield<br>
>> Fixed memory leak with assignment of default value to ObjectSerializer<br>
>><br>
>> Wed, 5 Sep 2018 18:06:25 +0100<br>
>> Author : OpenSceneGraph git repository<br>
>> Merge pull request #616 from<br>
>> eligovision/OpenSceneGraph-3.6_particlesParticleSystem: Added support<br>
>> for GLES2 and upper (GL_QUADS -> GL_TRI…<br>
>><br>
>> Wed, 5 Sep 2018 18:01:33 +0100<br>
>> Author : Robert Osfield<br>
>> Fixed copy constructor<br>
>><br>
>> Wed, 5 Sep 2018 19:00:29 +0300<br>
>> Author : Konstantin S. Matveyev<br>
>> ParticleSystem: Using of GL_TRIANGLES for GLES2 and upper; GL_QUADS otherwise<br>
>><br>
>> Wed, 5 Sep 2018 14:04:57 +0100<br>
>> Author : OpenSceneGraph git repository<br>
>> Merge pull request #617 from aluaces/Image_scaleImage_typoFix typo in<br>
>> the initial check of Image::scaleImage().<br>
>><br>
>> Wed, 5 Sep 2018 13:27:35 +0200<br>
>> Author : Alberto Luaces<br>
>> Fix typo in the initial check of Image::scaleImage().<br>
>><br>
>> Wed, 5 Sep 2018 14:00:09 +0300<br>
>> Author : Konstantin S. Matveyev<br>
>> ParticleSystem: Added support for GLES2 and upper (GL_QUADS -> GL_TRIANGLES)<br>
>><br>
>> Tue, 4 Sep 2018 10:35:38 -0400<br>
>> Author : Jason Beverage<br>
>> Protect the _programSet in Shader with a mutex. This prevents thread<br>
>> safety issues when Shader objects are used in multiple programs.<br>
>><br>
>> Wed, 5 Sep 2018 09:33:24 +0100<br>
>> Author : Robert Osfield<br>
>> Updated ChangeLog<br>
>><br>
>> Tue, 4 Sep 2018 15:26:30 +0100<br>
>> Author : Robert Osfield<br>
>> Changed the ShapeDrawable::build() methpd so that it does run when the<br>
>> ShadpwDrawabe is a KdTree.<br>
>><br>
>> Tue, 4 Sep 2018 14:13:32 +0100<br>
>> Author : Robert Osfield<br>
>> Updated SO version as XmlNode::Input changes change the ABI<br>
>><br>
>> Tue, 4 Sep 2018 12:19:14 +0100<br>
>> Author : Robert Osfield<br>
>> Added support for reading UTF-8 encoded of xml files<br>
>><br>
>> Mon, 3 Sep 2018 12:30:02 +0100<br>
>> Author : Robert Osfield<br>
>> Changed the logic for whether to call setUpThreading() in<br>
>> setThreadingModel() to make it possible to changed threadings even if<br>
>> the threading model starts of as SingleThreaded<br>
>> _______________________________________________<br>
>> osg-users mailing list<br>
>> <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>
> _______________________________________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>
</blockquote></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>
</blockquote></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>
</blockquote></div>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">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>
</blockquote></div>