[Chimera-users] transparent rainbow ribbons
Greg Couch
gregc at cgl.ucsf.edu
Thu Sep 8 09:36:03 PDT 2011
And don't forget the Rainbow Tool (under Depiction). You can change the
colors in each color well to be transparent and then create the rainbow.
-- Greg
On 9/7/2011 2: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
>
> _______________________________________________
> 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