Autodesk Mudbox 2013 SDK Documentation > About the Mudbox SDK >

# Samples

The Mudbox SDK Comes with the following plug-ins in the examples folder:

- /FileEventHandler - This plug-in demonstrates how to catch and respond to file events. For more information see the topic File Event Handling.
- /FixedFunctionMaterial - Demonstrates a simple material plug-in example. For more information see the topic Materials.
- /ToonMaterial - Demonstrates a complex material plug-in. For more information see the topic Materials.
- /MenuMessenger - Demonstrates how to add items to menus that call functions in a plug-in. Also demonstrates displaying messages in the Mudbox head’s up display (HUD).
- /MeshDisplace - This is the source code for the Mudbox feature "Sculpt Model Using Displacement Map". This plug-in demonstrates how to make a new node with its own UI, and how to create and access those nodes from inside Mudbox. It is also an example of how to access and change the point positions on a mesh. For more information see the topic Nodes and Mesh and Topology.
- /STLExport - Demonstrates a simple mesh exporter plug-in. For more information see the topic Mesh Importer and Exporter Plug-ins.
- /PLYImport - Demonstrates how to write both a mesh importer and mesh exporter plug-in. For more information see the topic Mesh Importer and Exporter Plug-ins.
- /SampleViewportFilter - Demonstrates how to add a new viewport filter. For more information see the topic Viewport Filters.
- /TextureSwapperViewportFilter - Demonstrates how to view secondary textures of Mudbox. For more information see the topic Viewport Filters.

Compiling the Plug-ins for Windows

- Open the .vcproj file
- Set the active configuration to "Release"
- In the solution properties, under Linker > Output File, specify the location of the plug-ins sub-folder of the Mudbox installation directory (typically C:\Program Files\Autodesk\Mudbox2009\plug-ins)
- Build the solution. The compiled plug-in will have the name $ProjectName$.mp.

Compiling the Plug-ins for Mac OS X

- Open the .xcodeproj file
- Set the active configuration to "Release"
- Build the project
- You will find the compiled plug-in in ./build/Release (relative to the project folder) with the extension .dylib.
- Copy the .dylib file to the folder: $HOME/Library/Application Support/Autodesk/Mudbox 2009/Plugins. If the folder does not exist, create it.
- To make the the plug-in available to all users copy it to /Library/Application Support/Autodesk/Mudbox 2009/Plugins instead.