RE: [PyMOL] RE: Stereo pictures, light vector and shadows

2003-04-30 Thread Warren L. DeLano
27;; pymol-users@lists.sourceforge.net Cc: f.h.j.van.hoe...@chem.rug.nl Subject: RE: [PyMOL] RE: Stereo pictures, light vector and shadows Yep, I blew it -- neglected to check my work. Scratch all of my previous emails on the subject. The following function (turn_y_light.py) will correctly rotate th

RE: [PyMOL] RE: Stereo pictures, light vector and shadows

2003-04-30 Thread Warren L. DeLano
(650)-593-4020 -Original Message- From: pymol-users-ad...@lists.sourceforge.net [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of Anthony Duff Sent: Tuesday, April 29, 2003 9:08 PM To: pymol-users@lists.sourceforge.net Subject: Re: [PyMOL] RE: Stereo pictures, light vector and shad

Re: [PyMOL] RE: Stereo pictures, light vector and shadows

2003-04-29 Thread Anthony Duff
Warren's script is not quite right. The value -0.902 is not correct. Apparently, my picture, with a stick peptide casting a shadow on the inner surface of a deep crevice, is particularly demanding. I have done the vector calculations. See the attached excel worksheet for light vectors for a

[PyMOL] RE: Stereo pictures, light vector and shadows

2003-04-23 Thread Warren L. DeLano
Scott, PyMOL's lighting model is merely a direction, not a point. The default direction vector isn't even normalized to unit length. In the script I just posted, I used unit vectors to specify the light direction and simply rotated that vector by 6 degrees. The first vector is merely [-0.4,-0.4