[Chimera-users] Transparent Ribbon
Elaine Meng
meng at cgl.ucsf.edu
Tue Dec 12 10:01:14 PST 2006
Hi Anna,
First make a transparent color, and then use it to color the ribbon.
There are a few approaches.
(A) Menu way. Transparent colors can be created interactively in the
Color Editor
(under Tools... Utilities)
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/colortool.html
and then Actions... Color... from editor uses that color. You can
set the target to
ribbons only if you want (Actions... Color... ribbons).
(B) Command way. Transparent colors can be created with the command
"colordef"
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/colordef.html
for example,
colordef transred 1 0 0 .3
colordef transblue 0 0 1 .3
and then used with the command "color"
http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/colordef.html
for example,
color transred,r :1-10.a
color transblue,r :1-10.b
(you could go back and adjust the colors with colordef at this point
as needed, and the items will adjust their colors without another
"color" statement)
The color command can also use the Color Editor color (that color can
be indicated with the name "fromeditor" or "colorpanel").
This process differs from making a surface transparent for technical
reasons - in a nutshell, a surface patch has a transparency property
that is separate from its color, while a ribbon segment does not.
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D. meng at cgl.ucsf.edu
UCSF Computer Graphics Lab and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
http://www.cgl.ucsf.edu/home/meng/index.html
On Dec 12, 2006, at 7:18 AM, Anna Feldman-Salit wrote:
> Dear All,
>
> From some reason I cannot find the option of making ribbon
> representation transparent.
> Can you please give me a hint?
>
> Thanks a lot in advance,
>
> Anna
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users
More information about the Chimera-users
mailing list