¶Installation
¶Maya
Adonis is distributed for Maya as a standard module (.mod). To install the module, follow these steps:
- Download the Adonis package from Inbibo’s website.
- Extract the contents into any folder of your choice.
- Add the path to that extracted folder to the
MAYA_MODULE_PATHenvironment variable (details below). - Launch Maya and load Adonis from Windows > Settings/Preferences > Plug-in Manager.
When Maya starts, it evaluates all directories listed in MAYA_MODULE_PATH to locate module files such as Adonis.mod. Therefore, the environment variable must include the folder containing that file.
There are two ways to configure MAYA_MODULE_PATH:
- Method 1: Set the value inside the
Maya.envconfiguration file - Method 2: Set the value as a system-wide or user-wide environment variable
- Adonis is distributed for multiple Maya versions. If you have multiple Maya versions installed, make sure to download the right Adonis build and configure the environment to point to the right Adonis version.
- Remember that multiple versions of Adonis can be installed, but only one can be loaded at a time.
¶Windows
Method 1: Configure Maya.env
- The default location of the
Maya.envfile isdrive:/Users/username/Documents/maya/%MAYA_VERSION%. - Add
MAYA_MODULE_PATH = drive:/path/to/Adonis/folderto the file. - Adonis will be loaded the next time you launch Maya.
If you need to configure other modules, concatenate them separated by ";" characters.
Method 2: Configure System Environment
- Open the System Properties window which can be found by searching for environment variables in the Windows search bar.
- Click on Environment Variables and a new window will be displayed showing all the environment variables configured at the system level and for the current user.
- Click on New... button for the level that you prefer (system or user) and configure
MAYA_MODULE_PATHwith the path containing theAdonis.modfile. - Adonis will be loaded the next time you launch Maya.
If you need to configure other modules, concatenate them separated by ";" characters.
¶Linux
Method 1: Configure Maya.env
- The default location of the
Maya.envfile is~/maya/$MAYA_VERSION. - Add
MAYA_MODULE_PATH = /path/to/Adonis/folderto the file. - Adonis will be loaded the next time you launch Maya.
If you need to configure other modules, concatenate them separated by ":" characters.
Method 2: Configure System Environment
-
From the terminal, open your preferred text editor to modify the file
~/.bashrc. -
Add this command to export the environment variable:
export MAYA_MODULE_PATH="/path/to/Adonis/folder:${MAYA_MODULE_PATH}" -
Adonis will be loaded the next time you launch Maya.
If you need to configure other modules, concatenate them separated by ":" characters.
¶Houdini
Adonis is distributed for Houdini as a standard package (.json). To install the package, please do the following:
- Download the Adonis package from Inbibo’s website.
- Extract the contents into any folder of your choice.
- Add the path to that extracted folder to the
HOUDINI_PACKAGE_DIRandADN_INSTALL_PATHenvironment variables. - Launch Houdini and the Adonis package will be automatically loaded.
When Houdini starts up, it evaluates all paths pointed by the HOUDINI_PACKAGE_DIR environment variable to search for packages that are typically defined as JSON files. In order to allow Houdini to find Adonis, that environment variable has to include the path where the Adonis.json file is located.
The need to set ADN_INSTALL_PATH as well is to allow Houdini to complete the environment configuration using paths relative to the Adonis installation folder.
In the following sections we explain how to do this for Windows and Linux.
- Adonis is distributed for multiple Houdini versions. If you have multiple Houdini versions installed, make sure to download the right Adonis build and configure the environment to point to the right Adonis version.
- Remember that multiple versions of Adonis can be installed, but only one can be loaded at a time.
¶Windows
- Open the System Properties window which can be found by searching for environment variables in the Windows search bar.
- Click on Environment Variables and a new window will be displayed showing all the environment variables configured at the system level and for the current user.
- Click on New... button for the level that you prefer (system or user) and configure
HOUDINI_PACKAGE_DIRwith the path containing theAdonis.jsonfile. - Do the same for
ADN_INSTALL_PATH. - Adonis will be loaded the next time you launch Houdini.
- If you need to configure other packages for
HOUDINI_PACKAGE_DIR, concatenate them separated by ";" characters.- For
ADN_INSTALL_PATH, only a single installation path should be provided.
¶Linux
-
From the terminal, open your preferred text editor to modify the file
~/.bashrc. -
Add the command to export
HOUDINI_PACKAGE_DIRas follows:export HOUDINI_PACKAGE_DIR="/path/to/Adonis/folder:${HOUDINI_PACKAGE_DIR}" -
Add also the command to export
ADN_INSTALL_PATH:export ADN_INSTALL_PATH="/path/to/Adonis/folder" -
Adonis will be loaded the next time you launch Houdini.
- If you need to configure other packages for
HOUDINI_PACKAGE_DIR, concatenate them separated by ":" characters.- For
ADN_INSTALL_PATH, only a single installation path should be provided.
¶ML Dependencies
Some Adonis features require additional Python libraries to be installed. These dependencies are used for:
- Training, when running neural network training through the Training Script or the Neural Training Tool.
- Inference, when evaluating trained models on the GPU through AdnMLDeformer or AdnSmartTissue.
The ML dependencies are not installed by default and must be installed separately before using any of these features.
ML dependencies can be installed in the following ways:
- From within Maya or Houdini using Adonis > Utils > Install ML Dependencies.
- Through the Neural Training Tool. When starting a training session, the tool automatically checks whether the required dependencies are available and, if not, prompts the user to install them before training begins.
- Using the standalone installation script in
Adonis/python/adnml/install_dependencies(.batin Windows;.shin Linux).
The last method is particularly useful when running training through the Training Script outside of Maya or Houdini, or when preparing a machine for automated training workflows.
Installing the dependencies may take a few minutes.
Machine learning dependencies are installed inside the Adonis installation directory rather than system-wide. As a result, the system environment remains unchanged and no global Python packages are installed.