William Stein wrote: > On Dec 11, 2007 1:14 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> On Dec 11, 2007 9:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >>> No offense! I have no strong feelings on this issue. >>> But I am always worried when I see a new 1.0 open source project. It >>> seems people >>> prefer to start from scratch rather than enhancing an existing mature >>> project. >> Agree. >> >>> I see that python-opengl now uses ctypes as well. So it should work on >>> any distribution. >> That's a valid point. I wrote to the pyglet mailiglist if they could >> write here some replies: >> >> http://groups.google.com/group/pyglet-users/browse_thread/thread/b7a19498d0d3cace/ >> > > Someone there posted this: > > On 12/12/07, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> Hi Alex and others, >> there is a discussion on sage-devel about pyglet vs pygame: >> http://groups.google.com/group/sage-devel/browse_thread/thread/8c844f... >> do you think you could please correct/add some information in there >> please? > > Rather than join in your list, I'll just post some quick > clarifications which you can repost there. If your members have more > questions about pyglet etc, they are of course welcome to join this > list or email me. > > Re: "No conforming visual": this looks like a 16-bit depth issue that > was fixed quite a while ago, but please make sure the author checks > with a newer version and opens an issue if not. > > Re: "OpenGL/SDL/PyOpenGL": > For your requirements, only OpenGL will suffice (accelerated 3D > graphics on Mac/Windows/Linux). OpenGL is a graphics API that is > exposed on Windows, Linux and Mac. To use OpenGL from Python, you can > use either pyglet or PyOpenGL. > > Regardless of whether pyglet or PyOpenGL is used to call the OpenGL > functions, you still need an OpenGL "context" -- a window into which > the graphics can be drawn. pyglet can provide you with such a > context, as can PyGame (PyOpenGL can too, with GLUT, but this has > limitations). Most other GUI toolkits, such as wxPython, PyGtk and > Tkinter can also create OpenGL contexts. > > So, you should choose your context creator first: say, pyglet, if you > like its event and windowing system; or PyGame, if you prefer SDL's > event and windowing system (PyGame uses SDL, a C library, internally). > You may decide to go with PyGtk or wxPython etc instead, if you want > to use their GUI components.
What do we have currently available in Sage? Apparently we have pyglet (even though I can't get it working on Ubuntu 7.10). Do we already have any of the other gui libraries mentioned? -Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---