The mm2pov archive contains the following files:
mm2pov should compile 'out of the box' on just about anything, as it's completely standard C. To convert a MacroModel file, type
mm2pov [input file ] [output file]
The input file can be any Macromodel data file, although only the first structure will be converted for multi-structure files. The output file should be given the extension '.pov' (although this is not done automatically).Copy the .pov file into a directory containing the .inc files and run POV with
povray +i[filename]
This will create a file called [filename].tga which can then be converted to GIF or JPEG or whatever using your favourite image manipulation program.
The molecule will appear in the same orientation as in MacroModel. However, you have to be aware that by default MacroModel rotates the viewpoint, not the molecule. To rotate the molecule into the correct orientation, restart MacroModel, load your molecule, and rotate that molecule with the TRMol button. Do not rotate the global viewpoint. Save when the molecule is in an orientation you like.
For scenes with multiple molecules (such as receptor-ligand complexes), select all of the molecules separately with TRMol then rotate all of them together by selecting TRAll and a molecular handle.
You can change the smoothness of the VDW surface by editing the SMOOTH parameter in 'atoms.inc'. A value of 1.001 will give perfectly spherical atoms, while higher values will cause increased blending between adjacent atoms into a molecular envelope. Values of 1.1 to 2 are recommended.
You can change the size of the envelope by altering the VDW_FACTOR value in 'atoms.inc'. This changes the effective VDW radius of the atoms. A value of 0.5 or so gives a sort-of-ball-and-stick representation.
Other aspects of the scene can be changed by editing the various include files. The default viewing geometry is the camera along the positive Z axis, looking in the negative Z direction at the origin. The positive Y axis is towards the top of the screen, the positive X axis is towards the right of the screen (this is a the opposite geometry to the POV default, so be careful).
mm2pov was written by
Mark Mackey (mdm1004@cus.cam.ac.uk)