Created
March 28, 2018 13:16
-
-
Save andersx/417e85e05acd7f6036bcdc3a3c868f41 to your computer and use it in GitHub Desktop.
Script to render molecuels in PYMOL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Envoke by | |
| # > pymol -c render_movie.pml <trajectoryfile.xyz> | |
| # > convert -delay 20 -loop 0 mov*.png <outputfile.gif> | |
| # load opt.xyz | |
| show sticks, all | |
| bg_color white | |
| color grey05, elem c | |
| preset.ball_and_stick(selection='all', mode=1) | |
| set ray_trace_mode, 4 | |
| viewport 1024, 768 | |
| set ray_trace_gain, 0.1; | |
| set ray_shadow_decay_factor, 0.1; | |
| set ray_shadow_decay_range, 2; | |
| set antialias, 2; | |
| set reflect,0.5; | |
| set light_count,10; | |
| set spec_count,1; | |
| set shininess, 100; | |
| set specular, 1; | |
| set direct,0; | |
| set reflect,1.5; | |
| set ray_op | |
| set ray_trace_frames=1 | |
| set cache_frames=0 | |
| mclear | |
| mpng mov |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment