I'm trying to integrate the HDR example into my application, but the screen remains black.
The sole difference is that I'm not using the osg mainloop. Instead I render the scene to a Qt GLWidget and have to call osgViewer::frame() in the paintGL() method.
That seems to be the reason why I don't get any results on the screen. When I modify the example code and replace m_viewer->run() with a separate main loop where viewer->frame() is called repeatedly the same problem occurs.
I also don't really understand how osgPPU writes the result to the screen buffer. Maybe there is something wrong with my camera configuration?
I have my own camera implementation that calculates the view matrix from camera position and attitude every frame.
Sorry for my bad English. I would be very grateful If someone can give me a hint.
Thats the structure of my scene graph:
The Camera is only assigned to the osgViewer and not in the scene graph.