Re: [osg-users] glXBindTexImage

2008-12-18 Thread Robert Osfield
Hi Grahame,

I haven't tried implementing it, but I am curious.  One will probably
need to subclass from Texture2D or provide a Texture subload callback
to do the custom binding.

Robert.

On Thu, Dec 18, 2008 at 7:49 AM, Grahame Bowland
grah...@fugro-fsi.com.au wrote:
 Hi all

 Has anyone attempted to use glXBindTexImage (and friends) to bind an X11
 pixmap to a texture within OpenSceneGraph? You could then display the
 contents of an X window on a surface.

 I don't think it would be difficult to do, just wondering if it's
 already been done - best to avoid duplication of effort!

 Thanks
 Grahame


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] glXBindTexImage

2008-12-17 Thread Grahame Bowland
Hi all

Has anyone attempted to use glXBindTexImage (and friends) to bind an X11
pixmap to a texture within OpenSceneGraph? You could then display the
contents of an X window on a surface.

I don't think it would be difficult to do, just wondering if it's
already been done - best to avoid duplication of effort!

Thanks
Grahame


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org