[Pipet Devel] request for advise

Konrad Hinsen hinsen at cnrs-orleans.fr
Tue May 11 04:58:03 EDT 1999


> But what about 3D displays?  Let's suppose OpenGL is all we need for 3D.  Then
> we would have to put an OpenGL canvas in the right pane.  That's not so easy,
> because the window is made with Python.  I would need (1) Python bindings to
> OpenGL, (2) OpenGL bindings to GTK, and (3) Python bindigs to 2.  Well, 1
> (PyOpenGL) and 2 (GtkGLArea) exist but 3 doesn't.

Then (3) should be created, it will benefit other projects as well!
The same combination exists for Tk (using Togl), so it would be nice
to have it for GTK as well.

> Can we make the GNOME canvas take output from a modeler like DND,
> and display it as a 2D drawing? Can we have an OpenGL engine without
> a GUI, process the image and send it as 2D to the GNOME canvas?

All of this is possible, but slow. Which is significant, because 3D
models are of little use unless they can be manipulated, so frequent
redrawing must be taken into account. Direct OpenGL output within
GTK is clearly the better solution - provided somebody can do it!
-- 
-------------------------------------------------------------------------------
Konrad Hinsen                            | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron                       | Fax:  +33-2.38.63.15.17
45071 Orleans Cedex 2                    | Deutsch/Esperanto/English/
France                                   | Nederlands/Francais
-------------------------------------------------------------------------------




More information about the Pipet-Devel mailing list