This addon shows various self-installing custom tools.
AddSmoothEdgeLoopTool
This sample is the Model > Modify > Poly. Mesh > Add Smooth Edge Loop Tool that is shipped with Softimage.
SpotLightCreateTool
This sample demonstrates how to create a custom spotlight creation tool.
PickTestTool
This sample demonstrates how to use picking to identify objects under the cursor.
SnapTestTool
This sample demonstrates how to use snapping to identify objects under the cursor.
AnnotationTool
This sample demonstrates how to use a custom tool to pick and launch URL strings from an annotation object.
BoxTransformTool
This sample demonstrates how to create a complex manipulator-style tool that uses
highlighting, shortcut keys, context menus and on-screen controls.
Location | |
AddSmoothEdgeLoopTool Files |
AddSmoothEdgeLoopTool.cpp
|
SpotLightCreateTool Files |
SpotLightCreateTool.cpp
|
PickTestTool Files |
PickTestTool.cpp
|
SnapTestTool Files |
SnapTestTool.cpp
|
AnnotationTool Files |
AnnotationTool.cpp
|
BoxTransformTool Files |
BoxTransformTool.cpp
Constants.h
BBox.h
BBox.cpp
BoxTransformToolDelegate.h
ToolHandle.h
ToolHandle.cpp
TranslateToolHandle.h
TranslateToolHandle.cpp
ScaleToolHandle.h
ScaleToolHandle.cpp
RotateToolHandle.h
RotateToolHandle.cpp
RotateStickToolHandle.h
RotateStickToolHandle.cpp
RotateWheelToolHandle.h
RotateWheelToolHandle.cpp
DimensionToolHandle.h
DimensionToolHandle.cpp
ButtonToolHandle.h
ButtonToolHandle.cpp
ToolButton.h
ToolButton.cpp
|
To install the example
Connect to the Softimage SDK workgroup at %XSISDK_ROOT%\examples\workgroup.
To view the help page for an example
To run the AddSmoothEdgeLoopTool example
To run the SpotLightCreateTool example
To run the PickTestTool example
To run the SnapTestTool example
To run the AnnotationTool example
To run the BoxTransformTool example
Use the following instructions to build the CustomTool samples.
To build the AddSmoothEdgeLoopTool example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from a 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 AddEdgeLoopTool project from the command line, type:
devenv cppsrc_addsmoothedgelooptool\AddSmoothEdgeLoopTool.vcproj
To build the SpotLightCreateTool example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from a 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 SpotLightCreateTool project from the command line, type:
devenv cppsrc_spotlightcreatetool\SpotLightCreateTool.vcproj
To build the PickTestTool example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from a 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 PickTestTool project from the command line, type:
devenv cppsrc_picktesttool\PickTestTool.vcproj
To build the SnapTestTool example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from a 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 SnapTestTool project from the command line, type:
devenv cppsrc_snaptesttool\SnapTestTool.vcproj
To build the AnnotationTool example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from a 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 AnnotationTool project from the command line, type:
devenv cppsrc_annotationtool\AnnotationTool.vcproj
To build the BoxTransformTool example on Windows
Open a Softimage command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from a 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 BoxTransformTool project from the command line, type:
devenv cppsrc_boxtransformtool\BoxTransformTool.vcproj
To build the AddSmoothEdgeLoopTool example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_addsmoothedgelooptool
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
To build the SpotLightCreateTool example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_spotlightcreatetool
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
To build the PickTestTool example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_picktesttool
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
To build the SnapTestTool example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_snaptesttool
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
To build the AnnotationTool example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_annotationtool
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
To build the BoxTransformTool example on Linux
In a shell (tcsh) window, type:
source $XSI_HOME/.xsi_<xsi_version>
Change directories to
cppsrc_boxtransformtool
To remove all intermediate files before building the example, run this command:
gmake clean
To compile the example, run this command:
gmake
This example uses the following keywords:
ToolContext C++