INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

networkrender with menatal ray for maya 4.0

networkrender with menatal ray for maya 4.0

(OP)
I've just installed mental ray for maya. But the networkrenderfunktion isen't working yet! I've refered to all the installation tips given in the documentation. The ray service is installed and running, the hostlist is correctly placed in the root. But if i want to start a networkrender, i get the following errormessage :

mental ray: version 3.0.5, 03 Dec 2001
mental ray: compiled on: Windows NT 4.0, x86
mental ray: reading hosts file C:\\.rayhosts
mental ray: connecting host 192.168.222.17:7051
mental ray: connecting host 192.168.222.10:7051
mental ray: connecting host 192.168.222.89:7051
mental ray: started thread 0 on slave 1
mental ray: connected 192.168.222.17:7051 as host 1
MI   2.0  warn   122001: standard startup file ray3rc not found
LIB  1.n  error  291025: {MAYATOMR}/lib/mayabase.{DSO}: registry entry {MAYATOMR} not found
LIB  1.n  error  291025: {MAYATOMR}/lib/mayabase.{DSO}: registry entry {MAYATOMR} not found
LIB  1.n  error  291025: {MAYATOMR}/lib/mayabase.{DSO}: registry entry {MAYATOMR} not found
LIB  2.n  error  291025: {MAYATOMR}/lib/mayabase.{DSO}: registry entry {MAYATOMR} not found
LIB  2.n  error  291025: {MAYATOMR}/lib/mayabase.{DSO}: registry entry {MAYATOMR} not found
LIB  2.n  error  291025: {MAYATOMR}/lib/mayabase.{DSO}: registry entry {MAYATOMR} not found
LINK 1.n  error  191007: cannot load {MAYATOMR}/lib/mayabase.{DSO}, Das angegebene Modul wurde nicht gefunden.
LINK 1.n  error  191029: failed to link library on host gRobi
LINK 2.n  error  191007: cannot load {MAYATOMR}/lib/mayabase.{DSO}, Das angegebene Modul wurde nicht gefunden.
LINK 2.n  error  191029: failed to link library on host Render1


so, if anyone can help me....   I even couldn't find the ray3rc on the web anywhere, whats this file for?

plz excuse my english .....    greetz [gRobi ;)


colored text

RE: networkrender with menatal ray for maya 4.0

I think a portion of the render tool has to be installed on the client too. Its finding all your clients but it doesnt see the part of itself it is supposed to render to.

BEHOLD! As Steve Jobs introduces us the latest in desk-lamp technology! http://www.apple.com

RE: networkrender with menatal ray for maya 4.0

(OP)
mhhh,

Naturally, I have installed the ray software on both machines, client and server :) Thats why i cant understand whats going on! I have read the installation guide, there are 2 reasons given for networkrenderfailure: a used port or a not running renderservice... I have double, no tribblechecked them both , but i can't find the error.  So i decidet to search for the file named ray3rc , given in the errormessage:   MI   2.0  warn   122001: standard startup file ray3rc not found
but the problem is, i cant't find anything on the www pointing to this file. I think thats pretty unnormal! I think if i could get further informations according to that misterious ray3rc file i'll fix that problem ;)

greetz [gRobi ;)

RE: networkrender with menatal ray for maya 4.0

That file may be a temporary file the renderer uses to monitor itself. If something isnt set right, it may not write that file to the right place. Is the renderer set to start with the host or the first slave, it could be a matter of where its checking for that file. Also make sure you show hidden system files and unprotect protected files before you do a file search.

BEHOLD! As Steve Jobs introduces us the latest in desk-lamp technology! http://www.apple.com

RE: networkrender with menatal ray for maya 4.0

(OP)
good idea...

But I cant find a file named ray3rc anywhere on my workstation. I have tryed everything! Including searching while rendering, to enshure its no tmp file.  But there i a file named rayrc  ...  Its the configuration file. I found some informatin on the web accordin 2 this file. I copied it in every possible (ray) directory to enshure ray can find it. ;) I also renamed a copy to ray3rc copying it to all that directorys too. I know thats gaga, but i haven't any further ideas what to do :( I tought of any kind of version conflict, but that can't be, because i have installed the same 3.05 on every machine. If u have any further ideas what to try or to do, i would be glad to hear them :)


greetz [gRobi ;)

RE: networkrender with menatal ray for maya 4.0

I have no files named ray3rc in my PC, too...
How can I do?

Please, answer.
It's essentials, I suppose.

RE: networkrender with menatal ray for maya 4.0

(OP)
Hi


I haven't found a awnser yet, but i'll again start looking for that problem this week! I hade mutch to do, so i didn't worked on it. But im sure we'll do it! Do u have exactly the same problem??  

RE: networkrender with menatal ray for maya 4.0

Oh...
Hey, people!

I've resolved the problem:
I've copyed the file rayrc in the right directory, I've changed its name in ray3rc...
I've started Maya and I've made a rendering.

After that, I've close Maya and I've deleted ray3rc, so I've restarted Maya and...


It's all perfect!

Try and say me your results...

P.S. I'm courious: what's the function of ray3rc? I think it's only a tag file, where you can write the arguments to starts MR...

I don't know...


 byebye byebye byebye byebye byebye byebye byebye byebye

RE: networkrender with menatal ray for maya 4.0

I´ve the same problem. I´ve tried to copy and rename then deleted the ray3rc file as you said. Dosen´t work to me. Probably Idon´t know which is the right path to copy the ray3rc file. Could you tell us?.
Thanks in advise

RE: networkrender with menatal ray for maya 4.0

Hello!

If you look in the doc - there is a mention of the rayrc file in
C:\Program Files\mental images\mental ray\doc\manual\ray-6_3Environment_Variables.html

"Environment variables  can be set from a shell prompt with shell commands such as setenv (see the documentation of your shell) before mental ray,  ivray, or the application that mental ray is built into, is started from the same shell. Environment variables set after mental ray is started, or set from a different shell, have no effect. mental ray will work without any environment variables, except that the .rayrc startup script may not be found if MI_ROOT is undefined."

And later down:

"MI_ROOT
The directory that mental ray searches for configuration files such as rayrc."

OK?

So - if you open the rayrc file in some text editor:

*********************************************************
"#
# mental ray configuration file, read at startup time. Can be
# used for prelinking shader libraries, using statements like
#
#   registry "{shaderdir}" value "/somepath/lib" end registry
#   link "{shaderdir}/myshader.so"
#   $include "{shaderdir}/myshader.mi"
#
# See the manual. Link statements are ignored on slave hosts.
#

registry "{STANDALONE}"    value    "C:/Program Files/mental images/mental ray"    end registry
registry "{MAYATOMR}"    value    "{STANDALONE}"    end registry
registry "{SYSTEM}"        value    "windows"            end registry
registry "{DSO}"        value    "dll"                end registry

registry "{_MI_REG_INCLUDE}" value "{MAYATOMR}\include" end registry
registry "{_MI_REG_LIBRARY}" value "{MAYATOMR}\lib" end registry
link "{_MI_REG_LIBRARY}/aliaswave.{DSO}"
link "{_MI_REG_LIBRARY}/base.{DSO}"
link "{_MI_REG_LIBRARY}/physics.{DSO}"
link "{_MI_REG_LIBRARY}/contour.{DSO}"
link "{_MI_REG_LIBRARY}/3dsmax.{DSO}"

**********************************************************

Well, this is mine - and I have added linking to the 3dsmax.dll and so on also, to be able to use mental ray 3 with 3dsmax.

rayrc is a Unix-like name; very many configuration-files in Unix has names x-rc. When mental ray 3 starts, it'll look for ray3rc, ray2rc, and then rayrc. This way, if you have both mr3 *and* mr2 on the system, you can have different configs for them both - since mr2 will look for ray2rc, then rayrc - and NOT ray3rc..!

Softimage XSI 2.0 has also mr3, and it's rc is named ray3rc by default:

#*****************************************************************************
#
# RAYLIB Initialization file. This file is read at RAYLIB startup time before
# any mi stream is loaded in. It ensures mental ray is initialized correctly
# and can accept a subset of default shaders.
#
#*****************************************************************************
min version "2.0.21"
max version "3.0.99"

#*****************************************************************************
#
# Machine-specific initialization. Replace the following with the correct
# installation path and the correct library extension name.
#
#*****************************************************************************

registry "{XSI_HOME}"
    value "{$XSI_HOME}"
end registry
$lookup "{XSI_HOME}"

registry "{APP_HOME}"
    value "{XSI_HOME}/Application"
end registry
$lookup "{APP_HOME}"

registry "{PHENOLIB_HOME}"
    value "{XSI_HOME}/Application"
end registry
$lookup "{PHENOLIB_HOME}"

registry "{EXT}"
    value "{$XSI_EXT}"
end registry
$lookup "{EXT}"

#---- Include the registry entries.
registry "{CPU}"
    value "{$XSI_CPU}"
    # value "irix6-n32"
    # value "irix6-64"
    # value "irix5-32"
    # value "nt-x86"
    # value "nt-alpha"
    # value "aix4"
    # value "sppux5"
    # value "hpux11"
    # value "decunix4"
    # value "sunos5"
    # value "hpux9"
    # value "linux-x86"
    # value "linux-alpha"
end registry
$lookup "{CPU}"

registry "{LIBS}"
    value "{$XSI_BINDIR}/{CPU}"
end registry
$lookup "{LIBS}"

registry "{PHENOLIB_INITIALIZE}"
    mi "{PHENOLIB_HOME}/phenolib/registry.mi"
end registry
$lookup "{PHENOLIB_INITIALIZE}"

################ load Factory shader plugins
registry "{SHADER_PLUGIN_HOME}"
    value "{XSI_HOME}"
end registry
$lookup "{SHADER_PLUGIN_HOME}"
registry "{LOAD_FACTORY_PLUGINS}"
    echo "Loading Factory shader plugins"
    mi "{XSI_HOME}/Addons/shader_plugins.mi"
end registry
$lookup "{LOAD_FACTORY_PLUGINS}"

################ load User shader plugins
registry "{SHADER_PLUGIN_HOME}"
    value "{$XSI_USER_SHADERPLUGINS}"
end registry
$lookup "{SHADER_PLUGIN_HOME}"
registry "{LOAD_USER_PLUGINS}"
    echo "Loading User shader plugins"
    mi "{$XSI_USER_SHADERPLUGINS}/Addons/shader_plugins.mi"
end registry
$lookup "{LOAD_USER_PLUGINS}"

################ load Workgroup shader plugins
registry "{SHADER_PLUGIN_HOME}"
    value "{$XSI_WORKGROUP_SHADERPLUGINS}"
end registry
$lookup "{SHADER_PLUGIN_HOME}"
registry "{LOAD_WORKGROUP_PLUGINS}"
    echo "Loading Workgroup shader plugins"
    mi "{$XSI_WORKGROUP_SHADERPLUGINS}/Addons/shader_plugins.mi"
end registry
$lookup "{LOAD_WORKGROUP_PLUGINS}"

*********************************************************

So. rayrc is really important; without it mr wont find it's dll's (dso's on X-systems).

Clokkevi.

RE: networkrender with menatal ray for maya 4.0

Hi grobi,
just found this threat.
Did you find out what the problem was. I've got the same message, even with MI_ROOT defined.

thank you for your answer

RE: networkrender with menatal ray for maya 4.0

(OP)
Hi, Sorry for my late awnser.
I have killt my renderproblem by writing my own liddl renderer. Its only a small programm that is totally cut to my needs. 6 slaves. so, if i can help someone out.. dont by shy to ask ;]

gRobi@Brummkreisel.org

but dont expect 2 much. its really a small progie ;]  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close