[vtkusers] glDrawPixels is really slow on windows...
Anja Ende
anja.ende at googlemail.com
Wed May 30 11:57:44 EDT 2007
Hi everyone,
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.
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.
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.
If anyone could post some code snippets for loading a texture onto a vtk
openGL window. I would be greateful.
Cheers,
Anja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070530/6fc663a0/attachment.htm>
More information about the vtkusers
mailing list