Shave And A Haircut APIs ------------------------ There are two APIs for use with Shave: a standalone API for building applications which process Shave archive files (such as those produced by the 'shaveRender -createDRAFile' command in Maya), and a plugin API for building Maya plugins which can access Shave's data from within Maya. Standalone API -------------- The standalone API consists of the following two header files, found in this directory: shaveEngine.h shaveSDKTYPES.h as well as the following dynamic library, also found in this directory: libShaveEngine.so Maya Plugin API --------------- The Maya plugin API consists of the following two header files, found in the same directory as Maya's own API header files (e.g. /usr/aw/maya7.0/include/maya): shaveAPI.h shaveItHair.h as well as the following dynamic library, found in Maya's 'lib' directory (e.g. /usr/aw/maya/7.0/lib): libShaveAPI.so The header files contain complete documentation on the plugin API. Samples ------- 'shaveAPITestCmd.cpp' is a sample Maya plugin using Shave's plugin API. 'shaveAPITestApp.cpp' is a sample application using Shave's standalone API. To build them, set your MAYA_LOCATION environment variable to point to the installation directory for the version of Maya you plan on using the plugin with, then do the following command: make Note that different versions of Maya require different versions of the compiler. The Makefile assumes that the compilers for the various versions of Maya are located as follows: Maya Version Compiler Path Red Hat Version ------------ ------------- --------------- 5.0/5.0.1 /opt/gcc322/bin/c++322 7.3 6.0 /opt/gcc332/bin/c++332 7.3 6.5 default 'c++' command 9.0 7.0 /opt/gcc334/bin/c++334 9.0 If your compiler versions are located in different directories, then you will have to modify the Makefile accordingly.