Bingo, problem solved. Thanks Wojtek.

Glenn Waldron : Pelican Mapping : +1.703.652.4791


On Wed, Jul 28, 2010 at 4:49 AM, Wojciech Lewandowski <[email protected]
> wrote:

>  Hi Glenn,
>
> Since TextureArrays are supposed to work only with programmable pipeline,
> there is no such GL Mode as GL_TEXTURE_2D_ARRAY. It could be considered a
> bug in OSG that setting this mode is attempted.
> Workaround: don't attach the textureArray with setTextureAttributeAndModes
> but with setTextureAttribute.
>
> Cheers,
> Wojtek
>
>  *From:* Glenn Waldron <[email protected]>
> *Sent:* Wednesday, July 28, 2010 3:12 AM
> *To:* OpenSceneGraph Users <[email protected]>
> *Subject:* [osg-users] Texture2DArray and invalid enumerant error
>
> Hi,
> I'm using the Texture2DArray class with a VBO geometry and a shader
> program. I get a non-stop stream of this message:
>
>   Warning: detected OpenGL error 'invalid enumerant' after applying GLMode
> 0x8c1a
>
> (..where 0x8c1a = TEXTURE_2D_ARRAY_EXT)
>
> The Texture2DArray (and associated sampler2Darray) is working correctly and
> my scene renders properly.
>
> But I'm having no luck tracking down cause of the message ... any ideas?
>
> OSG SVN trunk, Win7/VS9, GTS 250.
>
> --
> Glenn Waldron : Pelican Mapping : +1.703.652.4791
>
> ------------------------------
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to