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.
  
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.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080    
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:war...@delsci.com      
 

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net 
> [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of 
> Grégori Gerebtzoff
> Sent: Thursday, March 31, 2005 12:01 AM
> To: pymol-users@lists.sourceforge.net
> Subject: RE: [PyMOL] Problem with pml script and png command
> 
> 
> ******PROBLEM FIXED******
> 
> I found yesterday a way to avoid the problem.
> First I launch PyMol, then I change the viewport to the one I 
> have in my script; and finally I run the pml script. This 
> gives full, uncutted png images.
> 
> Btw, does anybody know if there is a python command to wait 
> until a process/command execution is done? I could include 
> this kind of command in my script just after the viewport 
> command (In VB .NET, this command is "application.doevents()").
> 
> Greg.
> 
> 
> 
> 
> -------------------------------------------------------
> 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
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 



Reply via email to