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,-1.0] normalized. The second is that same vector rotated 6 degrees about the Y axis. I then loaded the output into Illustrator and was able to view both cross-eye and wall-eye stereo pairs with clean shadows. I hope that helps. Cheers, Warren -- mailto:war...@delanoscientific.com Warren L. DeLano, Ph.D. Principal DeLano Scientific LLC Voice (650)-346-1154 Fax (650)-593-4020 -----Original Message----- From: Scott Classen [mailto:clas...@uclink.berkeley.edu] Sent: Wednesday, April 23, 2003 12:07 PM To: pymol-users@lists.sourceforge.net Cc: war...@delanoscientific.com Subject: Stereo pictures, light vector and shadows Warren, Could you explain the values for the set light command? It appears the default values are [-0.40000,-0.40000,-1.00000] how do the values below correspond to a 6 degree rotation of the light source? Thanks, Scott On Wednesday, April 23, 2003, at 08:59 AM, Warren L. DeLano wrote: > Yow, good point! I'm surprise none of us realized this before : ) You > need to change the direction of the light 6 degrees as well. > > Try using this sequence to create your stereo pair: > > set light=[-0.348,-0.348,-0.870] > ray > png image1.png > turn y,6 > set light=[-0.437,-0.348,-0.902] > ray > png image2.png > turn y,-6 > > Cheers, > Warren ============================================== Scott Classen, Ph.D. clas...@uclink4.berkeley.edu University of California, Berkeley Department of Molecular & Cell Biology 237 Hildebrand Hall #3206 Berkeley, CA 94720-3206 LAB 510.643.9491 FAX 510.643.9290 ==============================================