Re: [osg-users] slave camera using rtt texture

2012-11-22 Thread Daniel Schmid
For all those out there who wonder if it is possible, please find attached an example program that illustrates, how to use : - composite viewer with 2 views - both rendering the same scene - both using a post render camera to apply postpro effects If you run the example with --rtt argument, the

Re: [osg-users] slave camera using rtt texture

2012-11-16 Thread Robert Osfield
Hi Daniel, I'm rather lost with exactly what you want to do and the code you've used. It's probably most productive to just point you in the direction of code that probably does something similar to what you are after. The osgdistortion example is probably a good place to start - this renders the

[osg-users] slave camera using rtt texture

2012-11-16 Thread Daniel Schmid
Hi all I have a composite viewer, where the main camera renders to texture. No I added a slave camera (POST_RENDER that uses the same graphics context as the main camera). I had a screen quad child on which I would like to render the texture from the main camera. But all I get is a black screen