[IPython-dev] Experimental GLUT integration
Tue Sep 13 06:39:41 CDT 2011
I'm still fighting against glut and I would have one question:
To make things work, I need to intercept SIGINT and to print explicitly 'KeyboardInterrupt' and then reprint the prompt.
What is the best way to reprint the current prompt ?
On Sep 13, 2011, at 0:02 , Fernando Perez wrote:
> Hi folks,
> On Fri, Aug 26, 2011 at 10:30 AM, Nicolas Rougier
> <Nicolas.Rougier@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 : %gui glut
>> In : %run gui-glut.py
>> At this point a small black window should appear
>> In : 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