VMD-L Mailing List
From: BIN ZHANG (zhngbn_at_gmail.com)
Date: Mon Feb 23 2009 - 11:55:48 CST
- Next message: Christopher Hartshorn: "Membrane builder ?'s"
- Previous message: Axel Kohlmeyer: "Re: passing arguments to a vmd script which is executed using play or source"
- In reply to: John Stone: "Re: multiple colors for a single atom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
I had a janus particle that's half hydrophobic, and half hydrophilic.
And I want to show the difference between them.
The way you suggested would work.
thank,
Bin
On Feb 23, 2009, at 7:06 AM, John Stone wrote:
>
> 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
-------------------------------------------------------------
The tree of liberty must be refreshed from time to time with the blood
of patriots and tyrants.
- Next message: Christopher Hartshorn: "Membrane builder ?'s"
- Previous message: Axel Kohlmeyer: "Re: passing arguments to a vmd script which is executed using play or source"
- In reply to: John Stone: "Re: multiple colors for a single atom"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]