Render > Batch Render?
That’s what I’ve been doing. It will render the master layer even when it’s toggled to be unrenderable.
If not that I’m not sure what you mean.
Render > Batch Render?
That’s what I’ve been doing. It will render the master layer even when it’s toggled to be unrenderable.
If not that I’m not sure what you mean.
… and FYI, this problem seems to persist even when rendering with a render manager, in this case Smedge. Even if I send a render job with a render layer explicitly given, I’m getting my lovely master layer output instead. This is very, very aggravating as while I don’t mind using the VFB workaround most of the time, I KNOW there’s going to be times when I don’t want to do that.
Yes, I know that is what’s expected. That’s not what I’m getting, and as I mentioned even when using a render manager that specifies an output render layer, the masterLayer is rendering first.
Interestingly another workaround from inside the UI is to use “Render Sequence”, which also seems to respect the renderable status of the master layer and does not necessitate checking “Render All Layers” in the Render View window, which I normally have permanently hidden anyway.
I’ve never understood why Maya has so many apparently overlapping methods of starting renders, and I don’t know what the difference could possibly be between “Render Sequence” and “Batch Render”, but it appears they may call different things with Batch Render starting render.exe, but “Render Sequence” starting the render a different way (but with exactly the same result??). So from within the UI this is a fairly easy workaround.
Unfortunately this doesn’t address the issue of using a render manager (in my case Smedge), which also simply calls render.exe and as mentioned is also resulting in a rendering master layer even when an explicit render flag is used in the job, which frankly is inexplicable.
Alright, I got curious as to what or why it is not working for you. I opened that same scene as I recorded the video with. It renders without master layer. However I got on a new machine, and cleared the maya prefs so default prefs. By default maya opened with render setup. I added some render setup layers there and it started rendering with master layer. Disabling it seemed to have no effect. I saved the scene, reloaded maya with legacy layers, and guess what. Even with master layer turned off, it would still be rendering it.
Then I created a new scene with legacy layers and it worked as expected, only render layers have rendered (not master layer). After that I imported the previous scene into it, and master layer started rendering even though it was off. It appears if you at one point used renderSetup with the master layer issue, it will stick in the scene.
I would recommend 1 try empty new scene make some layers there send to batch render. See if that works. After that you may need to carefully import parts of your scene from previous file.
I bet there is a setting in the ascii that can be set to stop master layer from rendering…Ok, I text edited my corrupt scene in .ma and removed anything that had defaultRenderLayer, upon re-opening maya/scene I set the master layer to be non-renderable and its working again. Hope that helps you out a bit.
Well, thanks that is interesting. However, I’m pretty sure that the most recent scene I’ve been having issues with has never had Render Setup enabled at any point. I have not yet tested whether clearing prefs might help, but will do so.
I also tend to use the .mb file format most of the time -- I know that .ma is more versatile but definitely results in larger files and longer save times.
You’ve got me wondering now whether having referenced files coming into a scene have anything to do with this. Previously it was never an issue, but since it seems from your test that defaultRenderLayer may have something to do with it, it could be that files with their master layer enabled upstream might be causing the problem…
Anyway, thanks for doing all this investigation!
And… deleting my preferences cleared the issue, at least when rendering from within the UI using batch render my master layer did not start to render first. Haven’t gone as far as trying to use Smedge to see if it will allow for an explicit layer, but I would assume that’s likely. Anyone know which preference might be causing this problem?