Hi John,

There's a limit to what PyMOL can do by itself, but it sounds like
composition might be the easiest approach.  First, render the image
without the dashed line:

ray

save background.png

Then, disable everything but the dashed line and then render it alone
with opaque_background disabled:

unset opaque_background

ray

save foreground.png

Then combine the two images externally using something like GIMP,
Photoshop, or even PowerPoint.

cheers,
Warren

> -----Original Message-----
> From: John Pak [mailto:john....@utoronto.ca]
> Sent: Monday, January 26, 2009 4:32 PM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] Getting a dashed line through a transparent surface
> 
> Hi everyone.  First time poster, and I just want to say that Pymol's a
> great program! :)
> 
> I'm trying to get a dashed line (made via the Distance Wizard) from an
> atom outside of a rendered transparent surface (20% transparency) to
> an atom inside a rendered transparent surface, without a change in
> colour.  Right now, only the part of the dashed line that is outside
> the surface is the colour I set it to, whereas the part of the dashed
> line that is inside the surface is the colour of the surface.
> 
> This is for a figure for a paper, where I'm using the dashed line to
> indicate a a hydrogen bond.  Somehow, I want the dashed line to behave
> as if there is no transparent surface to pass through.
> 
> Thanks for the time.
> 
> 
>
------------------------------------------------------------------------
--
> ----
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> PyMOL-users mailing list
> PyMOL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pymol-users
> 
> 
> 



Reply via email to