Wisp For Maya
Bringing real-time ray-tracing to the Maya viewport using the Wisp real-time ray-tracing library.
Table of contents
- Wisp For Maya
- Table of contents
- Plug-in development
- Users Download latest release from the releases page.
- download or clone repository.
- make sure you have CMake 3.14 or higher, Visual Studio 2019, and Windows SDK 10.0.17763.0 or newer installed
- create an environment variable called
MAYA_SDK_DIR. This environment variable should point to your
- Run install.bat , when asked to update submodules choose yes.
- Build generated solution, preferably with visual studio.
cmake --buildalso works
- follow instruction in README file included in the download.
- copy wisp-template.mod to:
MAYA_MODULE_PATHis not set, any of the following directories
<user’s directory>/My Documents/maya/<version>/modules
<user’s directory>/My Documents/maya/modules
C:/Program Files/Common Files/Autodesk Shared/Modules/maya/<version>
C:/Program Files/Common Files/Autodesk Shared/Modules/maya
- the specified path
- rename wisp-template.mod to wisp.mod
- open wisp.mod and edit line 1: to be equal to the location of the repository.
- copy wisp-template.mod to:
3. Load plug-in
Open Maya and open the plug-in manager. Load the plug-in. Alternatively, the MEL
loadPlugin command can be used. If these two options fail, restart Autodesk Maya. The plug-in should show up now.
The instructions below assume that the Visual Studio Debugger is used for plug-in development. If you use any other debugger, the guide below does not apply to you.
Please check your debugger documentation to find out how to attach to a running process.
Right-click on the project and open the properties.
Select the Remote Windows Debugger
Go to the debugging settings. By default, Visual Studio uses the Local Windows Debugger, change this into Remote Windows Debugger.
Windows Remote Debugger settings
After selecting the Remote Windows Debugger, new settings will appear. There are two settings that need to be changed:
Remote command The remote command is the command that run once the Remote Windows Debugger is launched. Set this to the location of
maya.exe. The location of the executable depends on your installation settings, but by default it is located here:
Please note that the backslashes (
\) are required. Using forward slashes (
/) will cause the Windows Remote Debugger to fail to attach to the Maya process.
Attach If you were to launch the Remote Windows Debugger right now, a new instance of Maya will be launched. This is not something you want when debugging an application, so change this setting to
Select the Windows Remote Debugger
To make it easy to launch the Windows Remote Debugger, click the arrow next to Local Windows Debugger and select the Remote Windows Debugger. Now, every time that button is clicked (shortcut:
F5), the Remote Windows Debugger is used instead of the Local Windows Debugger.
Thanks a lot, Nick Cullen, for the step-by-step instructions on how to get the Remote Windows Debugger to work with Autodesk Maya 2018.
- Crash when using big models. memory limitation.
- Crash when using lots of objects, memory limitation.
- Only supported PBR shader: Arnold Standard Surface Shader.
- Outline not rendered properly in some cases, especially when dealing with small scales.
- Nurbs not supported
- Animations not supported / not updating model
- Deleting the result of a boolean operation introduces ghost models
- Unloading the plug-in may crash Maya. See issues page for more detail