Community
Maya Shading, Lighting and Rendering
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya materials topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command line render not the same quality as batch render

7 REPLIES 7
Reply
Message 1 of 8
Anonymous
776 Views, 7 Replies

Command line render not the same quality as batch render

I have a simple scene with a sphere having a mia_material_x material.

When I render it interactively in Maya, or using Batch rendering from Maya, the quality is what I expect, ie with reflections:

TestRenderCmdLine.0001.png

 

When I render it via the command line on Mac OS using <path_to_mayabin>/Render  -r mr -proj <project_folder> <path_to_scene>/TestRenderCmdLine.ma, I miss all the material reflection:

TestRenderCmdLine.0001.png

 

Any idea why ?

 

Thanks !

7 REPLIES 7
Message 2 of 8
Anonymous
in reply to: Anonymous

i think first one is mental ray render and second is maya software render. so you for got the proper setup of render globle. thats it .

Message 3 of 8
Anonymous
in reply to: Anonymous

Trying to force the renderer to MR is the same, I however found out that running the script with another user was working better. Seems to be linked to the environment. Thanks for your answer anyway.
Message 4 of 8
dunetune
in reply to: Anonymous

I got exactly the same problem.

using the commandline (osx, maya2013/2014) reflections are not rendered.

 

how exactly did you solve it ??

Message 5 of 8
Anonymous
in reply to: dunetune

Basically rendering via the Terminal gives me this issues because, I
believe, of wrong environment settings (even if I never could find the
right ones).
Rendering from a Cocoa App for example using NSTask makes it working fine.
I can provide the sample code if needed.
Message 6 of 8
dunetune
in reply to: Anonymous

I have to bring that issue up once more because I still haven't solved the problem.

even the autodesk support couldn't help me.

using another user account worked once and then it didn't work anymore …

after wasting a lot of time with this bs I bit the bullet and formatted my HD, made a clean install of 10.8.5 and reinstalled maya2014.

 

… and you know what? – nothing has changed. it's still the same behavior.

 


@Anonymous wrote:
Basically rendering via the Terminal gives me this issues because, I
believe, of wrong environment settings (even if I never could find the
right ones).


what do you mean with "environment settings"? the maya environment settings or the OSX system preferences?

Message 7 of 8
Anonymous
in reply to: dunetune

Not sure if you are a developper, but I wrote a little Cocoa application that's starting a render (using NSTask), and the result is then perfect.
Message 8 of 8
dunetune
in reply to: Anonymous


@Anonymous wrote:
Not sure if you are a developper, but I wrote a little Cocoa application that's starting a render (using NSTask), and the result is then perfect.

hey earthHobbit,

 

good news:

the problem is solved!!

the incorrect results given by commandline rendering are based on the language and region settings of OSX and a resultant confusion of DOT and COMMA …

it's a maya bug.

but after setting the system LANGUAGE to ENGLISH and the REGION to UNITED STATES everything works as it should 🙂

I don't know how many days and nights I've been struggling with this …

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators