Hi AC,

In PyMOL 1.8.6 we added width and height arguments to the mpng command. So this 
is now possible:

  set ray_trace_frames
  mpng imageprefix, width=2400

With older PyMOL versions, you have two options:

1) Run PyMOL headless (pymol -c script.pml) so that the display doesn't limit 
the viewport size, and put in the script:

  viewport 2400, 1800
  mpng imageprefix

2) Write your own export loop:

python
for frame in range(1, cmd.count_frames() + 1):
    cmd.frame(frame)
    cmd.png('imageprefix%04d.png' % frame, width=2400, ray=1)
python end

Cheers,
  Thomas

> On Jun 29, 2017, at 8:55 PM, Academic Research <ac.resea...@icloud.com> wrote:
> 
> So far there is only info about how to "ray_trace" each frame of a movie 
> while exporting to .png images.
> 
> My question: How can I "ray 2400" each image (regardless of my computer 
> screen size - because I have a small computer) so i can get very high 
> resolution images that i can combine together into a high resolution movie.
> Regards,
> 
> AC Research

--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

Reply via email to