| 1 | #
|
|---|
| 2 | # Normally setup for a movie would be done interactively, saved to a session,
|
|---|
| 3 | # and then loaded before running the animation commands. To make this example
|
|---|
| 4 | # self-contained we instead use commands to setup the scene here.
|
|---|
| 5 | #
|
|---|
| 6 |
|
|---|
| 7 | # Setup the potassium channel clipping scene.
|
|---|
| 8 |
|
|---|
| 9 | #set fieldOfView 30
|
|---|
| 10 | open /home/user/MASTERS/Chimera_files/testPDBfiles/Sys1nanopart.pdb
|
|---|
| 11 | select :wat
|
|---|
| 12 | hide sel target a
|
|---|
| 13 | select ~sel
|
|---|
| 14 | surface sel
|
|---|
| 15 | color (#!1 & sel) white
|
|---|
| 16 | select ::name="OQL"
|
|---|
| 17 | color (#!1 & sel) red
|
|---|
| 18 | select ::name="ONC"
|
|---|
| 19 | color (#!1 & sel) blue
|
|---|
| 20 | select ::name="NP"
|
|---|
| 21 | color (#!1 & sel) yellow
|
|---|
| 22 | lighting flat
|
|---|
| 23 | lighting shadows false
|
|---|
| 24 | graphics silhouettes false
|
|---|
| 25 |
|
|---|
| 26 | #surface ; surfcolor bymodel
|
|---|
| 27 | #align :401 :402
|
|---|
| 28 | #Error while sourcing clip2.cmd, line 11 "align :401 :402" Left atom spec (:401) selects no atoms
|
|---|
| 29 |
|
|---|
| 30 | #set bg_color white
|
|---|
| 31 | #set silhouette
|
|---|
| 32 | #windowsize 200 150
|
|---|
| 33 | #copy file clip.jpg
|
|---|
| 34 |
|
|---|
| 35 | # ---------------------------------------------------------------------------
|
|---|
| 36 | # Record the movie
|
|---|
| 37 |
|
|---|
| 38 | movie record supersample 3
|
|---|
| 39 | clip front -0.5 120
|
|---|
| 40 | wait 120
|
|---|
| 41 | movie encode clip.mp4 bitrate 200
|
|---|