|
From: Schubert, C. <Car...@3d...> - 2002-10-23 20:59:24
|
Don't know about MACs but this works on PCs and SGIs:
-------------------------------------------------
Exporting Povray scripts from PyMol
The choice of the renderer is defined by the variable
"ray_default_renderer". A value of 0 points to the internal renderer, a
value of 1 creates a povray file called "tmp_pymol.pov" in the current
directory.
To change the setting use:
cmd.set('ray_default_renderer',1)
Alternatively use this script:
util.ray_shadows('heavy')
(header,data) = cmd.get_povray()
file=open('povray.pov','w')
file.write(header)
file.write(data)
file.close()
Thanks for the original contributors.
Happy PyMOLing
Carsten
> -----Original Message-----
> From: Craig Smith [mailto:boi...@ma...]
> Sent: Wednesday, October 23, 2002 16:48
> To: pym...@li...
> Subject: [PyMOL] pymol and povray
>
>
> I have a apple G4 powerbook using OS10.2. Is it possible to
> write out
> a pov-ray type script file that could be directly input into pov-ray?
>
>
> Craig L. Smith, Ph. D.
> Molecular Microbiology
> Washington University School of Medicine
> 660 South Euclid Box 8230
> Voice: (314) 362-9054
> Fax: (314) 362-1232
> e-mail: sm...@bo...
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
>
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>
|