[Chimera-users] depth cue by color for tomogram
Elaine Meng
meng at cgl.ucsf.edu
Sat May 16 16:35:18 PDT 2015
Hi Michael,
There are additional parameters for the depth cueing, essentially where the “ramp” of shading starts and ends relative to the front and back global clipping planes, in scaled length. You can adjust them via GUI (go to the Effects tab in the same dialog as the Side View) or with commands “set dcStart” and “set dcEnd”, see:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/sideview.html#effects>
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/set.html#dccolor>
The volume-planes displays as controlled by the Volume Viewer GUI are not via clipping but literally just displaying certain planes. To control via commands, see “volume” command planes options:
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/volume.html#planes>
However, since depth-cueing parameters are specified relative to the global clipping planes rather than in your dataset coordinates, it will probably require some fiddling to get them into the desired register. Besides mouse manipulation, you can use the “move” command for Z-translation. I sometimes prefer using “move” for more precise control, but it may be because of lack of coordination.
<http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/move.html>
I hope this helps,
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 May 16, 2015, at 2:24 PM, Michael Elbaum <michael.elbaum at weizmann.ac.il> wrote:
> Hi.
> Refining my previous question: Is it possible to restrict & refresh depth cueing to the visible section rather than the global clipping planes? As it is, if I choose a section (either by Features > Planes) or by setting the clipping planes in Side View, the red/blue depth cue still represents the entire volume. I suppose I could crop and resave my dataset, but that seems a bit inflexible.
>
> Another question that arose in scripting commands is whether I can set clip, section, thickness by absolute slice number, as in the Volume Viewer GUI, rather than by relative scaled length.
> thanks,
> Michael
>
> From: Michael Elbaum
> Sent: Thursday, April 16, 2015 22:12
> To: Tom Goddard
> Cc: chimera-users at cgl.ucsf.edu
> Subject: RE: [Chimera-users] depth cue by color for tomogram
>
> Hi Tom,
>
> Thanks for the reply. With your example I managed to get the depth cue to work as you described. It took some playing with the Side View control.
>
> What I'd had in mind might better be called depth encoding. I want to color the top plane red and the bottom one blue with a gradient in between. That way I can explain that blue is in back and those with the glasses should see it correctly in 3D. If I turn the volume upside down the 3D would invert because it's really a static 2D scheme, but if I rock it slightly the colors would not be redrawn.
>
> Without the rocking, I see now that I can get the encoding effect using the depth cue and the Planes feature to set the limits. Chimera comes through again!
>
> best wishes,
> Michael
More information about the Chimera-users
mailing list