# # Normally setup for a movie would be done interactively, saved to a session, # and then loaded before running the animation commands. To make this example # self-contained we instead use commands to setup the scene here. # # Setup the netropsin dna scene. open 6bna 6bna del #0 & ligand del #1 & ~ligand repr sphere #1 turn y 90 scale 1.2 # Save bound view. savepos p1 # Move netropsin ligand away and save unbound view. move -15,15,0 model #1 ; turn y 180 model #1 center #1 move y -10 model #0 ; turn z -30 model #0 center #0 scale 0.7 savepos p2 set bg_color white set silhouette windowsize 200 150 copy file reset.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 reset p1 100 wait movie encode reset.mp4 reset.webm reset.ogv bitrate 200