# # 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 rat beta-amyloid dimer scene. open 2li9 2li9 del #0.2- ; ~rib #0:.B ; ~disp #0:.B del #1.2- ; ~rib #1:.A ; ~disp #1:.A color red #1 move x 20 model #1 scale 1.8 set bg_color white set silhouette windowsize 200 150 copy file move.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 move x -0.2 100 model #1 wait movie encode move.mp4 move.webm move.ogv bitrate 200