|
From: Robert C. <rl...@k2...> - 2002-10-24 13:42:52
|
* Schubert, Carsten <Car...@3d...> [2002-10-23 16:59] wrote:
> 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()
>
>
I definitely prefer the second idea, because I like to tweek the
povray.pov file to get the best output.
Cheers,
Robert
--
Robert L. Campbell, Ph.D. http://biophysics.med.jhmi.edu/rlc
rl...@k2... phone: 410-614-6313
Research Specialist/X-ray Facility Manager
HHMI/Dept. of Biophysics & Biophysical Chem., The Johns Hopkins University
PGP Fingerprint: 9B49 3D3F A489 05DC B35C 8E33 F238 A8F5 F635 C0E2
|