PDA

View Full Version : NETWORK RENDERING fails.


huyenvu
09-14-2005, 06:40 AM
i got one problem with rendering, so anyone can help me?
i use MayaNetRender for rendering in my company.
it works very well when i render with software but not with mentalRay
in CLIENT computer it reports like that:



""" mental ray for Maya 7.0
// mental ray for Maya: using startup file C:/Program Files/Alias/Maya7.0/mentalray/maya.rayrc
mental ray for Maya: setup
mental ray for Maya: initialize
mental ray: version 3.4.5.2, 06 July 2005
mental ray for Maya: using 1 license
mental ray for Maya: register extensions
// mental ray Node Factory: loaded
// parsing C:/Program Files/Alias/Maya7.0/mentalray/include/base.mi
// generating Maya nodes...
// parsing C:/Program Files/Alias/Maya7.0/mentalray/include/contour.mi
// generating Maya nodes...
// parsing C:/Program Files/Alias/Maya7.0/mentalray/include/paint.mi
// generating Maya nodes...
// parsing C:/Program Files/Alias/Maya7.0/mentalray/include/physics.mi
// generating Maya nodes...
// parsing C:/Program Files/Alias/Maya7.0/mentalray/include/subsurface.mi
// generating Maya nodes...
mental ray for Maya: successfully registered
File read in 0 seconds.
Result: G:/render/molecule/scenes/ani_02.mb
Error: Invalid flag: -ren
mental ray: wallclock 0:00:00.90 total
mental ray: allocated 1 MB, max resident 2 MB """


i don't know why? Error: Invalid flag: -ren
thanks much for all helps.

djx
09-14-2005, 09:34 AM
Im not familiar with MayaNetRender, but is there a way to see what the actual command is that it uses to launch the render? For a mentalray render it would need to have either '-r mr' or '-r file' in the command somewhere. '-ren' is indeed an invalid flag.

What may work for you is to do the following (Im assuming windows now):

Go to C:\Program Files\Alias\Maya7.0\bin\rendererDesc and delete defaultRenderer.xml
Then copy fileRenderer.xml and rename the copy to defaultRenderer.xml

Now if you do a render and dont say whether it is software or mray, then the renderer will use whatever renderer is specified in the maya scene file.

There is a chance that MayaNetRender will still fail because now other renderer-specific options will be considered invalid (eg. '-n 4' is used to set the number of processors for sw, but is invalid for mr). But if your render launcher is able to set a very simple command, all these flags can be set in the scene file instead.

CGTalk Moderation
09-14-2005, 09:34 AM
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.