# # 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 maltotriose binding protein surface fading scene. open 2gha del :.B ~disp main|solvent scale 5 ; turn y -130 ; turn z 40 ; center ligand ; cofr ligand repr sphere ligand color gray ligand & @/element=6 surface color pink,s #0 surft 100 #0 set bg_color white windowsize 200 150 copy file surft.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 rock surftransparency 0 #0 68 wait 68 movie encode surft.mp4 surft.webm surft.ogv bitrate 200