Changes between Initial Version and Version 1 of AnimationCommands


Ignore:
Timestamp:
Jun 14, 2011, 12:47:45 PM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AnimationCommands

    v1 v1  
     1
     2This page defines the animation command syntax and expected behavior (this is related to ticket:9055).
     3
     4Corrected scheme:
     5
     6(1) scene definition
     7
     8{{{
     9scene scene-name (save | reset [frames[,trans-name]])
     10scene list
     11~scene (scene-name | all)
     12}}}
     13
     14Notes:
     15 - "scene-name" and "trans-name" are user-specified, see (2) for the latter.
     16 - default scene not necessary.
     17 - save corresponds to scadd.
     18 - reset corresponds to scshow.
     19 - scsave to file omitted for now, could be third option "write pathname".
     20 - alternative: expand existing reset command to restore scenes, then only need:
     21 {{{
     22    scene scene-name
     23    scene list
     24    ~scene (scene-name | all)
     25 }}}
     26
     27(2) transition definition
     28
     29{{{
     30transition trans-name [color color-options] [visibility vis-options] \
     31                      [style style-options] [global global-options]
     32transition list
     33~transition (trans-name | all)
     34}}}
     35
     36Notes:
     37 - Keywords could be different, I just wanted to convey purpose/scope
     38   ... many many possibilities, e.g.
     39   {{{
     40    color ( linear [f1,f2] | sigmoid [f1,f2] | abrupt f )
     41   }}}
     42   where f are % fractions of the transition from the preceding scene 0
     43   and the next scene 100. A percentage is easier to type than values
     44   within the 0-1 range.
     45 - Would we want to allow different behaviors for different models?
     46
     47(3) animation between scenes, analogous to existing [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html fly command]:
     48
     49{{{
     50fly [master-frames] pos1 [[ frames1_2] pos2] \
     51    [[ frames2_3] pos3] ... [[ framesN-1_N] posN]
     52}}}
     53
     54see http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html
     55
     56{{{
     57animate [master-frames[,master-trans]] scene1 \
     58    [[ frames1_2[,trans1_2]] scene2] \
     59    [[ frames2_3[,trans2_3]] scene3] \
     60    ... \
     61    [[ framesN-1_N[,transN-1_N]] sceneN]
     62}}}
     63
     64Notes:
     65 - scene*, trans* previously defined with scene and transition, respectively
     66 - alternative: expand existing fly command to do all this
     67
     68Concerns:
     69 - Does this limit transitions (other than positions, which would be splined as in "fly") to depending on only the bracketing pair of scenes?
     70 - Do we need fancier transitions that also depend on further preceding and following scenes?
     71 - How does animation integrate with recording, 2dlabels, coordset, other commands with frame arguments (move,turn,rock,roll)? Simply as interleaved commands between "movie record" and "movie stop"? Could coordset or 2dlabels changes occur at the same time as other transitions?