The case of the missing PyMel debug log file
In several recent cases, I had to figure out why MtoA wouldn’t load on a render farm. The root cause turned out to be the PyMel debug log: ~/pymel.log If PyMel cannot find or open ~/pymel.log, that...
View ArticleThe case of the “cannot remove alias” RuntimeError
In this case, mayabatch reported some runtime errors when loading a certain scene: # Traceback (most recent call last): # File "C:\solidangle\mtoadeploy\2015\scripts\mtoa\callbacks.py", line 415, in...
View ArticleThe case of the disappearing particles
In this case, nParticles (render type = point) weren’t visible behind a refractive plane: For the points render type, you get an Arnold points shape (with mode “disk”), so I exported an ASS file to see...
View Article[MtoA] Normal mapping with mayaBump2d
mayaBump2D has an RGB parameter for normal maps, and it’s named “normal_map”: C:\solidangle\mtoadeploy\2015\bin>kick -l ..\shaders -info mayaBump2D node: mayaBump2D type: shader output: RGBA...
View Article[MtoA] Flushing the texture cache from Python
MtoA provides an arnoldFlushCache command (and the Arnold > Flush Caches menu uses that command). You can call it from Python like this: import maya.cmds as cmds cmds.arnoldFlushCache(...
View Article[MtoA] mtoa missing from Plug-in Manager
If mtoa.mll is not listed in the Plug-in Manager, that means that Maya did not find the MtoA module file (mtoa.mod). And if you try to manually load mtoa.mll, you’ll get errors like this: // Error:...
View Article[MtoA] Switching between multiple versions of MtoA
If, like me, you need to switch between different versions of MtoA, here’s a recipe for setting that up. First, you have to install multiple versions. As you probably already know, the MtoA installer...
View ArticleSetting up Arnold render nodes
I’ve seen several variations of this question recently. Usually there’s some confusion about “Arnold standalone” and what’s actually required on a render node. If you rendering scene files from Maya,...
View ArticleRemoving MtoA from Maya scenes
If you don’t use Arnold, but someone has saved your scene files with MtoA loaded, then you’ll get some errors and warnings when you open that scene without MtoA. // Error: line 0: The camera...
View Article[mtoa] Using dirmap to update paths
How can you update the paths used to load textures, standins, or volumes? Use dirmap. You can use dirmap to update the paths for the following nodes: aiImage (Image Name) aiStandin (Path) aiVolume...
View Article