Author Topic: Important information regarding render layers  (Read 3205 times)

0 Members and 1 Guest are viewing this topic.

Offline rowan

  • Hero Member
  • *****
  • Posts: 1679
    • View Profile
Important information regarding render layers
« on: December 01, 2011, 12:28:47 PM »
Render layers are wonderful things, but according to my experience and lengthy forum searches, since render layers were built into Maya, there has been some serious bugs with the system, and they are yet to be resolved.

The symptom you may one day experience is an error when attempting to assign shaders to geometry. The warning will read "error while parsing arguments". Once this starts happening, your scene is essentially ruined. You must delete all render layers, revert all objects to the intial shading group, and re-build them from the ground up. Autodesk built a script into Maya 2010 which was supposed to fix this, you can try it, execute "fixRenderLayerOutAdjustmentErrors;" and it will clean the connections. However in my experience this does not fix the problem.

You actually have to avoid it from happening in the first place, here's a few tips.

NEVER assign materials to components

There's nothing wrong with assigning a material to several faces of an object normally, but when working with render layers, simply do not do it, the second you do, is the second the layers will corrupt.

When creating, importing, combining, or seperating objects, do so on the master layer

Make sure if you're creating new nodes, that they belong to the master layer first, then add them where necessary.

Never put a camera on a render layer

There's no reason to in the first place, but you can do so by accident, and it causes problems.

Always save your files on the master layer

This is a hard habit to get into, but it is a very good idea, especially when command line rendering.

Render layers are at best, a patchy system, and require meticulous technical practice to work. Be careful and you'll be fine, if not you can find yourself spending many hours repairing or working around the problems. Remember you can also save out entirely separate scenes with different shaders and things applied as an alternative to render layers. Of course this is a problem if you want to tweak any animation etc.

Good luck,

<3 Rowan
Animation? That's pretty much just done by Bridget nowadays... Bridget is ok I guess!!!! <3 <3 <3

Offline bernsul

  • Hero Member
  • *****
  • Posts: 1089
    • View Profile
Re: Important information regarding render layers
« Reply #1 on: December 02, 2011, 03:26:39 PM »
Thanks Rowan,

Good to get some details on this - curly stuff.