Hi Guys,

For those interested, I've made a macro for Povray which allows to transform the Pymol povray output back to model space, or to transform povray models to Pymols camera space.

After #including "pymolmacro.inc" call PYMOL_VIEW() with the eighteen floats from cmd.get_view() to set the transformations. Then Pymol models can be transformed by calling

transform { FROM_PYMOL_VIEW }

and povray models can be transformed with

transform { TO_PYMOL_VIEW }

An example of it, adding a povray density map to the pymol scene can be found at

http://md.chem.rug.nl/~tsjerk/Gallery/density.jpg

I hope to find some time to give more explanation on how I did that. Maybe something for a Wiki ;)

Have fun,

Tsjerk

Reply via email to