Hello,
I'm attempting to update our render farm to work with Maya 2011 SP1 and I'm having a few issues.
The version of Mental Ray standalone that seems to be indicated by Maya in the output window when starting Maya is Mental Ray 3.8.1.33.
I've successfully installed this version on both 32 bit Windows 7 and 64 bit Windows 7 nodes, but I've got a few errors happening when I try to run ray.exe.
Here's a list of all my shaders. I have them on our network in separate locations for the 32 and 64 bit versions with a separate rayrc for each flavor
base.dll
base.mi
contour.dll
contour.mi
paint.dll
paint.mi
physics.dll
physics.mi
production.dll
production.mi
subsurface.dll
subsurface.mi
architectural.dll
architectural.mi
mayabase.dll
mayabase.mi
mayahair.dll
mayahair.mi
surfaceSampler.dll
surfaceSampler.mi
AdskShaderSDK.dll
MayaShaders.dll
MayaShaders.mi
AdskShaderSDK.mi
AdskShaderSDKWrappers.mi
Here's my rayrc:
registry "{MAYA_DIR}" value "\\leviticus\Shaders\maya2011pc\32bitShaders" end registry
registry "{_MI_REG_INCLUDE}" value "{MAYA_DIR}" end registry
registry "{_MI_REG_LIBRARY}" value "{MAYA_DIR}" end registry
registry "{DSO}" value "dll" end registry
link "base.{DSO}"
$include "base.mi"
link "contour.{DSO}"
$include "contour.mi"
link "paint.{DSO}"
$include "paint.mi"
link "physics.{DSO}"
$include "physics.mi"
link "production.{DSO}"
$include "production.mi"
link "subsurface.{DSO}"
$include "subsurface.mi"
link "architectural.{DSO}"
$include "architectural.mi"
link "mayabase.{DSO}"
$include "mayabase.mi"
# link "mayahair.{DSO}"
# $include "mayahair.mi"
link "surfaceSampler.{DSO}"
$include "surfaceSampler.mi"
link "AdskShaderSDK.{DSO}"
link "MayaShaders.{DSO}"
$include "AdskShaderSDK.mi"
$include "AdskShaderSDKWrappers.mi"
This works except for an error I get regarding production.mi:
API 0.0 error 301030: \\leviticus\Shaders\maya2011pc\32bitShaders/production.
mi, line 31: mi file requires ray version 3.7.99 or older, this is 3.8.1.33
If I uncomment the mayahair shader and try to load it, I also receive this an error along with a popup windows saying I'm missing foundation.dll:
LINK 0.0 error 191007: cannot load \\leviticus\Shaders\maya2011pc\32bitShaders
/mayahair.dll, The specified module could not be found.
LINK 0.0 error 191012: Unable to load file: mayahair.{DSO}
API 0.0 warn 302004: \\leviticus\Shaders\maya2011pc\32bitShaders/mayahair.mi
, line 27: while defining declaration "mayahair": declaring nonexisting function
mayahair
If I look inside the production.mi file I find that it has a line for maxversion which seems to indicate a wrong version number.
max version "3.7.99"
This is rather odd since I pulled this file directly from the install directory of Maya 2011 SP1.
Any ideas on fixing the production.mi problem or the mayahair problem?
Thanks!
Bob


Reply With Quote