Hi,

here's a very special case of Qt integration for OpenSceneGraph for
which I am searching for a solution: We're using Qt to draw into a
QPixmap (updating a map of measured radio conditions during a
simulation in realtime). We optionally support a 3D display, which is
typically a line by line polarized display. Simply opening a Qt window
displaying the pixmap produces bad artifacting. When we open a window
on the 3D display (on top of the OSG rendered output), it gets torn
because every second line is visible only to each eye.

So the only chance to display it right, would be to render the map as
a HUD in OpenScenegraph so it gets rendered through the stencil buffer
so it shows up nicely for both eyes. Now here's the question:

How to transfer the contents of the QPixmap into a texture for
OpenSceneGraph efficiently? A lot of texture updates using the CPU
would likely slow down the entire application - if possible we would
like to avoid slow updates and take a faster route. But which one
could that be?

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

Reply via email to