From: Jason V. <jas...@sc...> - 2013-02-18 18:35:25
|
Hi Vitaly, In our later versions of PyMOL there's a setting called "edit_light" that controls which light may be moved by the mouse in 3-button Lights Mode. To enable 3-button Lights Mode, just click Mouse > 3-Button Lights. Use shift+mouse to move the light around. To control which lights are being manipulated: # let there be 3 lights set light_count, 3 # move the second specular light set edit_light, 2 Now, in 3-button Lights mode, the mouse will move light 2. The default light is ambient which cannot be moved. If you have 3 lights on (ambient and two specular), then you can move the two specular two lights by setting edit_light to 1 or 2. Cheers, -- Jason On Sun, Feb 17, 2013 at 12:22 AM, V.V. <vv...@gm...> wrote: > Occasionally I need to play around with the number of lights and their > vectors to get nice rendering. It's not something I do often, so every > time I need to scour through the mailing list to recall Pymol > definitions of light sources (the page on "light" badly needs > updating). So... Can someone write a script that would grab the light > data from the settings and present it as a separate object? A reverse > action, where dragging the points of the light vector would update the > "lightX" values would also be nice. > > Thank you, > Vitaly > > > ------------------------------------------------------------------------------ > The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, > is your hub for all things parallel software development, from weekly > thought > leadership blogs to news, videos, case studies, tutorials, tech docs, > whitepapers, evaluation guides, and opinion stories. Check out the most > recent posts - join the conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > -- Jason Vertrees, PhD Director of Core Modeling Products Schrödinger, Inc. (e) Jas...@sc... (o) +1 (603) 374-7120 |