Re: [PyMOL] light reposition

2015-11-30 Thread Thomas Holder
Hi Darya and Carsten,

The "regular display mode" (real-time OpenGL graphics) does take lights into 
account, and their position can be updated in real-time. A neat way to play 
around with lights is in lights mouse mode (new in PyMOL 1.5).

From the menu, select "Mouse > 3 Button Lights"

Now hold down the SHIFT key on the keyboard, press the left mouse button and 
drag (just like rotating the molecule, but now it rotates the light position). 
The "edit_light" setting controls which light get updated.

The effect is most obvious with spheres representation.

Note that "light_count=2" corresponds to one specular light, the first light is 
ambient only.

Cheers,
  Thomas

On 30 Nov 2015, at 13:56, Schubert, Carsten [JRDUS]  
wrote:

> Darya,
>  
> I have never used that feature, but do you see a difference when raytracing 
> or drawing the scene? Could be that the regular display mode does not take 
> these feature into account (this is a wild guess though)
>  
> Cheers,
>  
> Carsten
>  
> From: Дарья Николаева [mailto:daranikola...@gmail.com] 
> Sent: Monday, November 30, 2015 9:58 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] light reposition
>  
> Hello,
>  
> I want to change the position of my light sources.
>  
> First I set the number of light sources:
> >set light_count, 3
>  
> Then I attempt to reposition the light source, e.g., #2:
> >set light2, [x, y, z]
>  
> The problem is - I see no changes to the scene.
>  
> The question: How to use the "set light(2-8)" command or is there any
> other way to reposition light sources?
>  
> Thank you,
> Darya

-- 
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
___
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 reposition

2015-11-30 Thread Schubert, Carsten [JRDUS]
Darya,

I have never used that feature, but do you see a difference when raytracing or 
drawing the scene? Could be that the regular display mode does not take these 
feature into account (this is a wild guess though)

Cheers,

Carsten

From: Дарья Николаева [mailto:daranikola...@gmail.com]
Sent: Monday, November 30, 2015 9:58 AM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] light reposition


Hello,



I want to change the position of my light sources.



First I set the number of light sources:

>set light_count, 3



Then I attempt to reposition the light source, e.g., #2:

>set light2, [x, y, z]



The problem is - I see no changes to the scene.



The question: How to use the "set light(2-8)" command or is there any

other way to reposition light sources?



Thank you,

Darya
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140___
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 reposition

2015-11-30 Thread Дарья Николаева
Hello,


I want to change the position of my light sources.


First I set the number of light sources:

>set light_count, 3


Then I attempt to reposition the light source, e.g., #2:

>set light2, [x, y, z]


The problem is - I see no changes to the scene.


The question: How to use the "set light(2-8)" command or is there any

other way to reposition light sources?


Thank you,

Darya
--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140___
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