HI Frank,
Good detective work. GL_TEXTURE_2D_MULTISAMPLE was missing from the
TextureGLModeSet singleton found in OpenSceneGraph/src/osg/Texture.cpp, it
was obviously missed when Texture2DMultisample was submitted and merged. I
have added this and checked it into svn/trunk and OSG-3.2 branch, the
change is simply:
Index: src/osg/StateSet.cpp
===================================================================
--- src/osg/StateSet.cpp (revision 14023)
+++ src/osg/StateSet.cpp (working copy)
@@ -54,6 +54,7 @@
_textureModeSet.insert(GL_TEXTURE_CUBE_MAP);
_textureModeSet.insert(GL_TEXTURE_RECTANGLE_NV);
_textureModeSet.insert(GL_TEXTURE_2D_ARRAY_EXT);
+ _textureModeSet.insert(GL_TEXTURE_2D_MULTISAMPLE);
_textureModeSet.insert(GL_TEXTURE_GEN_Q);
_textureModeSet.insert(GL_TEXTURE_GEN_R);
Robert.
On 23 January 2014 00:40, Frank Sullivan <[email protected]> wrote:
> By the way, here is the warning message I'm receiving:
>
>
> > Warning: non-textured mode '37120' passed to
> setTextureMode(unit,mode,value), assuming setMode(mode,value) instead.
>
>
> The value '37120' corresponds to GL_TEXTURE_2D_MULTISAMPLE .
>
> I'm not sure if setMode is the desired behavior. I'm only seeing a black
> screen, but I'm not positive that this is the problem.[/quote]
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=57960#57960
>
>
>
>
>
> _______________________________________________
> 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