From: Warren D. <wa...@de...> - 2005-03-31 17:33:59
|
Greg, Actually, this a fundamental problem with the way the GLUT library works = -- it uses callbacks instead of events, which causes refresh issues on = Windows. The problem has nothing to do with Python -- PyMOL is all C when it = comes to OpenGL. =20 Suffice it to say that we are aware of and working on finding a solution = to this and a number of other problems related to this increasingly = obsolete cross-platform library. If we stick with GLUT, then we'll probably need = to build an event queue layer between GLUT and PyMOL. Cheers, Warren -- Warren L. DeLano, Ph.D. =20 Principal Scientist . DeLano Scientific LLC =20 . 400 Oyster Point Blvd., Suite 213 =20 . South San Francisco, CA 94080 =20 . Biz:(650)-872-0942 Tech:(650)-872-0834 =20 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:wa...@de... =20 =20 > -----Original Message----- > From: pym...@li...=20 > [mailto:pym...@li...] On Behalf Of=20 > Gr=E9gori Gerebtzoff > Sent: Thursday, March 31, 2005 12:01 AM > To: pym...@li... > Subject: RE: [PyMOL] Problem with pml script and png command >=20 >=20 > ******PROBLEM FIXED****** >=20 > I found yesterday a way to avoid the problem. > First I launch PyMol, then I change the viewport to the one I=20 > have in my script; and finally I run the pml script. This=20 > gives full, uncutted png images. >=20 > Btw, does anybody know if there is a python command to wait=20 > until a process/command execution is done? I could include=20 > this kind of command in my script just after the viewport=20 > command (In VB .NET, this command is "application.doevents()"). >=20 > Greg. >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 |