Rolf, Ah! I know what it is. Alright, this is IMPORTANT. We need lots of input on this.
Jmol 11.1 has two perspective models -- 10 and 11. set perspectiveModel 10 is the default because of compatibility issues with Jmol 10. The problem with this model is that it is nonlinear. set perspectiveModel 11 is a linear model, and if you first set that, then you will get the expected behavior from zoomTo. I'm reticent to make the jump and have perspectiveModel 11 be the default for Jmol 11 because all along we have strived for 99% backward compatibility. But at the same time I also feel that that linearity and zooming capability of the 11 model and the navigation mode capability are such great improvements to Jmol that it seems strange to not be able to invoke them without explicitly setting the perspectiveModel to 11. Another big improvement in the perspectiveModel 11 is the handling of perspective in spacefill. Go ahead and try load =1deh set perspectiveModel 10 select [CYS]97A,[CYS]100A,[CYS]103A,[CYS]111A,[ZN]375A; spacefill on zoomTo (selected) 0 then zoomTo (selected) 0 *2 zoomTo (selected) 0 *4 zoomTo (selected) 0 *6 First, notice how nonlinear the zoom is. Now rotate the model with the mouse and notice how strange the spacefill spheres behave. Now try: load =1deh set perspectiveModel 11 select [CYS]97A,[CYS]100A,[CYS]103A,[CYS]111A,[ZN]375A; spacefill on zoomTo (selected) 0 You should see a dramatic improvement in the spacefill rendering when you rotate the model with the mouse. Now try: zoomTo (selected) 0 *2 zoomTo (selected) 0 *4 zoomTo (selected) 0 *6 zoomTo (selected) 0 /2 THAT's what you were expecting, right? I just don't know what is right to do. I suggest a vote, after discussion: Should Jmol 11.2 be released with perspectiveModel 10 or 11 as the default? In either case, the alternative model can always be set (once for any applet) using "set perspectiveModel". Bob Rolf Huehne wrote: >Bob Hanson wrote: > > >>checked in for Jmol 11.1.36: >> >> >>zoom (atom expression) 0 >>zoomTo timeSec (atom expression) 0 >> >>zooms to the atom expression, filling the screen (roughly) with that set >>of atoms. >> >> >> >> >I tried several examples and the zoom level wasn't as expected. >The atoms filled only about 1/9 of the screen (~1/3 in each direction, >in spacefill representation), or even less. > >Example: PDB entry 1deh (active site ZA1) > >select [CYS]97A,[CYS]100A,[CYS]103A,[CYS]111A,[ZN]375A >zoomto (selected) 0 > >If the screen would really (almost) be filled with the selected atoms, >it would be a very useful option! > >Regards, >Rolf > >------------------------------------------------------------------------- >This SF.net email is sponsored by DB2 Express >Download DB2 Express C - the FREE version of DB2 express and take >control of your XML. No limits. Just data. Click to get it now. >http://sourceforge.net/powerbar/db2/ >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

