On Wed, 08 Jul 2009 11:11:51 +0200, "Diez B. Roggisch" <de...@nospam.web.de> wrote: > 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.
VTK has explicit support for both Qt (ie. via C++) and PyQt. Phil -- http://mail.python.org/mailman/listinfo/python-list