On Feb 22, 2005, at 11:30 PM, Miguel wrote:

Frieda,

You have requested an option that the behavior be changed when the
'center' command is applied. Optionally, you would like to have the
molecular model stay in the same position, but the center of rotation
moved.
Correct.


I have done some work on this and can report the following:

I have a prototype operational, but the results are unacceptable. The
problem is caused by 'perspective depth' calculations. That is, if we 'set
perspectiveDepth off' then everything works OK. However, with
perspectiveDepth turned on (the default) then the perspective view of the
model changes when the center of rotation is changed. That is, because the
new center of rotation is not the same as the old one, the view is
different. You can think of the difference as moving the focus of the
camera ... it is almost the same, but not exactly ... so there is
movement.

I would like to see an example of this, if possible. I can envision what you mean, but how much movement is there? -- perhaps it is an acceptable amount? Sometimes small defects such as this can be hidden (i.e., human eye distracted) by the move or moveTo command, which is, after all, the next thing that is going to happen.



I do not see a solution to this problem, other than turning off
perspective depth. (Turning off perspective depth would solve some other
problems too, but I think that we would lose something and that turning it
off would be short-sighted.)


So, let me ask two things:

Q: Frieda, remind me once again what you are trying to accomplish ...

I usually fade out sections of a macromolecule to focus on one part, and ideally I want that one part to move to the center of the applet in a centered fashion, not as if the rest of the molecule were still there. (Which it is of course but it is unseen).


In other words, I use a Chime move (or in Jmol moveTo) command to smoothly bring the remaining section of the molecule to where I want it - usually in the center of the applet, with the relevant "face" of the section shown to the viewer-- the rotations that occur in this move revolve around the new center, not the whole molecule.

As a second choice, I would move the molecule to its new position without rotations, and once it is in position, then do the rotations so the relevant face is in front. That would mean that the act of centering would not take place until the molecule is in it's new position in the center of the screen.

Frieda


Q: Any thoughts/suggestions/ideas from anyone else would be appreciated.



Miguel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&opclick
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users


*************************************
Frieda S. Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.MoleculesInMotion.com
Shutesbury, MA
*************************************



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to