Re: [PyOpenGL-Users] Togl status
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2006-09-15 13:13:40
|
Sherwood, P (Paul) wrote: > Hi, > > I'm looking into using PyOpenGL to provide 3D graphics > within a Tkinter-based application and have made a start > on Windows but on moving to Suse Linux (9.3) have found > that for the version of PyOpenGL there the directory > that would contain Togl.so is missing. From my attempts > to check so far it seems that some Linux pyopengl distros > have Togl included and some don't. > > Presumably this relates to the fact that there have been > problems building Togl with various stages in the past. > > Is it possible to get an update on the current situation > and likely prognosis for this widget in the PyOpenGL project? > > Also I'd like to just check, is there any way to use > PyOpenGL within a Tkinter window when Togl is not present? > Probably your best bet is to simply download Togl from the Togl site and run the Makefile. It will create a .so for Togl and you can then copy that either into your system libraries directory where Tk will find it or the OpenGL/Tk/linux-XXX directory. The Tk module will use an installed regular Togl without concern (there's nothing particularly special about the version that's included save that Tarn tried to integrate its build procedure into Python's distutils (which is what causes most of the headaches)). At least on Gentoo I also had to add a USE flag to get Tkinter support in Python (which isn't on by default), but I'm guessing you already have that. HTH, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |