[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] pygame - writing over existing window information



I am trying to use pygame along with python-ogre and I am able to have
both render to the same window but I am unable to render using pygame
on top of the 3D output. The program does not necessarily need to
render in realtime; if the ogre render could be followed by a pygame
render that would be acceptable (in realtime this would look bad
because it would flicker back and forth).

If there is any way to grab the screen into a Surface or render to the
window without erasing what is already on the screen then this would
meet my needs. The screen variable that you write to does not seem to
have the graphics rendered by the ogre3d directx/opengl calls.

I have also posted on the ogre3d addons forum regarding if there is
someway to access the buffer from there but it does not seem likely.

Any help would be appreciated