Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  09 September 2005

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, 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.
  09 September 2005
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.
  09 September 2005
Thread automatically closed

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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:46 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.