# # 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 prion x-ray map clipping scene. open 3md4 ~rib ; disp open edsID:3md4 volume #1 style surface level 0.7 color .7,.7,.7,.4 region 10,10,0,50,50,95 scale .7 turn x -65 mclip #1 offset 10 slab true thick 3 savepos p1 ~mclip #1 set bg_color white set silhouette windowsize 200 150 copy file mclip.jpg # --------------------------------------------------------------------------- # Record the movie # movie record supersample 3 wait 1 movie crossfade 30 mclip #1 offset -20 slab true reset p1 100 wait movie encode mclip.mp4 mclip.webm mclip.ogv bitrate 200