aboutsummaryrefslogtreecommitdiff
path: root/mayaPlug/README-samples.linux
diff options
context:
space:
mode:
authorBen Marsh <[email protected]>2019-10-22 09:07:59 -0400
committerBen Marsh <[email protected]>2019-10-22 09:07:59 -0400
commitbd0027e737c6512397f841c22786274ed74b927f (patch)
treef7ffbdb8f3741bb7f24635616cc189cba5cb865c /mayaPlug/README-samples.linux
downloadshave-and-a-haircut-bd0027e737c6512397f841c22786274ed74b927f.tar.xz
shave-and-a-haircut-bd0027e737c6512397f841c22786274ed74b927f.zip
Adding Shave-and-a-Haircut 9.6
Diffstat (limited to 'mayaPlug/README-samples.linux')
-rw-r--r--mayaPlug/README-samples.linux65
1 files changed, 65 insertions, 0 deletions
diff --git a/mayaPlug/README-samples.linux b/mayaPlug/README-samples.linux
new file mode 100644
index 0000000..5b743a3
--- /dev/null
+++ b/mayaPlug/README-samples.linux
@@ -0,0 +1,65 @@
+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.