Mail Archives: cygwin/2010/09/22/09:28:50
"Jan Gebauer" <mail at jan-gebauer dot de> wrote:
>=20
> Hi,
=20
Hi Jan,
=20
>=20
> I'm new to this mailing list and hope my question is not a total obvious
> one, but at the end of the day I'm more a scientist than a programmer. So
> I hope I got the facts right.
>=20
> I'm trying to build PyMol, an open-core molecular visualisation program
> with cygwin (www.pymol.org).
> This software uses OpenGL for displaying three-dimensional structures of
> proteins on the screen and allows manipulating these structure in various
> ways in 3D. It also allows true three-dimensional display with the
> (Nvidia) shutter glasses.
>=20
> It took my a while to get all the dependencies right, but I was finally
> able to build it successfully and it works in nearly all aspects.
>=20
> However, the program does not recognise any input in the "graphic/display
> window" from the mouse wheel, although the TKinter/Tcl based menu window
> does accept scroll events.
> Together with a colleague, we figured out that the win32 port of GLUT
> might be the problem, as it seems not to handle mouse wheel events
> (source:http://www.realmtech.net/opengl/glut.php)
=20
The win32 port of GLUT predates the mouse wheel and has stalled. No hope of=
an update upstream.
> My colleague was able to build PyMol with the X11 headers and Libs and
> then the mouse wheel worked, but the speed was (as expected) not
> acceptable.
> What are you thinking, is the win32 version of GLUT really the problem?
>=20
> I did found FreeGlut and as it should be a "modern clone" of GLUT=C2, I
> tried to compile it for Cygwin. I got an cygglut-0.dll and some header
> files, but they never compiled well with PyMol (which uses a rather
> complicated python script).
>=20
> My colleague found this message from Andr=C3 Bleau
> http://www.cygwin.com/ml/cygwin/2009-04/msg00264.html, where Mr. Bleau
> stated he hopes to publish GLUT32 replacement based on FreeGlut around
> 2010.
=20
I tried porting the Win32 version of FreeGLUT to Cygwin, but ran into probl=
ems,
mainly with the menus. Replacing GLUT by FreeGlut in my package would not b=
e a
wise thing to do at this point.
=20
>=20
> I just wonder if this new package will be available any-time soon or if
> anyone else has a good idea how to proceed with this problem?
=20
I am working, very slowly, on improving FreeGLUT. Don't expect anything fro=
m me before 2011.
=20
The X11 version of FreeGlut might benefit from hardware accelerated OpenGL =
at some point,
but that is something that I will let the X11 maintainers talk about. You c=
an find some=20
previous discussion at http://cygwin.com/ml/cygwin-xfree .
=20
For the immediate time, your only option seems to stick with Win32 GLUT and=
do without
mousewheel support.
=20
>=20
> With kind regards,
> Jan Gebauer
>=20
> PS: Thanks to all the cygwin contributors, it's the first time I used it
> and it works rather great!
> --
> Dr. Jan Gebauer
> Phone: +44 20 7594 7915 | Fax: +44 20 7589 0191
>=20
> Research group: Dr. E. Hohenester
> Division of Cell & Molecular Biology
> Imperial College London
> Biophysics Section, Blackett Laboratory
> London SW7 2AZ
>=20
=20
Regards,
=20
Andr=E9 Bleau, Cygwin's OpenGL package maintainer.
=20
Please send any comment or question about the OpenGL package to cygwin at c=
ygwin dot com, not to me.
=20=20=09=09=20=09=20=20=20=09=09=20=20
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -