maya render layers, deadline read layer render gobals?

Esoteric feature request, and might fly in the face of how deadline does things, but still…



It’d be handy when submitting via the deadline mel for it to read the layer-specific globals. For example, the framerange for a character pass might be 1-100, but the background might only be 1 frame.



-matt

It’s not that esoteric. it is not difficult to do in fact.



Ryan I would happily give parts of code for this :slight_smile:





Sylvain Berger | Technical Director | Alpha Vision


Heh, its all about coating your feature requests in honey… :stuck_out_tongue:



Like you, I’d happily hack the mel myself, but deep in crunch mode at the moment…

Actually, if you’re running Deadline 2.5, the Maya submission script should already do this, providing that you’ve checked the option to submit each render layer as a separate job.



Give it a try, and if it doesn’t seem to be working, let us know.



Cheers,

  • Ryan

ah, curses then. we’re in cruch mode, and we have a loooong list of things making life difficult for us right now. Deadline 2.0 is our bedrock of stability, and while I’m sure 2.5 is wonderful, we don’t dare fix what ain’t broke… :slight_smile:



-matt

old thread but an actual problem to me (4.1 haven´t experienced this in 4.0)

I have e.g. 10 layers in Maya.
When submitting these layers, Deadline uses the render range which is set for the actual layer for all other layers as well instead of using the layeroverrides.

Are you submitting from the integrated Maya submission script? If so, are you enabling the option “Submit Render Layers As Separate Jobs”? That option will submit each layer as a separate job, and should respect their individual frame ranges. If you aren’t submitting each layer as a separate job, then it’s not possible for Deadline to respect the individual frame ranges because everything is being rendered in one shot, and Maya only accepts a single range when batch rendering.

Cheers,

  • Ryan

yes I´m submitting via submission script from within maya.
And yes I´m using “submit Render Layers As Separate Jobs”.
I have 10 separate jobs in my Monitor each with the same frame range which was taken from the layer which is active when I start the submission script.

I used the InitDeadlineSubmitter.mel from a fresh 4.1 Repository install (…\DeadlineRepository\clientSetup\Maya)

Which version of Maya are you experiencing this with?

Maya2011 Hotfix3

Thanks. It turns out I was testing with an old script (oops), and it looks like a regression has crept into the latest one. We should be able to fix this for the next release.

Cheers,

  • Ryan

Attached is a patched script that should fix this problem. To install, follow these steps. Note that this fix should only be applied to Deadline 4.1.

  1. Go to \your\repository\submission\Maya, and backup the file “SubmitMayaToDeadline.mel”, just to be safe.
  2. Unzip the attached file to the same folder.
  3. Restart Maya and try to submit again.

Let us know if this works for you.

Cheers,

thank you Ryan :slight_smile:
works as intended now!

Hi everybody,
Hopefully I´m here in the right niche for my question:

We are using Maya 2009, Maya 2011 and deadline 4.1

For Maya 2009 the deadline-Plugin is doing his Job correct: with Scenes including different renderlayers it sends these renderlayers as different jobs. That means, all renderflag-overrides will be sendet within the separated renderlayer job. For instance (and for us very important) the framerange. or Camera.

Example:
Layer 1: Frame 1- 300; Camera 1
Layer 2: Frame 50-70; Camera 2
Layer 3: Frame 240-300; Camera 3

For maya 2011 there is no Plugin or it doesn’t work, because the Maya-Plugin can´t successful find the Maya2011.exe and in the in the Launch-Monitor I cant select Maya 2011. (see “Mayajob.png”) I have configured under: --> Tools --> Configure Plugins --> Mayabatch in the 2008-Tab for the Maya2011.exe (See “ConfigurePlugins.png”) but I have no possibility push any button like in the Maya-Script ”Submit Render Layer as Separate Jobs”.

Can somebody tell me how to solve this problem. We strongly need the feature to render separate layers as separate jobs (with different frameranges or cameras, a.s.o)

Thanks in advance for your help
and sorry for tmy poor english
le horge


Hi!

Maya 2011 support was added in Deadline 4.1, so upgrading will allow you to submit to Maya 2011 from within Maya, giving you the option to submit each job as a separate layer. Now you’re probably aware after reading this thread that there is a bug in 4.1 Maya submitter that causes the wrong frame range to be used, but that is fixed by applying this patch after upgrading:
viewtopic.php?f=57&t=4477

If you have any questions or concerns, let me know!

Cheers,

  • Ryan