Rolf Huehne wrote:

>Bob Hanson wrote:
>  
>
>>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.
>>  
>>    
>>
>Indeed.
>  
>
>>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.
>>  
>>    
>>
>It looks much better.
>  
>
>>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?
>>  
>>    
>>
>Yes, that's it!
>  
>
>>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".
>>
>>
>>  
>>    
>>
>Backward compatibility is of course a strong argument. Since the
>perspectiveModel setting also influences for example the outcome of
>'moveto' commands, the new model will most probably break a lot of scripts.
>For me it would not be a problem to add 'perspectiveModel 11' to the
>applet start script if we wanted to include it in our Jmol interface.
>
>But all the effects of 'set perspectiveModel' should be pointed out
>clearly in the documentation. Currently it is only mentioned that a
>specific setting is needed for 'navigationMode'. I would never have
>guessed that it would have such drastic effects on zoom, 'moveto', 'show
>orientation' etc..
>
>  
>
I hadn't realized all the implications either, actually, until just now. 
And how much improved it is.
Maybe a note that goes to the console at startup that the perspective 
model being used is not optimal would help, along with many mentions in 
the documentation.

>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

Reply via email to