Hey,

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.

Daniel

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





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

Reply via email to