Peter,

PyMOL does read the alpha, but it doesn't support compositition with the
software at present, so there is no practical use for this capability.

set show_alpha_checker
load transparent.png

Will demonstrate that the alpha is read by adding a checker pattern to
the background.  It sounds, you'd like it superimposed over the existing
scene for purposes of alignment.  

Thanks for the suggestion!

Cheers,
Warren

--
Warren L. DeLano, Ph.D.                     
Principal Scientist

. DeLano Scientific LLC  
. 400 Oyster Point Blvd., Suite 213           
. South San Francisco, CA 94080 USA   
. Biz:(650)-872-0942  Tech:(650)-872-0834     
. Fax:(650)-872-0273  Cell:(650)-346-1154
. mailto:[email protected]      
 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Peter Adrian Meyer
> Sent: Wednesday, February 22, 2006 7:43 AM
> To: [email protected]
> Subject: [PyMOL] load_png doesn't support alpha (transparency)?
> 
> Hi all,
> 
> I noticed today that when reading a png file using load_png, 
> the alpha channel does not appear to be respected (regions of 
> the png that should be transparent are not transparent but 
> show up as white).
> 
> Does anyone know if this by design, a bug, or something I'm 
> doing incorrectly setting my alpha channel in the png file?
> 
> If you're wondering why I'm trying to do this; I'm attempting 
> to generate two aligned figures from models that are in 
> crystallographic origins.  The end goal is to have maps in 
> each of these figures also aligned for comparison, so I can't 
> just transform the models to get them aligned (use of the 
> align command is out for similar reasons; unless there's a 
> way to get the transformation matrix generated by model 
> alignment and apply it to a map that I'm not aware of).
> 
> Thanks,
> 
> Pete
> 
> Pete Meyer
> Fu Lab
> BMCB grad student
> Cornell University
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep 
> through log files for problems?  Stop!  Download the new AJAX 
> search engine that makes searching your log files as easy as 
> surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&;
> dat=121642
> _______________________________________________
> PyMOL-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 
> 

Reply via email to