Opened 5 years ago

Closed 12 months ago

#3843 closed defect (duplicate)

transparency command does not work on nucleotides (target f)

Reported by: Elaine Meng Owned by: Greg Couch
Priority: moderate Milestone:
Component: Depiction Version:
Keywords: Cc: Tom Goddard, pett
Blocked By: Blocking:
Notify when closed: siyuchen2021@u.northwestern.edu Platform: all
Project: ChimeraX

Description (last modified by Greg Couch)

Although I had not yet documented target f for the transparency command, the usage given in the Log includes it, so I'm calling this a bug. Details in this e-mail exchange:


From: Siyu Chen <siyuchen2021@…>
Subject: [chimerax-users] Set transparency on DNA stubs
Date: October 16, 2020 at 12:43:42 PM PDT
To: chimerax-users@…

Dear chimerax developers,
I am writing to ask about an issue regarding to the transparency of DNA bases.

I set the double strand DNA as stubs and colored cyan, and I wanted to set it as transparent (trans 70 tar c). However, it looks like only the DNA backbones become transparent, and the bases are still bright and solid. I even tried to throw in all possible targets into the 'trans' command (acrsbpfl) and got the same looking images. I am just wondering if this is because of the style or color that makes the bases look solid? Also, do you have other suggestions to get around this issue?

Thanks in advance for your time and help!
Best,
Siyu Chen


From: Elaine Meng <meng@…>
Subject: Re: [chimerax-users] Set transparency on DNA stubs
Date: October 16, 2020 at 1:32:38 PM PDT
To: Siyu Chen <siyuchen2021@…>
Cc: chimerax-users@…
Reply-To: ChimeraX Users Help <chimerax-users@…>

Dear Siyu Chen,
I believe this is a bug, or at least a limitation of the "transparency" command. The "f" target is supposed to include nucleotide representations. I will make a bug-report ticket for this -- thanks for letting us know. It may not have been implemented yet, since I see that the "transparency" manual page does not list it currently:
<http://rbvi.ucsf.edu/chimerax/docs/user/commands/transparency.html>

What works currently is the "color" command with target f, and you can include transparency in the color command. It is not as convenient if there are multiple colors, since you would need a separate color command for each color, instead of a single transparency command. However, in your case, it sounds like all the stubs are already the same color and you would be able to use a single command, for example:

color nucleic cyan trans 50 targ f

<http://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#simple>

I hope this helps,
Elaine

Change History (7)

comment:1 by Greg Couch, 12 months ago

Description: modified (diff)
Resolution: limitation
Status: assignedclosed

I think it that it only looks like it doesn't work due to the single level of transparency. The command "color nucleic cyan trans 50 targ f" does make the slab transparent, but you can only tell if there is non-transparent stuff behind it.

comment:2 by Elaine Meng, 12 months ago

Is there some technical reason this can't be fixed?

comment:3 by Greg Couch, 12 months ago

ChimeraX (and Chimera) only do a single level of transparency. Multiple levels would require rewriting the graphics code to support multiple passes and/or more complicated shaders. I think everyone agrees that it would be nice to have more levels of transparency, even just 2, 3, or 4 levels would be great. But the code complexity has held us back.

comment:4 by Elaine Meng, 12 months ago

This bug report is not about multiple layer transparency.  It is whether you can make nucleotide representations transparent (which would function under the current state of single-layer transparency just like the transparency of all the other representations that can be made transparent now).

comment:5 by pett, 12 months ago

Cc: pett added
Resolution: limitation
Status: closedreopened

Yes, as per the description in the ticket, this is about the *transparency* command with target 'f' not changing nucleotide depictions, not the *color* command.

comment:6 by Greg Couch, 12 months ago

So a transparency command example is:

transparency #1 50 target f

comment:7 by Elaine Meng, 12 months ago

Resolution: duplicate
Status: reopenedclosed

duplicate of #14769

Note: See TracTickets for help on using tickets.