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 cameras textures are not yet available
- the order of the cameras is wrong (although post render should be after main 
camera...)
- i messed up something in my code (also probable)

I will try to make an example program that illustrates this behaviour...

Regards
Daniel


robertosfield wrote:
> 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 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. I have quads with assigned 
> > textures that I want to draw in this postprocessing step. I know there is 
> > osgPPU but unfortunately it doesn’t work with composite viewer so I decided 
> > to have my postpro implemented in the postdraw callback. 
> >   
> > So, how can I draw nodes manually? 
> >   
> > Regards 
> > Daniel 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> >  ()
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 
> > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > 
> > 
> 
> 
>  ------------------
> Post generated by Mail2Forum


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51202#51202





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to