Re: [PyMOL] Different transparencies for isosurfaces

2003-04-08 Thread Christian Boehme

Warren,

you are right, I just tried version 0.86 and it works. Previously I used 
0.82. I am a always a bit slow regarding the change to a new version, 
because I have to (re)do code changes I made.


Warren L. DeLano wrote:


I think you have come across a bug in PyMOL, which was fixed in
a later version.  What version are you using?  
 



Thanks

Christian

--
Dr. Christian Boehme
Dorstener Str. 40
44787 Bochum
Germany
email: christianboe...@web.de
phone: +49-(0)234-3243655
fax:   +49-(0)234-3246741






Re: [PyMOL] different transparencies

2003-03-17 Thread Kristian Rother

Michal Bozon wrote:
I would like to have some spheres transparent, but some spheres leave 
opaque. Or to have spheres with different transparencies. Is it possible?


Yes, it is.

just tried it:

PyMOL>set sphere_transparency,0.5
 Setting: sphere_transparency set to 0.5.
PyMOL>set sphere_transparency,0.2,c1
 Setting: sphere_transparency set to 0.2 in object 'c1'.
PyMOL>set sphere_transparency,0.8,c2
 Setting: sphere_transparency set to 0.8 in object 'c2'.
PyMOL>rebuild


Kristian Rother



__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



RE: [PyMOL] different transparencies

2003-03-16 Thread DeLano, Warren
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
> >>
> >>
> 
> 
>