-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
launcher.Maya-2023.env-aibf.sh
33 lines (24 loc) · 1.07 KB
/
launcher.Maya-2023.env-aibf.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Launcher for Maya
# With Arnold and Bifrost
echo "started $0"
echo "cwd=$PWD"
MAYA_VERSION=2023
MAYA_HOME="/c/Program Files/Autodesk/Maya$MAYA_VERSION"
export PYTHONPATH="$PWD/startup"
export MAYA_APP_DIR="$PWD/prefs"
export LXM_MAYA_ENV_DIR="$PWD/env-aibf"
export LXM_MAYA_PYTHON_LOGGING_DEBUG=1
export LXM_MAYA_ALWAYS_OVERRIDE_PREFS=1
# =============================================================================
# region PERFORMANCES IMPROVEMENTS
export MAYA_DISABLE_LOOKDEV_MATERIAL_VIEWER=1
# https://www.regnareb.com/pro/2015/06/viewport-2-0-and-performances/
export MAYA_DISABLE_CLIC_IPM=1 # disable cloud login utility on maya start
export MAYA_DISABLE_CIP=1 # disable cloud connections on maya start
export MAYA_DISABLE_CER=1 # disable Customer Error Reporting on maya shutdown
export MAYA_DISABLE_ADP=1 # disable analytic
# export MAYA_ENABLE_LEGACY_VIEWPORT=1 # enabling increases vp2.0 memory usage for scenes with smoothed openSubdiv meshes
# export MAYA_DISABLE_VP2_WHEN_POSSIBLE=1
# endregion
"$MAYA_HOME/bin/maya.exe"
# read -p "Press any key to continue... " -n1 -s