It may be worth trying pymol 1.4 (instead of 1.5) - although this shouldn't make a difference, it might provide some more information (you also mentioned that you've got a large scene - depending on composition 1.4 may use less memory than 1.5).
You may also want to try using a pml script vs python (start pymol with "-q -c your_raytrace_script.pml" arguments) and see if that helps, or at least breaks in different ways. Pete João Rodrigues wrote: > Hi Jason, > > I've tried a lot of stuff, thus the renderer=2.. (i installed povray and > tried to use it). With the default option the result is the same. > > cmd.png(default_name+'.png', width, height, dpi, ray=0) > > Doing what you wrote still causes the renderer to kick in.. I'm a bit out of > ideas.. > > Cheers, > > João [...] Rodrigues > http://nmr.chem.uu.nl/~joao > > > > No dia 17 de Abril de 2012 22:33, Jason Vertrees > <jason.vertr...@schrodinger.com<mailto:jason.vertr...@schrodinger.com>> > escreveu: > João, > > I'm not sure why this is giving you problems. Why do you have > renderer=2? Why not the default? Are you counting primitives? If so, I > suggest: > > cmd.set("ray_default_renderer", 2) > > # snapshot > > cmd.png(myFile, width=w, height=h, dpi=d, ray=0) > > # this will ray trace > > cmd.png(myFile, width=w, height=h, dpi=d, ray=1) > > Cheers, > > -- Jason > > > On Tue, Apr 17, 2012 at 1:21 PM, João Rodrigues > <anar...@gmail.com<mailto:anar...@gmail.com>> wrote: >> Same result Jason, i also tried =false... >> >> No dia 17 de Abr de 2012 20:45, "Jason Vertrees" >> <jason.vertr...@schrodinger.com<mailto:jason.vertr...@schrodinger.com>> >> escreveu: >> >>> Hi João, >>> >>> What about >>> >>> cmd.png(default_name+'.png', dpi=300, ray=0) >>> >>> Cheers, >>> >>> -- Jason >>> >>> >>> On Tue, Apr 17, 2012 at 11:18 AM, João Rodrigues >>> <anar...@gmail.com<mailto:anar...@gmail.com>> >>> wrote: >>>> Hello all, >>>> >>>> I'm using Pymol v1.5 (from fink, so open source version) to trace large >>>> scene that I have. To that end, I'm avoiding having PyMOL open and I >>>> wrote a >>>> small python script to do the rendering for me. All goes well, except >>>> this >>>> last part (don't mind the obvious variable names): >>>> >>>>> cmd.ray(width, height, renderer=2) >>>>> cmd.png(default_name+'.png', dpi=300, ray=False) >>>> >>>> This actually renders my scene twice. I've tried cmd.do and it does the >>>> same.. am I missing something or is this not supposed to happen? >>>> >>>> Thanks and cheers, >>>> >>>> João [...] Rodrigues >>>> http://nmr.chem.uu.nl/~joao >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Better than sec? Nothing is better than sec when it comes to >>>> monitoring Big Data applications. Try Boundary one-second >>>> resolution app monitoring today. Free. >>>> http://p.sf.net/sfu/Boundary-dev2dev >>>> _______________________________________________ >>>> PyMOL-users mailing list >>>> (PyMOL-users@lists.sourceforge.net<mailto: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 >>> >>> >>> -- >>> Jason Vertrees, PhD >>> PyMOL Product Manager >>> Schrödinger, LLC >>> >>> (e) jason.vertr...@schrodinger.com<mailto:jason.vertr...@schrodinger.com> >>> (o) +1 (603) 374-7120<tel:%2B1%20%28603%29%20374-7120> > > > > -- > Jason Vertrees, PhD > PyMOL Product Manager > Schrödinger, LLC > > (e) jason.vertr...@schrodinger.com<mailto:jason.vertr...@schrodinger.com> > (o) +1 (603) 374-7120<tel:%2B1%20%28603%29%20374-7120> > ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ 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