Announcement

Collapse
No announcement yet.

Vray, Render Layers, Deadline

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vray, Render Layers, Deadline

    Hi, we're on the latest version of Vray 2.

    There's a thread here on Deadline's forums which explains the problem - http://forums.thinkboxsoftware.com/v...11496&start=10 As you can see Thinkbox suspect the problem lies with Vray as Deadline seems to be submitting the correct frames.

    Basically, when you submit a Maya job with render layers and layer overrides set on the start and end frames of each render layer, jobs submitted using Vray render the wrong frames. Deadline will submit separate jobs for each render layer.

    Test scenario:

    2 render layers in Maya
    Render layer 1 has layer overrides set for start and end frame in Render Settings (1-10)
    Render layer 2 has layer overrides set for start and end frame in Render Settings (5-15)

    Submit job to Deadline and set 'task size' to 5. Check 'Submit Render Layers as Separate Jobs'.
    Deadline submits 2 jobs with 2 tasks for job 1 (1-5, 6-10) and 3 tasks for job 2 (5-9, 10-14, 15).

    For Job 1, task 1 - Deadline then renders frames 1-10 (should be frames 1-5)
    For Job 1, task 2 - Deadline then renders frames 1-10 again (should be frames 6-10)

    For Job 2, task 1 - Deadline then renders frame 5-9 (correct)
    For Job 2, task 2 - Deadline then renders frame 5-9 (should be frames 10-14)
    For Job 2, task 3 - Deadline then renders frame 5-9 (should be frame 15)

    Is there a fix for this or a better way of working or is this a bug?

    Thanks,
    Chris

  • #2
    Hi,
    Do you have the problem with MentalRay or MayaSoftware ?
    www.deex.info

    Comment


    • #3
      Hi,

      We managed to reproduce the issue in our environment as well. It seems that the problem occurs only with V-ray, so the case will be forwarded to our developers.
      Thank you very much for this report.

      As soon as we have any update will post here.
      Tashko Zashev | chaos.com
      Chaos Support Representative | contact us

      Comment


      • #4
        No, seems to be exclusive to Vray but looks like you've spotted that already.

        Cheers,
        Chris

        Comment


        • #5
          Has this been fixed? I am experience the same issues.

          Foley

          Comment


          • #6
            Originally posted by Foley View Post
            Has this been fixed? I am experience the same issues.

            Foley
            We are still working on this bug and doing a lot of tests to figure out where exactly is the issue. Hope to have it fixed very soon.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              Hi there, this problem seems to persist in Vray 3.0 and Maya 2015 on OSX 10.10.2.

              Should this be resolved now?

              Comment


              • #8
                Originally posted by haich11 View Post
                Hi there, this problem seems to persist in Vray 3.0 and Maya 2015 on OSX 10.10.2.

                Should this be resolved now?
                I just checked the status of the case in our system and unfortunately it is not resolved yet. We will post here as soon as any news are available.
                Tashko Zashev | chaos.com
                Chaos Support Representative | contact us

                Comment


                • #9
                  Same problem here. Sorry for duplicate thread....

                  Comment


                  • #10
                    What’s the status?
                    Best regards
                    Jacob Hansen
                    Laerdal Copenhagen

                    Comment


                    • #11
                      Originally posted by jacoblaerdal View Post
                      What’s the status?
                      Sorry to report it, but we don't have a fix for this issue yet. I will post here when we have any news.
                      Tashko Zashev | chaos.com
                      Chaos Support Representative | contact us

                      Comment


                      • #12
                        Lying on my knees! Waiting for this to happen... = One Click.

                        Right now I manually set it all up = One scene could be 8 cameras including 4 pass per camera = a lot of work.

                        Maybe VRay should have a simple Render Management Tool?

                        Can you tell me what Render Management Tool that have the lowest rate of errors? When you go Maya = VRay = Render Management Tool.
                        Last edited by jacoblaerdal; 06-07-2015, 08:59 AM.
                        Best regards
                        Jacob Hansen
                        Laerdal Copenhagen

                        Comment


                        • #13
                          You can do a lot of thing with deadline. You can create your custom launcher to send your jobs in Python to manage heavy scenes.
                          www.deex.info

                          Comment


                          • #14
                            ..We use Python to build our scenes from a given folder which holds the caches from cached geometry. It
                            also create Layers and “Passes” for imported cameras...and more.

                            The same script sets the Layer overrides for Start Frame, End Frame, Renderable Camera.

                            All of this should make it possible for us to hit the Deadline Submit Button. And then press the Submit Job
                            button. Without setting up the Layer Overrides manually for every camera in the scene.

                            We could create a custom launcher in Python to send our jobs

                            But it could be so nice if Thinkbox, Chaos Group, Autodesk (Maya) could find a solution together. So the
                            Layer override can be used for Start Frame, End Frame, Renderable Camera…

                            We pay for this to happen. I mean we could make a lot in Python but a lot of this should be available
                            without making a script to get around the problem.

                            I think that Chaos Group, Thinkbox, Autodesk do a great job. And they do it so well that we use their
                            software without a doubt.

                            Last edited by jacoblaerdal; 07-07-2015, 01:07 AM.
                            Best regards
                            Jacob Hansen
                            Laerdal Copenhagen

                            Comment


                            • #15
                              I think I found the problem. It's in the MayaBatch.py file used by Deadline. In GetStartFrameCommand/GetEndFrameCommand you can see that V-Ray is special cased (wrongly). I guess, this was to support old V-Ray versions where we didn't use the standard defaultRenderGlobals. You can see that for most renderers this additional command is executed:

                              removeRenderLayerAdjustmentAndUnlock

                              This is used to break the overrides, so Deadline can change startFrame/endFrame, regardless of the active layer. If it's not the active layer, Deadline will not change the frame and this is what happens. The issue is quite simple actually, I don't know why the Thinkbox guys can't find it... If you can freely edit MayaBatch.py, delete this line from GetStartFrameCommand/GetEndFrameCommand

                              Code:
                              elif self.Renderer == "vray" or self.Renderer == "vrayexport":
                              V-Ray/PhoenixFD for Maya developer

                              Comment

                              Working...
                              X