Adverti horiz upsell
Setting up Mental ray
Setting up Mental ray
Farsheed Ashouri, added 2007-10-25 15:31:51 UTC 78,605 views  Rating:
(1 rating)
Page 3 of 4

8- Open your maya.rayrc with Notepad. (your_maya_installation_folder\\mentalray). The matching set for our rayrc is this:
registry "{MAYABASE}" value "D:/Program Files/Alias/Maya7.0/mentalray" end registry

registry "{SYSTEM}" value "windows" end registry
registry "{DSO}" value "dll" end registry

$lookup "{MAYABASE}"
$lookup "{SYSTEM}"
$lookup "{DSO}"

registry "{MRMAYA_START}"
link "{MAYABASE}/lib/base.{DSO}"
link "{MAYABASE}/lib/physics.{DSO}"
link "{MAYABASE}/lib/mayabase.{DSO}"
link "{MAYABASE}/lib/contour.{DSO}"
link "{MAYABASE}/lib/subsurface.{DSO}"
link "{MAYABASE}/lib/paint.{DSO}"
link "{MAYABASE}/lib/mi_openexr.{DSO}"
link "{MAYABASE}/lib/mayahair.{DSO}"
mi "{MAYABASE}/include/mayabase.mi"
mi "{MAYABASE}/include/base.mi"
mi "{MAYABASE}/include/physics.mi"
mi "{MAYABASE}/include/contour.mi"
mi "{MAYABASE}/include/subsurface.mi"
mi "{MAYABASE}/include/paint.mi"
mi "{MAYABASE}/include/mayahair.mi"
echo "mental ray for Maya - startup done"
end registry





registry "{PD_START}"
link "{MAYABASE}/lib/Dirtmap.{DSO}"
link "{MAYABASE}/lib/shaders_p.{DSO}"
mi "{MAYABASE}/include/Dirtmap.mi"
mi "{MAYABASE}/include/shaders_p.mi"
end registry




registry "{MRLIB_START}"
link "{MAYABASE}/lib/mrLibrary.{DSO}"
echo "mrLibrary startup"
end registry




registry "{AURA_START}"
mi "{MAYABASE}/include/mray_shaders.mi"
link "{MAYABASE}/lib/mray_shaders.{DSO}"
mi "{MAYABASE}/include/exr_shader.mi"
link "{MAYABASE}/lib/exr_shader.{DSO}"
echo "mental ray for Maya - Aura startup done"
end registry


$lookup "{MRLIB_START}"
$lookup "{MRMAYA_START}"
$lookup "{AURA_START}"
$lookup "{PD_START}"