Hi,
I'd like to create a set of transparent PNG frames, with each frame
being more and more zoomed in on the PNM-ser62 complex found within the
PDB structure 1PWC. This is the code I have so far:
set ray_opaque_background, 0
png Image0001.png, width= 2000, height= 1162, dpi=500, ray=1
python
for iin range(2,61):
cmd.zoom(r. pnm, 20)
cmd.png(r"Image{:04d}.png".format(i), width=2000, height=1162, dpi=500,
ray=1)
python end
Running this just creates frame one (i.e., the one outside the python
loop). If you're wondering what made me think that this might work, well
this was based on a rotate-based animation script (the original script
had cmd.rotate('y',6) instead of cmd.zoom...) I have created based on
input from others on this mailing list.
Thanks for your time,
Brenton
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net