Re: [PyMOL] Light Command Details needed
Hi Sean, I could not find a way to search the archived sourceforge messages, It is indeed easy to miss but at the bottom of every message there is a link to the searchable archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Henning On Thu, Aug 20, 2009 at 10:50 PM, Sean Mooresemo...@mail.ucf.edu wrote: Hello, I could not find a way to search the archived sourceforge messages, so I apologize if this has been asked and answered. I am having trouble moving the light source before a ray command (I want to shine it into the crevice of a structure from behind and above my current view). I ended up using light, [1,5,-100]. I know these are X,Y,Z coordinates, but relative to what origin and in what units? After wasting way too much time, I concluded that the values might be Angstroms relative to the eyes of the current view. In examples I found online, the numbers are small, so this doesn't make much sense. Also, I see there are several light sources available. As more and more lights are turned on, do the XYZ values for each additional get taken in order from the top of the list? Is there a way to change the intensity of each light in addition to its position? Thanks for any help. -Sean -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
[PyMOL] Light Command Details needed
Hello, I could not find a way to search the archived sourceforge messages, so I apologize if this has been asked and answered. I am having trouble moving the light source before a ray command (I want to shine it into the crevice of a structure from behind and above my current view). I ended up using light, [1,5,-100]. I know these are X,Y,Z coordinates, but relative to what origin and in what units? After wasting way too much time, I concluded that the values might be Angstroms relative to the eyes of the current view. In examples I found online, the numbers are small, so this doesn't make much sense. Also, I see there are several light sources available. As more and more lights are turned on, do the XYZ values for each additional get taken in order from the top of the list? Is there a way to change the intensity of each light in addition to its position? Thanks for any help. -Sean -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] Light Command Details needed
Hi Sean, I ended up using light, [1,5,-100]. I know these are X,Y,Z coordinates, but relative to what origin and in what units? After wasting way too much time, I concluded that the values might be Angstroms relative to the eyes of the current view. In examples I found online, the numbers are small, so this doesn't make much sense. These values are the x,y,z components of the light vector. The units are irrelevant ( [1,1,-1] == [2,2,-2], at least to my eyes judging the output images). I don't believe there's a defined origin, either (it's not a point light source). Pete -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Re: [PyMOL] Light Command Details needed
The light and lightN settings are direction vectors, not coordinates. Intensity (reflect setting) is averaged across all such directional sources. It has recently been suggested that we need better control over lighting. Cheers, Warren -- Warren L. DeLano, Ph.D. war...@delsci.com (Sent from a mobile device. Please forgive brevity and/or typos!) On Aug 20, 2009, at 4:14 PM, Sean Moore semo...@mail.ucf.edu wrote: Hello, I could not find a way to search the archived sourceforge messages, so I apologize if this has been asked and answered. I am having trouble moving the light source before a ray command (I want to shine it into the crevice of a structure from behind and above my current view). I ended up using light, [1,5,-100]. I know these are X,Y,Z coordinates, but relative to what origin and in what units? After wasting way too much time, I concluded that the values might be Angstroms relative to the eyes of the current view. In examples I found online, the numbers are small, so this doesn't make much sense. Also, I see there are several light sources available. As more and more lights are turned on, do the XYZ values for each additional get taken in order from the top of the list? Is there a way to change the intensity of each light in addition to its position? Thanks for any help. -Sean --- --- --- - Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol- us...@lists.sourceforge.net -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net