[Chimera-users] x,y coordinates of the Chimera screen
goddard at sonic.net
Tue May 13 12:07:32 PDT 2014
Chimera uses perspective projection — in other words, the field of view is a cone. So the width of the screen might be 100 Angstroms at one distance from the camera and 500 Angstroms at a distance 5 times further from the camera. You can use orthographic projection so that the width of the window in Angstroms makes sense. But it seems to me you are better off positioning the models in a corner or just off screen using the mouse and using savepos to save that position. Why? Because if you want to put a molecule in a corner, I guess you want it to be in view, so you need to take into account the exact size of the molecule in its current orientation, likewise if I want it off screen, the size of the molecule in its current orientation will matter. While you could try to compute that (it is certainly possible using Python Chimera code), it seems like a hard way to setup a movie.
On May 13, 2014, at 11:55 AM, Jan Kosinski wrote:
> When I load a model in Chimera I can move the model on the plane of the screen with the move command along the x,y axes.
> Is it possible to get the current range of the coordinates of the x and y axes of the screen, so I could automatically (without setting positions with savepos) move my models to particular points on the screen? For example, move to left upper corner in a movie... Or move the model outside the screen and create nice fly-in effect in movies.
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
More information about the Chimera-users