From: Jason V. <jas...@sc...> - 2010-01-21 16:45:54
|
Don't forget the PNG command also takes a "ray" argument: png fileName, height=X, width=Y, ray=1, dpi=300 PyMOL will resample in that case. You always get a ray traced file from that command. If you do: ray 300, 300 png fileName.ong, height=1000, width=1000 You get a 1000,1000 non-ray traced image. -- J On Thu, Jan 21, 2010 at 11:32 AM, Tsjerk Wassenaar <ts...@gm...> wrote: > Hi, > > So what happens if you try it after ray-tracing? > > T. > > On Thu, Jan 21, 2010 at 5:17 PM, David Hall <li...@co...> wrote: >> On Thu, Jan 21, 2010 at 9:46 AM, Tsjerk Wassenaar <ts...@gm...> wrote: >>> >>> Errm, that only makes sense if the viewport itself is resampled >>> somehow when you don't do raytracing, but I don't think it is. >> >> I'm pretty sure it is resampled when you specify a width or height. All >> this below is with 1.2r1 incentive executable, but I'm pretty sure this also >> occurs on my trunk builds as well. Maybe this is some new behavior? >> >> I do: >> viewport 600,400 >> png out.png, 800,800 >> >> The viewport now looks the way it does if I did ray 800,800 (except not ray >> traced) and I get an 800x800 picture. >> >> Another example: >> png out.png, 10000,10000 >> Scene-Warning: Maximum OpenGL viewport dimension exceeded. ScenePNG: wrote >> 8192x8192 pixel image to file "out.png". >> >> PyMol seems to be saying to me, "I'm sampling an OpenGL viewport with the >> dimensions you specified to create this png" >> >> -David >> > > > > -- > Tsjerk A. Wassenaar, Ph.D. > > Computational Chemist > Medicinal Chemist > Neuropharmacologist > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > PyMOL-users mailing list (PyM...@li...) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/pym...@li... > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) Jas...@sc... (o) +1 (603) 374-7120 |