SDPSL is a project for working with RenderMan Shading Language files in various forms.  It contains:

libsdpsl: a library for extracting information about a RenderMan shader from its source code,
and reading/writing XML "metadata" files that can contain additional high-level information
about a shader (for better integration with modelling applications).

sl2xml: an executable that converts (preprocessed) RenderMan source code into XML metadata on stdout

Note that SDPSL  expects * pre-processed * input (i.e. no comments, etc.) so you should pipe SL source 
through cpp, gcc, or an equivalent before using it with libsdpsl or sl2xml.  A typical invocation might
 look something like:

$ gcc -E -P -x c test.sl | sl2xml

Three libraries are required to build / run SDPSL:

* glib, a "C" portability library available from www.gtk.org
* SDPTYPES, a C++ utility library from www.k-3d.com
* SDPXML, a C++ XML parser library from www.k-3d.com

Once you have obtained and installed glib, you need to build SDPTYPES:

$ tar xvzf sdptypes*
$ cd sdptypes*
$ ./configure
$ make check
$ su
# make install
# exit

Then, build SDPXML:

$ tar xvzf sdpxml*
$ cd sdpxml*
$ ./configure
$ make check
$ su
# make install
# exit

Finally, build and test SDPSL:

$ tar xvzf sdpsl*
$ cd ../sdpsl*
$ ./configure
$ make check
$ su
# make install
# exit 

Problems, questions, and suggestions should be directed to sdplibs-list@k-3d.com

Enjoy!
Timothy M. Shead

