Changes between Version 7 and Version 8 of AnimationCommands
- Timestamp:
- Jun 20, 2011, 10:30:59 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AnimationCommands
v7 v8 12 12 Elaine's "corrected scheme" from ticket:9055. 13 13 14 "scene" is analogous to [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html savepos] + [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html reset], "animate" (or animation or interpolate or logical equivalent)is completely analogous to [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html fly], except they all work on scenes instead of positions and frame arguments can be followed by comma and transition name (previously defined with "transition").14 "scene" is analogous to [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html savepos] + [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html reset], "animate" is completely analogous to [http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html fly], except they all work on scenes instead of positions and frame arguments can be followed by comma and transition name (previously defined with "transition"). 15 15 16 16 - http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html … … 35 35 - alternative: expand existing reset command to restore scenes, then only need: 36 36 {{{ 37 scene scene-name38 scene list39 ~scene (scene-name | all)37 scene scene-name 38 scene list 39 ~scene (scene-name | all) 40 40 }}} 41 42 ==== Scooter's proposal ==== 43 44 Scooter proposed two minor modifications (according to Elaine): 45 46 1. change 47 {{{ 48 scene scene-name (save | reset [frames[,trans-name]]) 49 }}} 50 to only 51 {{{ 52 scene scene-name (save | reset) 53 }}} 54 thus disallowing gradual transitions using the "scene" command. Instead only the "animate" command would show gradual transitions. 55 56 2. Have a special scene name that always means the current scene. Then "animate" could be used with the syntax of Elaine's proposal (see below) to go from the current scene to any other. 57 58 59 ==== Implementation note ==== 60 61 r33799 provides revisions to 'scene' command: 62 {{{ 63 scene <scene-name> save 64 scene <scene-name> reset 65 scene <scene-name> reset <intFrames> 66 scene list 67 ~scene <scene-name> 68 ~scene all 69 }}} 70 71 Notes: 72 - args to (scene | ~scene) are comprised of any non-whitespace characters, unless they are 'action' keywords (list | save | reset | all) or otherwise noted below. It is possible to save a scene called 'scene' using "{{{scene scene save}}}", or a scene called 'save' using "{{{scene save save}}}", but it is never possible to save a scene named 'list'. 73 - Unless the first arg to 'scene' is 'list', it must be a <scene-name> (there is no default) and the 'save' or 'reset' action is required (there is no default). 74 - For reset, it is an error to specify a <scene-name> that was not previously saved. 75 - The <intFrames> argument to reset is optional, the default is 1 frame; when it is given, it must be an integer (the value provided is cast using {{{int()}}}). 76 - The reset command effects a transition from the current display state to a saved <scene-name> state. 77 - When transition commands are defined and implemented, the scene command set might be augmented with a transition name: 78 {{{ 79 scene <scene-name> reset [<intFrames>[,<trans-name>]] 80 }}} 81 82 83 41 84 42 85 === (2) transition definition === … … 53 96 ... many many possibilities, e.g. 54 97 {{{ 55 color ( linear [f1,f2] | sigmoid [f1,f2] | abrupt f )98 color ( linear [f1,f2] | sigmoid [f1,f2] | abrupt f ) 56 99 }}} 57 100 where f are % fractions of the transition from the preceding scene (0%) to the next scene (100%). A percentage is easier to type than values in the 0-1 range. … … 87 130 - 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? 88 131 89 == Scooter's revision ==90 91 Scooter proposed two minor modifications (according to Elaine):92 93 (1) change94 {{{95 scene scene-name (save | reset [frames[,trans-name]])96 }}}97 to only98 {{{99 scene scene-name (save | reset )100 }}}101 thus disallowing gradual transitions using the "scene" command. Instead only the "animate" command would show gradual transitions.102 103 (2) have a special scene name that always means the current scene. Then "animate" could be used with same syntax as in my original suggestion to go from the current scene to any other.
![[Chimera Issue Tracking System]](/trac/chimera/chrome/site/chimera_logo.png)