Graphics.IgnoringNodesOnDOVMoviePlayback - lordmundi/wikidoctest GitHub Wiki

Ignoring Nodes on DOV Movie Playback

« Recording a Movie From the Simdata Plugin | EDGE User’s Guide | Using the Trackcam plugin »

Why you might want this

If you read the article on making movies with simdata, you will see that recording all the node motion to a dov file first is the best way to get high quality videos. In this case, you record everything that moves, and then play that data back (with interpolation) with extra features turned on to generate the movie frames.

However, sometimes you may have some motion recorded that you do not want in the movie. For example, you may have camera motion, or motion from elsewhere that you don't want to show up in the movie. In that case, you can tell the record plugin that when it plays back a dov file to ignore certain nodes on playback.

Simple directions

  1. Record a .dov file

  2. Load the .dov file in the simdata plugin as a data source

  3. Open the command console (Help→Console) and issue the command:

    doug.plugin record remove_node_on_playback <node_name>

What's really going on

In terms of ignoring nodes on playback, that's really all there is to it. If you have many nodes to ignore, you could put all the commands into a tcl script file and "source" that file in the command console.

If you want to re-add a node to the playback, you can reverse your previous action with the "add_node_on_playback" subcommand.

If you are interested in doing more advanced things with the record plugin, here is a brief synopsis of the available tcl commands for that plugin:

record  seg_record
record  seg_stop
record  seg_review
record  seg_next
record  movie_done
record  movie_name  <string>
record  movie_frequency <float (in seconds)>
record  seg_capture_inter   <0|1>
record  seg_time    <returns float (in seconds)>
record  movie_total_time    <returns float (in seconds)>
record  movie_time  <returns float (in seconds)> "This function has been replaced by movie_total_time"
record  movie_current_time  <returns float (in seconds)>
record  movie_playback
record  pause 
record  interpolate <0|1|Yes|No>
record  realtime <0|1|On|Off|Yes|No>
record  playback_freq <float (in seconds)>
record  remove_node_on_playback <node_name>
record  remove_all_nodes_on_playback
record  add_node_on_playback <node_name>
record  save_state
record  restore_state
record  undo_state
NOT IMPLEMENTED: record  movie_speed <float>
record  next_frame <double next_frame_time>
record  clip <time_1> <time_2> <clipfilename>
record  go_to_movie_time <time>
record  movie_load <movie_name>
record  movie_append <movie_name>
record  movie_write <movie_name>
record  node_pos_deadband node_name <double>
record  node_att_deadband node_name <double>
record  pos_deadband <double>
record  att_deadband <double>
record  zoom_deadband <double>
record  check_for_small_change <0|1>
record  step_record <double (time in sec)> [record assuming every screen update is <double> seconds apart, -1 returns to realtime recording]
NOT IMPLEMENTED record  clear_save_list [empty the continents of the strip list]
record  save_list <node_name>   [add a node to the strip list to be saved]
record  strip_list <node_name>  [add a node to the strip list to be removed]
record  strip <filename>    [Strip the current DOV file to only contain the "save_list" nodes or write all nodes except those in the
                             strip_list and write out to "filename".  Note, if strip_list contains any nodes then the save_list is ignored.]
record  print_movie [Prints out the contents of the movie file]
⚠️ **GitHub.com Fallback** ⚠️