Issues.00035 - lordmundi/wikidoctest GitHub Wiki

00035: change plumes to setup animation at init and show/hide at runtime

« 00034 | Issues | 00036 »

Summary: change plumes to setup animation at init and show/hide at runtime

Created: 2007–04–18 09:56

Status: Released

Category: Request

From: frankie

Version: 1.0

Released_In: 1.1

Description:
Currently, the cev_ascent.tcl script looks at the force nodes for each plume and then makes the corresponding plume visible or invisible based on the force being non-zero. It also modified the mod_anim_time property using a value returned from the clock call so that a random flicker effect can be achieved.

One potential issue is that the animation properties (including mod_anim_time) are not transmitted via comm, so all clients must run cev_ascent.tcl so that they can seperately watch the force nodes and update the plumes.

It is requested that an alternate method be used to cause the plumes to "flicker" so that this does not need to occur at run-time thus allowing only a single client to watch force nodes and show/hide plumes.


Comments

This may be possible using a small lod animation time, which could allow a much slower frame rate to cause the plumes to appear to flicker. I'll look more into it. frankie April 18, 2007, at 10:01 AM

Looks like this will be best achieved by two scripts: one to setup animation parameters at init only which can run on all graphical clients, and another to actually to drive the plume visibility which only needs to run on one machine. This is much better than all machines watching the forces nodes and setting the plume visibility at the same time, hence hammering the manager with redundant information. — frankie April 23, 2007, at 03:39 PM


« 00034 | Issues | 00036 »

Associated Commits

| commit | 98ad84feb0c6eb8f468cbdfa9b155d33aa8bb9a4 link5 | || | Author: | Frank Graffagnino | | Date: | Mon Apr 23 15:21:34 2007 -0500 | | Message: | [@00035: Updated plume animation to split animation init and drive Changed the plumes script to perform animation setup at init in one script and the actual driving via show/hide in another script. This lets multi-machine setups have one machine to drive the visibility of plumes but let all clients use the init script to setup the animation parameters. This keeps the clients from all hammering on the manager with the same information. More issue info here: <Issues.00035> @] |

Affected Files:

cev.cfg                 |   3 &plusmn;
 gui/cev_ascent.tcl      | 192 ------------------------------------------------
 gui/cev_plume_array.tcl |  57 ++++++++++++++
 gui/cev_plume_drive.tcl |  40 ++++++++++
 gui/cev_plume_init.tcl  |  18 +++++
 5 files changed, 117 insertions(+), 193 deletions(-)