Setting Up Your Development Environment

This section contains the following topics:

Include Files Paths

Library Files Path

Additional SDKs

Microsoft Visual C++ Settings

Include Files Paths

• Main realtime shader API and SOFTIMAGE|XSI SDK: %XSI_HOME%\XSISDK\include

• XSI OpenGL Helper include: %XSI_HOME%\XSISDK\examples\realtimeshader\XSI_OGLHelper\include

XSI DirectX Helper include:
%XSI_HOME%\XSISDK\ examples\realtimeshader\directx\include

Library Files Path

All libraries are stored under %XSI_HOME%\XSISDK\lib\nt-x86.

Additional SDKs

You may need to install additional SDKs in order to compile some of the examples.

Microsoft DirectX
http://msdn.microsoft.com/library/default.asp?url=/nhp/default.asp?contentid=28000410

OpenGL SDK
http://www.oss.sgi.com/projects/ogl-sample/sdk.html

NVidia Cg
http://developer.nvidia.com/page/cg_main.html

Microsoft Visual C++ Settings

• Make sure your include and library paths are pointing in the right directories.

• The C runtime library should be Multithreaded DLL.

• Start Visual Studio from a SOFTIMAGE|XSI command prompt to ensure that all environment variables are set properly