CSB Home | Search | Table of Contents | General Information

Povscript General Description

POVSCRIPT

Povscript is a program which reads in parameter files for molscript and writes out instruction files for POV-ray. Online documentation is available, and recommended as more up-to-date.

Click on the image below to view a larger version.


The above is a colored model of the protein "ras" created by povscript. It was made by the following steps.

First, setup variables and paths:

setup povray (or source /srv/local/setup/povray.set)
setup povscript (or source /srv/local/setup/povscript.set) 

Now make the molecule-specific povray input file:
cp /srv/local/povscript/examples/ras_shiny.in .
cp /srv/local/povscript/examples/ras.pdb .
molscript -in ras_shiny.in -povray -out ras_shiny.pov

Now use Povray to generate the image:
povray +A +V +Iras_shiny.pov +FN16 +W600 +H600 +Oras_shiny.png

Type povray without any arguments to get a long list of command options, or see its local documentation.

View the image:
display ras_shiny.png &


Dan Peisach has written a short primer on POV-ray files.

More example files may be found in /srv/local/povscript/examples/


CSB Home | Search | Table of Contents | General Information
Center for Structural Biology (www.csb.yale.edu), Yale University (www.yale.edu)
Contact: webadmin(at)mail^csb^yale^edu
Last Modified: Tuesday, 06-Feb-2007 16:50:39 EST by P. Fleming