Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help
Special pages
SBGrid Resources
SBGrid Consortium
SBGrid Data Bank
Software Webinars
PyMOL Webinar
PyMOL Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Scene
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Examples == Simple Examples. <source lang="python"> scene F1, store scene F2, store, This view shows you the critical hydrogen bond. scene F1 scene F2 scene * </source> This example shows how to use scenes in a movie! <source lang="python"> # SUMMARY # # This script demonstrates one way of creating a movie from scenes. # It assumes that we have three scenes, each running for 10 seconds # (300 frames apiece) including 2-second transitions. # 1) Load or create content for three scenes (this could just as easily # come from a session file). load $TUT/1hpv.pdb util.cbc turn x,180 orient as cartoon scene 001, store show sticks, organic orient organic scene 002, store hide cartoon show lines, byres organic expand 5 turn x,45 turn y,45 scene 003, store # 2) Specify a 30-second movie -- state 1, 900 frames at 30 frames per second. mset 1 x900 # 3) Program scene matrices as movie views at appopriate frames # and also add y-axis rocking between scenes. scene 001, animate=0 mview store, 1 mview store, 240 turn y,-30 mview store, 70 turn y,60 mview store, 170 scene 002, animate=0 mview store, 300 mview store, 540 turn y,-30 mview store, 370 turn y,60 mview store, 470 scene 003, animate=0 mview store, 600 mview store, 840 turn y,-30 mview store, 670 turn y,60 mview store, 770 # 4) Now interpolate the movie camera. mview interpolate mview smooth mview smooth # 5) Activate scene content at the appropriate movie frames. mdo 1: scene 001, view=0, quiet=1 mdo 240: scene 002, view=0, quiet=1 mdo 540: scene 003, view=0, quiet=1 mdo 840: scene 001, view=0, quiet=1 # 6) Force frame 1 content to load. rewind # 6) And play the movie. mplay </source>
Summary:
Please note that all contributions to PyMOL Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
PyMOL Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Scene
(section)
Add topic