User:Karsten Theis/transition proposal: Difference between revisions

Karsten Theis (talk | contribs)
No edit summary
Karsten Theis (talk | contribs)
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<StructureSection load='' size='340' side='right' caption='UvrB in complex with ATP' scene='77/779435/Front/1''>
<StructureSection load='' size='340' side='right' caption='UvrB in complex with ATP' scene='77/779435/Front/1'>
I think smooth transitions from 3D scene to 3D scene are one of the great features in Proteopedia, and we should encourage using them. They allow the viewer to learn about different parts of a structure without losing their orientation.
I think smooth transitions from 3D scene to 3D scene are one of the great features in Proteopedia, and we should encourage their use. They allow viewers to learn about different parts of a structure without losing their bearing.


==Proposal: always transition smoothly==
==Proposal: smooth transition as default==


I propose to change the SAT that transitions between two scenes that use the same coordinates are always smooth. If an author does not want this behavior, there is a way to opt out by forcing a reload of coordinates. If coordinates are reloaded, show the new scene as fast as possible.
I propose to change the SAT such that transitions between two scenes using the same coordinates are always smooth. If an author does not want this behavior, there is a way to opt out by forcing a reload of coordinates. If coordinates are reloaded, show the new scene as fast as possible.


There are two advantages: First, it avoids a transition where it does not make sense (from an arbitrary initial orientation in the file to the desired orientation). Secondly, revising the model allows for some transition to be faster. Right now there is a 2 second delay built into loading a scene without a transition. This slows down browsing the figures.
There are two advantages: First, it avoids a transition where it does not make sense (from an unrelated old scene to an arbitrary initial orientation of the new scene to the desired orientation). Secondly, this allows for some transition to be faster. Right now there is at least a 2 second delay built into loading a scene. This slows down browsing the figures.


The demo below shows the proposed new behavior. Click on "DNA view" first, then on "fast move" or "fast load". For the original delayed transitions, click on "DNA view" first, then on "slow" options instead.  
The two demos below shows the proposed new behaviors.


===Demo: same coordinates===
===Demo 1: new coordinates (or forced reload) ===
Start here: <scene name='77/779435/Dna/6'>DNA view</scene>
This demonstrates loading new coordinates and showing the scene without transitions.


Then transition with zoom out and zoom in: <jmol><jmolLink>
Click on "DNA view" first, then on "fast load" for the proposed behavior (new coordinates are loaded with minimal delay). For the original delayed transitions, click on "DNA view" first, then on the "slow load" option instead.
<script>script /wiki/images/9/9d/ATPsmoothtransition.spt;</script>
<text>fast move</text></jmolLink></jmol>


Original delays: <scene name='77/779435/Atp/6'>slow move</scene>
Start here: <scene name='77/779435/Dna/6'>DNA view</scene> or here: <scene name='77/779435/Lyso/2'>unrelated structure</scene>.
 
===Demo: new coordinates (or forced reload) ===
Start here: <scene name='77/779435/Dna/6'>same coordinates</scene> or here: <scene name='77/779435/Lyso/2'>different coordinates</scene>.


Then load as fast as possible: <jmol><jmolLink>
Then load as fast as possible: <jmol><jmolLink>
Line 31: Line 26:
   delay 1.0;
   delay 1.0;
   moveto 1.0 { -506 -641 577 176.65} 707.57 0.0 0.0 ...
   moveto 1.0 { -506 -641 577 176.65} 707.57 0.0 0.0 ...
===Demo 2: smooth transitions if coordinates are the same===
This demonstrates a smooth transition when a scene uses the same coordinates as the previous one. Click on "DNA view" first, then on "fast move" (no loading of coordinates, smooth transition). For the original delayed transitions, click on "DNA view" first, then on "slow move" option instead.
Start here: <scene name='77/779435/Dna/6'>DNA view</scene>
Then transition with zoom out and zoom in: <jmol><jmolLink>
<script>script /wiki/images/9/9d/ATPsmoothtransition.spt;</script>
<text>fast move</text></jmolLink></jmol>
Original delays: <scene name='77/779435/Atp/6'>slow move</scene>
Optionally, we could also have a transition that does not zoom out, but moves directly (for this example, where the two views are very different from each other, and we are switching representations, it is quite jarring; for other more subtle transitions, it might be the better option):
<jmol><jmolLink>
<script>script /wiki/images/d/d6/ATPdirecttransition.spt;</script>
<text>direct move</text></jmolLink></jmol>




</StructureSection>
</StructureSection>