PyQt GUI

Diez B. Roggisch deets at nospam.web.de
Wed Jul 8 05:11:51 EDT 2009


Helvin wrote:

> Hi experts!
> 
> I'm developing a GUI for a software using PyQT, and need 3D
> visualization. Should I use PyOpenGL or VTK?
> I understand that the PyQt package comes with a opengl module. What
> else would I need? I think I need to download opengl. but how? where?
> I have VTK and pyVTK installed, but I don't know how to use it in my
> code, as when I run it, an error says it can't find the vtk module.

VTK won't mix with Qt. And I don't think you need to download opengl - it
either comes with your system (or gfx-drivers), or not. I'm not sure if Qt
actually wraps the OpenGL api itself, AFAIK it doesn't, so you need
PyOpenGL I guess.

Diez



More information about the Python-list mailing list