Advice needed: large OpenGL + Widgets Project for Molecular Graphics

Arthur ajsiegel at optonline.com
Tue Mar 16 07:58:53 EST 2004


On Tue, 16 Mar 2004 05:09:49 -0500, "Mike C. Fletcher"
<mcfletch at rogers.com> wrote:

>BTW, someone else suggested using VPython.  It's basically it's own 3D 
>scenegraph-level API with a very simple interface.  Not a lot of 
>mechanisms exposed, but it might have enough to get your job done.  I 
>believe it only runs under Tkinter.


I don't believe VPython is at all dependant on Tkinter.  Its windowing
system is part of the C code and is dependent on GTK.GLArea for
non-Windows systems, and I think is native windowing on Windows.

It can be controlled, I believe, by any of the GUI toolsets, using
threading.  but is not designed to be embedded in any of the GUI sets
windowing..

There is a version under development using Boost, which will move to
depedency on  Gtk.GLExt and Numarray.

Under its current version, it is only the dependency on the
GTK.GLArea that seems to create install issues, particularly under OS
X.  Among other issues, there are apparently GTK2 and GTK versions of
GTK.GLArea floating around.  Neither is installed by default on OS X
or most Linux distributions, and it is only the older one that works
with VPython.

I am looking forward to the Boost version of VPython, which should
bring its dependencies up to date, among other advantages.

Because VPython is very cool, IMO.

Art



More information about the Python-list mailing list