From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Feb 23 2009 - 09:06:43 CST

Hi,

  What is it that you're actually trying to accomplish?
No, you can't, at least not without some scripting.
That said, you could however draw a second sphere slightly offset
from the first, such that half of one occludes half of the other. The
resulting shape would no longer be purely spherical, but unless you render
with a ray tracer or with GLSL enabled, you wouldn't be able to see that
effect at all. Even then, if you keep the offset small, it will be
unnoticable. You could use the graphics drawing commands or a duplicated
molecule to achieve this. Perhaps there's a better way of doing whatever
it is that you're trying to do by coloring half-spheres in some other way.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Sun, Feb 22, 2009 at 10:05:50PM -0800, BIN ZHANG wrote:
> Hi, all:
>
> Is it possible to color an atom using multiple colors? Say, color half
> a sphere using RED, and the other half using GREEN?
>
> Any suggestion is appreciated, thanks.
>
> Bin
>
>
>
>
>
>
>
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078