[Chimera-users] transparent rainbow ribbons

Stefano Luciano Ciurli stefano.ciurli at unibo.it
Wed Sep 7 23:04:27 PDT 2011


yes, not too bad.
Thanks a lot!
Stefano

On Sep 7, 2011, at 11:27 PM, Elaine Meng wrote:

> So it's not too bad then, for example, commands:
> 
> colordef tblue 0 0 1 .2
> colordef tcyan 0 1 1 .2
> colordef tgreen 0 1 0 .2
> colordef tyellow 1 1 0 .2
> colordef tred 1 0 0 .2
> rainbow residue tblue,tcyan,tgreen,tyellow,tred
> 
> However, Chimera transparency rendering has some problems.  When I do this on a protein ribbon, in some places the stuff behind the ribbon  shows through (as it should), but in some other places, it does not.
> 
> Also unlike surfaces, there is no single-layer transparency option that would avoid this problem.
> 
> Elaine
> 
> On Sep 7, 2011, at 2:15 PM, Eric Pettersen wrote:
> 
>> One trick is that if you define colors with transparency in them (by  
>> using the colordef command) then you can use them in the rainbow  
>> command to get a rainbow with transparency.
>> 
>> --Eric
>> 
>> On Sep 7, 2011, at 1:55 PM, Elaine Meng wrote:
>> 
>>> Hi Stefano,
>>> Sorry, unlike surfaces, there is no option to keep the ribbon the  
>>> same color(s) except make it transparent.  There is only the  
>>> capability of making specific transparent colors and then using them  
>>> on the ribbon, and it sounds like you already know how to do that.
>>> Best,
>>> Elaine
>>> ----------
>>> Elaine C. Meng, Ph.D.
>>> UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
>>> Department of Pharmaceutical Chemistry
>>> University of California, San Francisco
>>> 
>>> On Sep 7, 2011, at 1:27 PM, Stefano Luciano Ciurli wrote:
>>> 
>>>> Hello,
>>>> Reading the posts and the tutorials, I have understood how to make  
>>>> ribbons transparent, but with a single color.
>>>> I would like to make a rainbow-colored ribbon look transparent. How  
>>>> do I do it?
>>>> Thanks a lot
>>>> Stefano
>>> 
>>> _______________________________________________
>>> Chimera-users mailing list
>>> Chimera-users at cgl.ucsf.edu
>>> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
>> 
>> _______________________________________________
>> Chimera-users mailing list
>> Chimera-users at cgl.ucsf.edu
>> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users
> 





More information about the Chimera-users mailing list