Announcement

Collapse
No announcement yet.

Distributed Rendering with MAX6 and VRay

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

  • Distributed Rendering with MAX6 and VRay

    Hi guys.

    Well, I came across something astounding (at least astounding to myself) and I thought I would share it in case it hasn't already come up.

    As you may or may not know, MAX6 claimed to support distributed scanline rendering. At least this was what the Discreet guys told us last time they came by. So I took a look to try and find it and I realized it was located in the "Network Job Assignment" window, as "Split scanlines".

    So I decided to test it out with a plane and a teapot and scanline render at 4000x3000. I distributed it over 4 machines and it rendered perfectly, each machine rendering a strip of the entire large image at a time. As they did, each strip was saved to the output directory and then when all the strips were finished rendering, they were pieced together automatically.

    The next thing I did was switch to the VRay renderer and tried the same test. No GI, just the plane with the teapot.

    Result: It worked like a charm. The buckets rendered each strip and it was then pieced together at the end with NO artifacts between the strips.

    Then I tested it with GI direct computation 'single frame' as well as GI direct computation 'bucket mode'.

    Result: Again, both high resolution images rendered perfectly fine with full GI, with no artifacting between the strips, all distributed between the four machines!

    For my final test, I tried the same scene with irradiance map calculation. As I had feared, each strip does the GI prepass for the entire image, and then rendered the strip. Once the strip was finished and would start the next one, the GI prepass was calculated again for the whole image and then that next strip would render. So although it could distribute the image among the four machines, each machine had to calculate the entire image GI prepass making this method inefficient. So I figured, why not pre-generate the GI map, save it on the network drive and then have the machines distribute the frame, using a presaved irradiance map?

    Result: Each strip starts on each box, instantly loading the presaved irradiance map, and going straight into the rendering which it accomplishes again, in almost not time, and perfectly well!

    So basically, it looks like the integrated 3dsmax6 distributed rendering feature is pretty much fully functional with VRay (using GI or no GI) and (theoretically) with any other renderer. I'm still amazed from this exciting find and I'm going to continue doing more tests. I'll let you guys know if I encounter any problems.

    -Richard
    Richard Rosenman
    Creative Director
    http://www.hatchstudios.com
    http://www.richardrosenman.com

  • #2
    Cool nice from you, to share this usefull information

    Gonçalo

    Comment


    • #3
      It was there!!! I was using max 5 script for region net render because i can't locate the max 6 version . THANKS!

      Regards

      Comment


      • #4
        mhm i wonder why you are so exited.

        this is possible with max 5 and some shareware tools or the design extentions for ages.

        but why should we use it at all?

        better they make vray´s DR work with Max 6 (and 5) 100%.

        Comment


        • #5
          The difference between this DR rendering and a real DR (like MR or PRman) is that Max has to be started on every machine, loading 500mb and more into RAM, opening the scene with all texture, plugins, etc... The time you loose on distributing your scene is emensive. So, big scene won't work good.
          I think Vray's distribution at the moment is weak, because it's no standalone. But in the future we will maybe see a Vray that distribute only the information for rendering a bucket, making RAM usage a joke and improves speed a lot.
          So, a feature in the future of DR will be rendering while working, are real cool thing.
          One feature I'm hopping to see in the future, is a render window, that use a camera in your scene and a number of slave CPUs to automtically render your view every view minutes without slowing down your Workstation.

          regards,

          robert
          I'm registed believe me! Just miss that logo.

          Comment


          • #6
            Richard I played with the split scan line function a while ago and I could never set it up so there wasn't a large overlap on the strips (the overlap was so large DR became pointless on 2 machines) - what were the settings you used. Also I presume Glossy Interpolation would be calculated seperately did you test that? Thanks.

            Comment


            • #7
              Long John, it's exciting for us because we never upgraded to MAX5 due to the long list of bugs so we stuck with MAX4 and as you know, this feature wasn't incorporated in MAX4.

              3dform: Well, I come from MR background and so I hve been spoiled with it's distributed rendering. VRay's, unfortunately, has never worked for us. Way too unreliable as it decides when it wants to work. In production, I can't afford this lost time. At least with the built in MAX distributed rendering capabibility it will work, and it seems to work well. Yeah, it does load the entire scene in every machine but we have a 30 machine renderfarm, each loaded with RAM so that is not a problem. The problem is trying to render a 4000x4000 full GI frame for print on one machine, versus the option to be able to do it 10 times faster over 10 machines.

              Don't get me wrong, I would love to see VRay's DR work well (like MR's) but I haven't seen this happen yet.

              Nully: What kind of overlap are you talking about? I've noticed some subtle seams between the strips when you render with low min and max GI settins, but these seem to dissappear for the most part with higher settings. And as for direct computation, I have seen no flaws at all.

              -Richard
              Richard Rosenman
              Creative Director
              http://www.hatchstudios.com
              http://www.richardrosenman.com

              Comment


              • #8
                thank u richard

                great info richard

                I think vray should be DISCREET certified plug-in
                It works great with 3dsmax

                thank u very very much
                Workstation: Asus p9x79WS I7 3930K Noctua NH-D14@4200GHz SE2011 16GB RAM Kingston Hyperx Beast SSD 500Gb Samsung x2 SATA3 WD raid edition4 64MB GTX760 2GB DDR5 CoolerMaster 690III

                https://www.facebook.com/essetreddi..../photos_albums

                Comment

                Working...
                X