[IPython-dev] Experimental GLUT integration

Fernando Perez fperez.net at gmail.com
Mon Sep 12 18:02:14 EDT 2011

Hi folks,

On Fri, Aug 26, 2011 at 10:30 AM, Nicolas Rougier
<Nicolas.Rougier at inria.fr> wrote:
> I've coded an experimental GLUT integration (thanks to Fernando's explanations) for the new input hook system. I would like to know if people could test it and review if the code's ok.There is also an integration example in the docs/examples/lib/gui-glut.py
> You should be able to type:
> In [5]: %gui glut
> In [6]: %run gui-glut.py
> At this point a small black window should appear
> In [7]: gl.glClearColor(1,1,1,1)
> The window color should change to white.

Nicolas has made these into proper pull requests, both for glut and for pyglet:


but as you can see from our discussions, there are still some
lingering issues.  If you have OpenGL knowledge, your help would be
greatly appreciated, you can just comment on the discussions and I'm
sure any feedback you can provide Nicolas will help.

Ultimately it would be great to offer out of the box support for
interactive control of glut and pyglet apps from IPython.



More information about the IPython-dev mailing list