[osg-users] [osgViewer::CompositeViewer] Transparency between views

2014-05-30 Thread Stephane Mas
Hi all, and thanks in advance for any interest to this post. I'm trying to build an application with multiple views and an overlay GUI. I dediced to use the CompositeViewer to allow different scenes and manipulators in each background views. Unfortunately, I don't manage to make the foreground

Re: [osg-users] [osgViewer::CompositeViewer] Transparency between views

2014-06-02 Thread Stephane Mas
OK, I found the solution : Code: foregroundView->getCamera()->setClearMask(GL_DEPTH_BUFFER_BIT); The foregroundView is now indeed transparent ! The next problem is how to handle mouse events throught it to be able to control the backgroundScene throught the transparent parts of the

Re: [osg-users] CompositeViewer, GUIEventHandler::handle() and events cascading across Views

2014-06-03 Thread Stephane Mas
Hi all, let me raise up this post because I encounter exactly the same problem and was wondering if the advice was still the same. Indeed, my application uses a CompositeViewer to display several background views, and one foreground view, overlapping every background views. I was trying to im

[osg-users] [StateSet] Handle .png as a texture

2015-12-09 Thread Stephane Mas
Hi, I experience problems to display a .png image as an osg::Geode. The thing is that it was perfectly working when I was using version 3.2.0 of osg library, but now that I use version 3.2.1, it no more works. Here are samples from my code (sorry for bad indentation) : I first load the image

Re: [osg-users] [StateSet] Handle .png as a texture

2016-01-08 Thread Stephane Mas
Thanks Robert, I'll have a look at what you suggest. Stephane -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65969#65969 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.op