Hi everyone,<br><br>I moved my application from Linux to windows. It uses VTK and the Qt libraries. I had a base VTK window and was using Qt drawing routines to draw things on top of the VTK window.<br><br>I was using the vtkRenderWindow SetRGBACharPixelData method to blend the QT and vtk image data and than display it on the screen. This worked great under Linux. Now, I moved the code to Windows only to find that glDrawPixels is really, really slow. All my paint routines are horribly now horribly slow.
<br><br>I was wondering if someone knows of a work around. I was thinking that I could use Qt to do all the blending and compositing and somehow load the data into a texture and have VTK display it. However, I could not find any example for such texture creation.
<br><br>If anyone could post some code snippets for loading a texture onto a vtk openGL window. I would be greateful.<br><br><br>Cheers,<br><br>Anja