Wednesday, 26 July 2017

Why Does Maya Batch Render Too Dark?

Utah Teapot
Lighting your scene using Autodesk Maya can be a tricky process. You get your lights to look just the way you want them to, and when you render out a single frame, everything looks fine.

But then, when you come to do a Batch Render of your final frames, Maya gives you a very different result - the images look much darker. Which is not what you wanted at all.

So why does Maya do this - and what is the solution?

The Problem
The problem is a gamma correction / Linear workflow issue. Maya's Frame Buffer applies a de-gamma (gamma correction) to the output images, but the settings being used by the Batch Renderer are doing the opposite - and may be applying incorrect gamma settings to images output as part of the Batch Render. The upshot is that your Batch Rendered images don't look the same as a single rendered image.

There are various possible solutions to the problem. One simple solution is to ensure that, when you go to your Render Settings, you tick the box labelled "apply Output Transform to Renderer" (see right).

If you are lighting your shot with Physical Sun and Sky (which is an excellent, simple way to light your shot), this should solve the problem.

Different file format
Another possible solution is to try saving the images as a different format. Instead of .png try using .exr instead. The reason sometimes EXR works is that it is a HDR 32bit floating point file - not a 8 bit LDR file (like a JPEG, for example). If this is the reason for the batch render being darker it would mean the brightness values above 100% are being clamped by the (non EXR) 8 bit file format which would make a file appear a little darker and duller.

Editing Software
The problem is also fixable by adjusting the exposure of your images in Premiere or After Effects. The preview render window in Maya adds its own post processing but when you export you get a raw image. However all the colour data is still there, and can be manipulated in editing software.

To find out more about Animation Apprentice, click here for a link to Frequently Asked Questions. To sign up for our September classroom at Animation Apprentice, follow this link.

No comments:

Post a Comment