Re: [osg-users] manually calling drawImplementation

2012-11-22 Thread Robert Osfield
Hi Aurelien, On 21 November 2012 22:57, Aurelien Albert wrote: > Hi, > > > > Is there a reason why you can't just use a osg::Camera that is drawn > after the main scene? > > > I'm facing the same problem : in my OSG graph, I render data from physical > simulations using a RTT camera and I need to

Re: [osg-users] manually calling drawImplementation

2012-11-22 Thread Daniel Schmid
Hi Robert I tried to setup the main view camera to rtt, and add a post-render camera (like in the HelpHandler), like you suggest. Then I added a screen quad to the post-render camera, which renders the texture of the rtt camera. It results in a black screen, it seems like either... - the main c

Re: [osg-users] manually calling drawImplementation

2012-11-21 Thread Aurelien Albert
Hi, > Is there a reason why you can't just use a osg::Camera that is drawn after > the main scene? I'm facing the same problem : in my OSG graph, I render data from physical simulations using a RTT camera and I need to postprocess the rendered texture before display it. The problem is to e

Re: [osg-users] manually calling drawImplementation

2012-11-21 Thread Robert Osfield
Hi Daniel, Is there a reason why you can't just use a osg::Camera that is drawn after the main scene? Robert. On 21 November 2012 08:58, Daniel Schmid wrote: > Hello all > > ** ** > > I have a camera postdrawcallback, and I want to draw a little > scene-subgraph manually. So lets say for

[osg-users] manually calling drawImplementation

2012-11-21 Thread Daniel Schmid
Hello all I have a camera postdrawcallback, and I want to draw a little scene-subgraph manually. So lets say for my subgraph I have a osg::Node as an entry point. How can I call the drawImplementations of the objects inside this subgraph manually? The reason for doing this is a post processing