CSB Home | Search | Table of Contents | General Information


Rayscript is a program which reads in parameter files for molscript and writes out instruction files for rayshade. Rayscript was written by Dan Peisach.

Click on the image below to view a larger version.

The above example was made by the following commands (warning - cpu intensive):

setup rayscript (or source /sgi/local/setup/rayscript.set)
cp /sgi/local/molscript/example/ras_view1_col.in .
cp /sgi/local/rayscript/examples/ras_view1_col.all .
rayscript < ras_view1_col.in > ras_view1_col.ray
rayshade -P -I$RAYINC -q -O ras_view1_col.rle ras_view1_col.all
convert ras_view1_col.rle ras_view1_col.gif

The *.in file is the same file used in molscript; the output of rayscript (*.ray) is called by the *.all file as additional input for rayshade; the output of rayshade defaults to Utah Raster Toolkit "RLE" format (*.rle) and can be converted to another format (here *.gif) using convert from ImageMagick.

Other *.all files for the rest of the molscript examples (gdp, gdp_col, gdp_stereo, ras_view1_ab, ras_view1_chain, ras_view1_col, ras_view3_sup) are in /sgi/local/rayscript/examples/. Inspect these files and change to suit your case.

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: Friday, 26-Mar-1999 16:20:34 EST by P. Fleming