[Chimera-users] Surface clip coloring

Elaine Meng meng at cgl.ucsf.edu
Fri Dec 16 10:17:30 PST 2016


Hi Michał,
Just to clarify the previous answer.  Surface color will only do a gradual coloring, not discrete.  However, you can approximate the discrete coloring with somewhat more effort, by putting the same color at the top and bottom of each range, for example:

white 0
white 0.99
red 1.0
red 1.99
[…]

You can also try using a finer triangulation on that surface cap although that will increase the computational load for moving the clipping plane and rendering the colors.
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 Dec 16, 2016, at 3:58 AM, Michał Kadlof <m.kadlof at cent.uw.edu.pl> wrote:

> How can color volume by value with binning several values into single color? 
> 
> I achived the effect partialy by opening several times the same map. set different thresholds and colors to each one and playing with Per-Model Clipping tool, but it have some drawbacks. Planes can't be at exact same level because I observe artifacts. So I tried to move slightly inner layers upp, but still I observe "staris" effect.
> 
> I also tried with Surface color tool, but it uses interpolation and blends colors togather. 
> 
> In other words I need something like this: https://1.bp.blogspot.com/-5B5ueLHCBPY/T4II4IddvwI/AAAAAAAAB_w/rYwqsJNldY0/s1600/contour1.png
> 
> instead of something like this:
> https://i.stack.imgur.com/hQmry.png
> 
> --
> pozdrawiam serdecznie
> Michał Kadlof <m.kadlof at cent.uw.edu.pl>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users





More information about the Chimera-users mailing list