Re: [osg-users] How do cameras handle the render target?

2017-03-15 Thread Sebastian Messerschmidt
Am 3/15/2017 um 12:56 PM schrieb Werner Modenbach: Hi Sebastion, thanks for the quick reply. What do you mean by composing to the same FBO? As i wrote attaching the FBO to the child cameras the same way as with the main camera just delivers a black fbImage. Render everything(also the HUD cam

Re: [osg-users] How do cameras handle the render target?

2017-03-15 Thread Werner Modenbach
Hi Sebastion, thanks for the quick reply. What do you mean by composing to the same FBO? As i wrote attaching the FBO to the child cameras the same way as with the main camera just delivers a black fbImage. Concerning the screen capture example: I remember an easier version where a slave camer

Re: [osg-users] How do cameras handle the render target?

2017-03-15 Thread Sebastian Messerschmidt
Hi Werner, from diagonal reading: You could make all cameras composing to the same FBO and get the texture in a final pass that can either put the image to Framebuffer or read back the texture. Also take a look at the screenshot example (using pbuffer) and the various draw callbacks. Chee

[osg-users] How do cameras handle the render target?

2017-03-15 Thread Werner Modenbach
Hi all. I have a problem understanding how cameras handle render targets. My special case: I have a standard camera on a view. The root node of the scene is a group with the following children: - my model - hud camera for wallpaper - hud camera for text - more cameras for special cases All the