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

[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