- Download the MSI installer for your Maya version (2018 or 2019) from the desired release
- Run the MSI installer
- Start Maya
- You should now see the new menu item "Serlio".
- Locate the
install
directory where you built the plugin, let's call itPLUGINDIR
- Locate the Maya.env file in your home, usually its in
<home directory>\Documents\maya\2019
- Edit Maya.env as follows:
:: replace <PLUGINDIR> with the actual path PATH=<PLUGINDIR>\plug-ins;%PATH% MAYA_PLUG_IN_PATH=<PLUGINDIR>\plug-ins MAYA_SCRIPT_PATH=<PLUGINDIR>\scripts
- Start maya
- Open the plugin manager: Windows -> Settings/Preferences -> Plug-in Manager
- Enable
serlio.mll
- The plugin should load and a new menu item
Serlio
should appear in Maya.
- Acquire the Serlio binaries, either:
- ... download the desired release
- ... or build them yourself, which will result in an
install
directory
- Either way, let's call the directory with the Serlio binaries
PLUGINDIR
- Locate the Maya.env file in your home, e.g.:
~/maya/2019/Maya.env
- Edit Maya.env as follows:
PLUGINDIR=<PLUGINDIR> # replace <PLUGINDIR> with the actual path MAYA_PLUG_IN_PATH=$PLUGINDIR/plug-ins MAYA_SCRIPT_PATH=$PLUGINDIR/scripts
- Start Maya (Note: you may want to start maya from a shell to see the serlio log output).
- Open the plugin manager: Windows -> Settings/Preferences -> Plug-in Manager
- Enable
libserlio.so
- The plugin should load and a new menu item
Serlio
should appear in Maya.
- Use CityEngine to export a Rule Package (RPK).
- In Maya, select a mesh and use the
Serlio
menu to assign the RPK. This will run the rules for each face in the mesh. - Use the Hypergraph to navigate to the "serlio" node where you can edit the rule parameters.