This C++ example demonstrates how to write your own exporter for cache files. The example uses the ICEAttribute and CICEAttributeDataArray classes.
Files |
myCache.cpp
myCache.vcproj
GNUmakefile
|
Softimage SDK includes a compiled version of myCache. If you want to modify the code, you can rebuild the example by following these instructions.
To build the example on Windows
Open an Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from an Softimage command prompt ensures that environment variables such as XSISDK_ROOT are set (otherwise you'll get build and link errors).
Tip To load the myCache project from the command line, type:
devenv myCache\myCache.vcproj
To build the example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_myCache
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
To run the exporter example
This example uses the following keywords:
import, export, ascii, cache, xml, example, c++