PDA

View Full Version : Custom MR Maya Shader on Mentalray Standalone


flowbot
12-10-2009, 11:53 AM
Hi,

i need to render an animation with our renderfarm. After copying the dll and mi in the satellite folders and adding them to the rayrc file i get this:

MI 1.0 error 121001: C:/Program Files/Autodesk/mrsat3.7.1-maya2009/rayrc, line 21: syntax error
LINK 1.n error 191007: cannot load C:/Program Files/Autodesk/mrsat3.7.1-maya2009/lib/BoolTrace.dll, unknown error code 193, check Win32 manual
LINK 1.n error 191029: failed to link library on host Render_01
LINK 1.n error 191007: cannot load shaders_p.dll, 'didn't find that one'
LINK 1.n error 191029: failed to link library on host Render_01

I dont know why they say syntax error. I just copied these lines from my own
rayrc file:

link "{MAYABASE}/lib/BoolTrace.{DSO}"
mi "{MAYABASE}/include/BoolTrace.mi"

I copied the shader_p onto ONE server and then they started rendering. But i didn't get an image because they still cannot find the shader:

JOB 0.n progr: 1.3% rendered on Render_02:7109.5
PHEN 4.7 error 051011: shader "BoolTrace" not found

What did i do wrong :( Can someone please help me out?

Puppet|
12-10-2009, 12:40 PM
Please show your rayrc file.

flowbot
12-10-2009, 01:58 PM
It is working now... :) But i still get a Syntax Error on the last line..

Anyway.. it won't render the textures, the .map files cannot be opened. No such file or directory :-( Maybe you have seen the black/red rendering yourself that i now have in my render view...

#*****************************************************************************
# Copyright 1986-2002 by mental images GmbH & Co.KG, Fasanenstr. 81, D-10623
# Berlin, Germany. All rights reserved.
#*****************************************************************************
# Evaluated at startup time of the plug-in to fill the mental ray registry.
#*****************************************************************************/

registry "{MAYABASE}" value "C:/Program Files (x86)/Autodesk/mrsat3.7.1-maya2009" end registry

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

$lookup "{MAYABASE}"

registry "{_MI_REG_INCLUDE}" value "{MAYABASE}\include" end registry
registry "{_MI_REG_LIBRARY}" value "{MAYABASE}\lib" end registry

link "{MAYABASE}/lib/BoolTrace.{DSO}"
mi "{MAYABASE}/include/BoolTrace.mi"

CGTalk Moderation
12-10-2009, 01:58 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.