Tsjerk,

It would be nice if it was that easy, but in reality, transparent
elements need to be rendered out of sequence and Z-sorted (as much as
possible).

Starting from scratch, one could preprocess the rendering stream and
lift transparent regions out prior to rendering anything, but PyMOL
wasn't written that way, and if it was, performance would be noticeably
worse.  

Nevertheless, as PyMOL evolves, it may be possible to add this kind of
behavior -- it is something that has been asked for enough times that I
do hope to find a solution : ).

Cheers,
Warren


--
mailto:war...@delanoscientific.com
Warren L. DeLano, Ph.D.
Principal Scientist
DeLano Scientific LLC
Voice (650)-346-1154 
Fax   (650)-593-4020

> -----Original Message-----
> From: pymol-users-ad...@lists.sourceforge.net [mailto:pymol-users-
> ad...@lists.sourceforge.net] On Behalf Of Tsjerk Wassenaar
> Sent: Thursday, January 15, 2004 4:29 AM
> To: pymol-users@lists.sourceforge.net
> Subject: Re: [PyMOL] Restrict surface transparency to limited region
> 
> 
> Hi Warren,
> 
> Wouldn't it be possible to change the [r,g,b] representation in Pymol
to
> [r,g,b,t]. Then it would be trivial to have gradual transparencies in
> surfaces or other things. Since transparency is supported...
> 
> Cheers,
> 
> Tsjerk
> 
> Warren L. DeLano wrote:
> 
> >Roger,
> >
> >     This isn't possible right now.  The only way to do it is to
> >create two objects, surfacing different atoms in each object, and
then
> >enabling transparency in just one of the two objects.
> >
> >Cheers,
> >Warren
> >
> >
> >--
> >mailto:war...@delanoscientific.com
> >Warren L. DeLano, Ph.D.
> >Principal Scientist
> >DeLano Scientific LLC
> >Voice (650)-346-1154
> >Fax   (650)-593-4020
> >-----Original Message-----
> >From: pymol-users-ad...@lists.sourceforge.net
> >[mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Roger
Dodd
> >Sent: Wednesday, January 14, 2004 4:49 AM
> >To: pymol-users@lists.sourceforge.net
> >Subject: [PyMOL] Restrict surface transparency to limited region
> >
> >Dear PyMOL users/devs,
> >
> >I am trying to produce a figure with a molecular surface and would
like
> >to make this surface transparent only covering certain residues. I
have
> >tried creating a separate surface for these residues and the rest of
the
> >protein and setting transparency for the object covering only those
> >residues, but this gives a very discontinuous looking surface
> >representation. Is it possible to just enable transparency on a
limited
> >region of a surface?
> >
> >Thanks
> >
> >Roger
> >
> >--
> >Roger Dodd
> >CIMR
> >University of Cambridge
> >Wellcome Trust / MRC Building
> >Addenbrooke's Hospital
> >Hills Road
> >Cambridge
> >CB2 2XY
> >
> >
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Perforce Software.
> >Perforce is the Fast Software Configuration Management System
offering
> >advanced branching capabilities and atomic changes on 50+ platforms.
> >Free Eval! http://www.perforce.com/perforce/loadprog.html
> >_______________________________________________
> >PyMOL-users mailing list
> >PyMOL-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/pymol-users
> >
> 
> 
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -- :)
> -- :)         Tsjerk A. Wassenaar, M.Sc.
> -- :)         Molecular Dynamics Group
> -- :)         Dept. of Biophysical Chemistry
> -- :)         University of Groningen
> -- :)         Nijenborgh 4
> -- :)         9747 AG Groningen
> -- :)         The Netherlands
> -- :)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> -- :)
> -- :)         Hi! I'm a .signature virus!
> -- :)         Copy me into your ~/.signature to help me spread!
> -- :)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> 
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users


Reply via email to