kostas, Actually, the "light" vector is a direction not a position. For better or worse, the lighting model in PyMOL's ray-tracer is ad hoc and non-physical. If you want a real lighting model, export to PovRay.
reflect is the intensity of the diffuse component of the directional light. Its purpose is to light the object and cast shadows. reflect_power controls the spread. spec_reflect is the intensity of the specular component of the directional light. Its purpose is to provide shinyness. spec_power controls the spread. direct is the intensity of a diffuse light that points directly along the Z axis. Its purpose is to provide shape definition for shaded portion of the molecule. There is currently no specular component to this light. direct_power controls the spread. ambient just lights everything equally. By messing around with the above settings, you can get a lot of material effects. But if you're trying to do something fancy, PovRay is your tool. Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 . Biz:(650)-872-0942 Tech:(650)-872-0834 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:war...@delsci.com > -----Original Message----- > From: pymol-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of kostas > Sent: Wednesday, March 02, 2005 2:13 PM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] light source position > > Hallo everybody > > I would like to improve the position of the light source in > the figures I prepare. I 've realised that the position is > defined by the values of the three vectors( I assume the > position 0,0,0 is the center of the object). Instead of > modifying the distances for each vector I would prefer to > have the distance from the object constant ( let's say > starting from -1 in z) and then shifting this distance in x > or y dimension by some degrees. I wonder if somebody has > developed a script for such a purpose. I would also like to > explain me what is the definition of the direct function. > thanks a lot > cheers kostas > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide Read honest & > candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users >