Hi Stephan, On 2/15/07, Stephan Maximilian Huber <[EMAIL PROTECTED]> wrote:
The additional window is white -- no rendering etc. The flag's texture is garbled, interpreting memory, it stays the same all the time. If I enable exposé (a window-manager-function, which will scale all windows so every window is visible) I can see some artifacts of the cow in the additional window but this does not update the texture.
It sounds like the RTT window is not being created correctly, or pehaps the make current isn't working as it should. Could you send a desktop image dump of what you see when you run the app?
I stepped through the code, no error code, so the sharing of the context seems to be ok.
Its good to hear that the sharing looks like its OK, it does leave us a bit empty handed as what might amiss when running osgprerender --window cow.osg. It'd be good to get this working as its a good precursor to implementing pbuffer.
> BTW, hows performance looking between osgviewer and osgproducerviewer? The performance is pretty the same between osgviewer and osgproducerviewer.
Good, your earlier reported that osgviewer was slower, this was before I changed the way that the contexts were managed w..rt makeCurrent/releaseContext - now its done lazily so that they are only called when required. FYI, when you have big scenes that push cull and draw dispatch I'd expect osgviewer to be substantially faster when running in DrawThreadPerContext in comparison to osgproducerviewer. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
