Batch Rendering Problem...

I am working on a project. Maya won't batch render anything. There is no error message it just stops rendering after one frame. I am using Maya Unlimited 6.0 on a windows platform. Any suggestions as to what could be wrong? I have changed all the settings to no avail. It will render multiple frames in Software render mode.

Please advise.
Thanks!

Turn mr verbosity to detailed and post complete output that you get from mr.

2/22/2005
Maya®, Version 6.5, 200501140008
© Copyright 1997-2005 Alias Systems Corp.
All rights reserved.
mental ray for Maya 6.5
mental ray: version 3.4.1.5, 27 Dec 2004
File read in 0 seconds.
Result: C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1__1364.mb
Total Elapsed Time Since Start Of Maya (hh:mm:ss): 00:00:28
====================================
Resource Usage At Start Of Rendering
====================================
34596 Page faults
130.203 Mb Max resident size
129.875 Mb Peak total size(Estimated)
9.437 Mb Peak arena size
====================================
130.203 Mb Current
8.125 Mb MEL
0.125 Mb Keys
0.750 Mb NURBS AG
0.313 Mb Data Blocks
0.125 Mb Transforms
====================================
Automatic near/far clipping values: 22.1636, 24.5728.
Result: C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff
Starting Rendering C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff.
Constructing shading groups.

Rendering current frame.
Frame triangle count: 1574

====================================
Resource Usage At End Of Frame
====================================
6352 Page faults
141.270 Mb Max resident size
138.844 Mb Peak total size(Estimated)
20.558 Mb Peak arena size
====================================
139.488 Mb Current
8.125 Mb MEL
0.125 Mb Keys
0.750 Mb NURBS AG
5.473 Mb File Texture Mipmaps
3.333 Mb Render Cache
0.313 Mb Data Blocks
0.007 Mb Render Geometry Arena
0.125 Mb Transforms
====================================
Postprocessing rendering result.
Time For Tessellation (hh:mm:ss): 00:00:00
Time For Shadow Map (hh:mm:ss): 00:00:00
Time For Post Process (hh:mm:ss): 00:00:00
Time For Frame Render (hh:mm:ss): 00:00:10
Finished Rendering C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff.


====================================
Resource Usage At End Of Rendering
====================================
556 Page faults
141.621 Mb Max resident size
138.844 Mb Peak total size(Estimated)
18.243 Mb Peak arena size
====================================
140.117 Mb Current
8.125 Mb MEL
0.125 Mb Keys
0.750 Mb NURBS AG
5.473 Mb File Texture Mipmaps
3.333 Mb Render Cache
0.313 Mb Data Blocks
0.125 Mb Transforms
====================================
Total Time For Render (hh:mm:ss): 00:00:11
Total Elapsed Time For Maya (hh:mm:ss): 00:00:39
mental ray: wallclock 0:00:19.91 total
mental ray: allocated 1 MB, max resident 2 MB

setAttr mentalrayGlobals.exportVerbosity 6;
mayaSoftwareBatchRender;
// Result: saving temporary file C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1__1364.mb //
// Result: Rendering with mental ray... //
// Result: Percentage of rendering done: 0 (starting) //
// Result: Percentage of rendering done: 0 (doing frame 1) //
// Result: Percentage of rendering done: 3 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 6 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 9 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 12 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 15 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 18 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 21 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 25 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 28 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 31 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 34 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 37 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 40 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 43 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 46 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 50 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 53 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 56 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 59 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 62 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 65 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 68 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 71 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 75 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 78 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 81 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 84 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 87 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 90 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 93 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 96 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Percentage of rendering done: 100 (C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff) //
// Result: Rendering PostProcessing. //
// Result: Rendering Completed. See mayaRenderLog.txt for information. //
mayaSoftwareRenderDiagnostics;

Starting diagnostics...

Known Problems/Limitations

Warnings

- raytracing shadows are specified but the render globals' raytracing flag
  is not turned on.  Those raytracing shadows will not be computed.
- file7 is missing a file texture on disk.
- pCubeShape1 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- pCubeShape2 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape2 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape8 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape3 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape6 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape7 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape4 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- polySurfaceShape5 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.
- pasted\_\_polySurfaceShape2 has no shading group associated with it.  This
  means that it will not be rendered.  Please assign it to a shading group.

Speed/Memory Implications

- pointLightShape1 has raytrace shadows turned on.  Raytrace shadows
  can be expensive.  Doing depth map shadows may be more economical, and
  should be used unless transparent shadows are desired.
- pointLightShape2 has raytrace shadows turned on.  Raytrace shadows
  can be expensive.  Doing depth map shadows may be more economical, and
  should be used unless transparent shadows are desired.
- spotLightShape1 has raytrace shadows turned on.  Raytrace shadows
  can be expensive.  Doing depth map shadows may be more economical, and
  should be used unless transparent shadows are desired.
- it can be useful to run your scene through "maya -optimizeRender"
  before rendering.  This can help optimize the scene for rendering.

Diagnostic Completed...

Thats all I got. I don't know where else the verbose output would come from. Those are all the remarks my computer gave. Any help would be appreciated. Thanks a million!

yeswell we would have wanted the first listing in verbise mode,

It renders 1 frame?

Any chance the first listing is in verbose mode? If not how do you toggle it on? I thought I click it on in the Render Globals box.

Yeah. It only renders 1 frame. Whichever frame the playhead is resting on. I just reinstalled the whole thing too. No luck. any suggestions?

Thanks.

Translation / Export verbosity in render globals or -v flag in command line

The previous post is exactly the same listing I get when I check on all the verbosity options. When I type "-v flag" in the command line it says "Error: Syntax error".

?? Whats the deal???

See the "Export verbosity" drop-down list? What's selected there?

-v flag needs an argument in range 1-6, so -v 6. And is meant to be used with either render shell command or Mayatomr mel command

Selected in "Export Verbosity" is:
In the box: Detailed Messages
Checked are the boxes:
Export exact Hierarchy
Export Full dagpath
Export textures first
Export Particles
Export Particle Instances
Export Fluids
Export Post Effects

And this is what I get:

2/23/2005
Maya®, Version 6.5, 200501140008
© Copyright 1997-2005 Alias Systems Corp.
All rights reserved.
mental ray for Maya 6.5
mental ray: version 3.4.1.5, 27 Dec 2004
File read in 0 seconds.
Result: C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1__3920.mb
Total Elapsed Time Since Start Of Maya (hh:mm:ss): 00:00:03
====================================
Resource Usage At Start Of Rendering
====================================
34726 Page faults
129.953 Mb Max resident size
129.590 Mb Peak total size(Estimated)
9.437 Mb Peak arena size
====================================
129.953 Mb Current
8.125 Mb MEL
0.125 Mb Keys
0.750 Mb NURBS AG
0.313 Mb Data Blocks
0.125 Mb Transforms
====================================
Automatic near/far clipping values: 22.1636, 24.5728.
Result: C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff
Starting Rendering C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff.
Constructing shading groups.

Rendering current frame.
Frame triangle count: 1322

====================================
Resource Usage At End Of Frame
====================================
6455 Page faults
141.004 Mb Max resident size
138.109 Mb Peak total size(Estimated)
20.558 Mb Peak arena size
====================================
139.082 Mb Current
5.473 Mb File Texture Mipmaps
8.125 Mb MEL
0.125 Mb Keys
0.750 Mb NURBS AG
0.007 Mb Render Geometry Arena
0.313 Mb Data Blocks
3.333 Mb Render Cache
0.125 Mb Transforms
====================================
Postprocessing rendering result.
Time For Tessellation (hh:mm:ss): 00:00:00
Time For Shadow Map (hh:mm:ss): 00:00:00
Time For Post Process (hh:mm:ss): 00:00:00
Time For Frame Render (hh:mm:ss): 00:00:02
Finished Rendering C:/Documents and Settings/Tom Messing/My Documents/maya/projects/Window Project/Window1.iff.


====================================
Resource Usage At End Of Rendering
====================================
198 Page faults
138.109 Mb Peak total size(Estimated)
18.243 Mb Peak arena size
====================================
139.238 Mb Current
5.473 Mb File Texture Mipmaps
8.125 Mb MEL
0.125 Mb Keys
0.750 Mb NURBS AG
0.313 Mb Data Blocks
3.333 Mb Render Cache
0.125 Mb Transforms
====================================
Total Time For Render (hh:mm:ss): 00:00:02
Total Elapsed Time For Maya (hh:mm:ss): 00:00:06
mental ray: wallclock 0:00:04.73 total
mental ray: allocated 1 MB, max resident 2 MB

Haha!!!!!!!

I figured out what Maya is doing. Even though I had the render settings set to Mental Ray, it was still using the "common" settings tab from Maya software. Changed that then switched to Mental Ray, and everything works. Seems like a round about way to get things to work...but it works and thats what matters.

Seems like you werent launching mr at all.

This is the maya sw output log not mr... use -r mr option...

-k

You are right. I just noticed it. There are no shadows in my render which means, that even though I had mental ray selected for the render method it did not work.

Anyone have any ideas what the problem might be?
Please advise.

Sorry, if this is a stupid question, but did you render from a command line or from within maya...?
If from maya... is mr properly initialised (reload mr plugin and check for any messages...)?

-k

Ok. So I rendered from within Maya.
The mayatomr plugin is loaded and when I unload it and reload it there are no error messages.

When I did unload it and reload it here is the message I got in the script editor:

updateRendererUI;
// mental ray Node Factory: unloaded
// Error: The renderer mentalRay is not registered yet. //
// mental ray for Maya 6
// mental ray for Maya: using startup file C:/Program Files/Alias/Maya6.0/mentalray/maya.rayrc
// mental ray for Maya: setup
// mental ray for Maya: initialize
// mental ray for Maya: using 1 license
// mental ray for Maya: register extensions
// mental ray Node Factory: loaded
// generating nodes ...
// parsing C:/Program Files/Alias/Maya6.0/mentalray/include/base.mi
// generating nodes ...
// parsing C:/Program Files/Alias/Maya6.0/mentalray/include/contour.mi
// generating nodes ...
// parsing C:/Program Files/Alias/Maya6.0/mentalray/include/physics.mi
// mental ray for Maya: successfully registered
updateRendererUI;
addOneTabToGlobalsWindow("mentalRay", "Common", "createMentalRayCommonGlobalsTab");
addOneTabToGlobalsWindow("mentalRay", "mental ray", "createMentalRayGlobalsTab");

As far as I can tell that looks normal to me. However when I render in mental ray it even says "Rendering with mental ray" but then goes ahead and renders with maya software and all the setting that go along with it.

I am so confused. I've used maya off and on for a year or so and have never had problems like these.

Thanks ahead of time for any help you might be able to offer.

I know this chain sure looks like it died, but I'm having the exact same problem!!

I set it to mental ray, I click the batch render button, and it renders intead with the software settings. I have the metal ray plugin loaded. I even set metal ray to my default renderer. Nothing helps. I'm using maya 5 but like I said, the problem is indentical.

Please, if anyone has any ideas, I'm scrapping the bottom of the barrel so hard I'm starting to wear through it!

This is the error I get when I render by right-clicking the file. http://img.photobucket.com/albums/v226/askaniblue/error.gif

The problem has oddly fixed itself. I have no idea why or how, but its suddenly started working. I reinstalled maya, shut down every other plugin I had, nothing worked, but then suddenly it all started running fine. shrugs I'm not gonna look this horse in the mouth for sure.

I m also having same problem.Instead, when i use mental ray for rendering it dosnt render at all or shows the previous rendered image with no update. I m confused .