[osg-users] OpenSceneGraph-3.6.3 release candidate 2 tagged
Glenn Waldron
gwaldron at gmail.com
Fri Sep 14 06:50:07 PDT 2018
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:
Warning: Texture2DArray::applyTexImage2DArray_subload(..) given image do
have wrong dimension or internal format.
The original internal texture format was "4" which doesn't appear to be
legal even for glTexImage; perhaps glTexStorage is being more strict.
2) When using the LINEAR_MIPMAP_LINEAR minfilter, along with calling
tex->setResizeNonPowerOfTwoHint(false), the image appears black and I see
this message:
Warning: detected OpenGL error 'invalid operation' at
StateSet::compileGLObejcts() compiling texture attribute Texture2DArray.
Again, these may just be glTexStorage strictly enforcing things that
glTexImage was lenient about.
Glenn
On Fri, Sep 14, 2018 at 8:56 AM Robert Osfield <robert.osfield at gmail.com>
wrote:
> On Fri, 14 Sep 2018 at 13:08, Glenn Waldron <gwaldron at pelicanmapping.com>
> 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.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180914/aded8eed/attachment.html>
More information about the osg-users
mailing list