Ticket #3448: clip2.cxc

File clip2.cxc, 1.0 KB (added by vid.sustar@…, 5 years ago)

Added by email2trac

Line 
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
10open /home/user/MASTERS/Chimera_files/testPDBfiles/Sys1nanopart.pdb
11select :wat
12hide sel target a
13select ~sel
14surface sel
15color (#!1 & sel) white
16select ::name="OQL"
17color (#!1 & sel) red
18select ::name="ONC"
19color (#!1 & sel) blue
20select ::name="NP"
21color (#!1 & sel) yellow
22lighting flat
23lighting shadows false
24graphics 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
38movie record supersample 3
39clip front -0.5 120
40wait 120
41movie encode clip.mp4 bitrate 200