CC'd to list for future reference...
Michal,
For mixed colors, you need to use the same trick (separate objects).
However, if you want the spheres to have a uniform color, in which case you can
"set sphere_color,white" etc., without having to create separate objects.
PyMOL's internal raytracer isn't likely to support perspective any time
soon. Instead, I recommend using PovRay.
Cheers,
Warren
> Subject: Re: [PyMOL] different transparencies
>
> DeLano, Warren wrote:
>
> >Because of the way settings work in PyMOL, you will need to
> split your spheres into different objects in order to get
> this to work.
> >
> >Try the following script:
> >
> >load $PYMOL_PATH/test/dat/pept.pdb
> >create cpy,pept
> >hide
> >show sph,pept and name ca
> >show sph,cpy and name n
> >set sphere_transparency,0.5,pept
> >ray
> >
> >
> Hi Warren.
> Thank you for hint. Excuse me I reply directly, but I think
> you are the
> best information source in this field. Could you hint me also how to
> hack if I want to have different color for sphere and sticks
> belonging
> to the same atom (I want to use transparent sphere colored by element
> and black sticks).
> I wonder if built-in raytracer can render in perspective mode in near
> future.
>
> Regards,
> Michal Bozon
>
> >Cheers,
> >Warren
> >
> >
> >
> >
> >>I would like to have some spheres transparent, but some
> spheres leave
> >>opaque. Or to have spheres with different transparencies. Is
> >>it possible?
> >>
> >>Thanks,
> >>
> >>Michal Bozon
> >>
> >>
>
>
>