Frieda Reichsman wrote:

Is the implementation of 'set windowCentered on/off' the same as 'set frieda on/off'?


set windowCentered OFF

is the old

set frieda ON

But "frieda" was never really tested fully, so it had some strange behavior that windowCentered takes care of.



Using set windowCentered OFF, this works. There is a small jump due to perspective depth. However, this may become a large jump in a macromolecule...

This is something I don't understand and can certainly be turned of or optional if desired. It's a scaling that is done when centering is done. No particular need for it, but there must be a reason it's there.


Furthermore, on thinking about applying this command to making movies that focus in on parts of a macromolecule (i.e., you want the molecule to move to, zoom in, and then rotate about the area of interest) the optimal solution to the problem, from my point of view, would be:

have Jmol compute the coordinates of a moveTo command that would move the center of a specified atomset to the (XY) center of the applet.

Trivial -- just "transformPoint()"

You could then center the atomset without fear that there would be any jump. This would mean that you could easily make a smooth transition from a whole-protein view to a close-up of an active site (say) where the active site would now be the center of rotation.

Since the moveTo can take you anywhere, that's done. Doesn't moveTo do that already?

 Currently I have
to do a real dance script-wise to get this to happen smoothly, and it is far from perfect.

show me an example, and I'll play with it. (next week)


Is it feasible for Jmol to compute that moveTo?
(This request may have a familiar ring to it, especially for Miguel...)


Define that more precisely. But, yes, Jmol can compute anything like this....



In my tests, the still molecule jumps-- not a rescale sort of jump-- much larger, and yet $line1 does not go to the center of the window. In fact, whether windowCentered is on or off has no effect on this jump.

It's a bug. The second one is not supposed to jump.



Frieda

///////////////////////////////////////////

Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////




--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to