Announcement

Collapse
No announcement yet.

setting light cache passes to zero

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

  • setting light cache passes to zero

    I can't find it in the docs or official changelog. Just wondering if it is 'safe' to always use the number of passes at 0?. It does seem to work in that it always uses the max number of cores that the machine you are using has.

    Should be being using it?

    Why isn't it the default setting?

    thanks!
    www.peterguthrie.net
    www.peterguthrie.net/blog/
    www.pg-skies.net/

  • #2
    +1

    this would be incredibly handy to know, particularly when rendering across multiple nodes with different configurations.

    Comment


    • #3
      This option was added in V-Ray 2.0. A note about it can be found in the vray_changelog file:
      (*) V-Ray now uses auto number of light cache passes when it is specified as zero;
      All V-Ray versions later than 2.0 will use the max number of cores when the LC passes value is set to zero.
      Furthermore the value is not set as default for compatibility reasons.
      Best regards,
      Zdravko Keremidchiev
      Technical Support Representative

      Comment


      • #4
        OK, good to know. Thanks Zdravko
        www.peterguthrie.net
        www.peterguthrie.net/blog/
        www.pg-skies.net/

        Comment


        • #5
          It is not the default setting because it will cause problems if you render animations on a render farm which has machines with varying number of cores. If the different machines on the farm use different number of light cache passes, they will end up with slightly different light caches, which may lead to flickering.

          Best regards,
          Vlado
          I only act like I know everything, Rogers.

          Comment


          • #6
            makes sense, thanks Vlado.
            www.peterguthrie.net
            www.peterguthrie.net/blog/
            www.pg-skies.net/

            Comment


            • #7
              So basically just set the number of passes to the number of physical cores the lowest machine on the farm has?
              Colin Senner

              Comment


              • #8
                Originally posted by MoonDoggie View Post
                So basically just set the number of passes to the number of physical cores the lowest machine on the farm has?
                Set it to the highest, this will work fine too. So long as it's a fixed number for all machines.

                Best regards,
                Vlado
                I only act like I know everything, Rogers.

                Comment


                • #9
                  Originally posted by vlado View Post
                  Set it to the highest, this will work fine too. So long as it's a fixed number for all machines.

                  Best regards,
                  Vlado
                  But then if I set it to 8 as per my workstation and my slaves only has 4, won't that also create slightly different lc passes?
                  Kind Regards,
                  Morne

                  Comment


                  • #10
                    The highest of the lowest (cpus on the farm) I think he means? If you are only calculating LC with one machine (like a fly-through) animation then 0 is fine, but it only counts in a moving geometry animation where you are calculating LC across multiple machines.
                    Colin Senner

                    Comment


                    • #11
                      Originally posted by Morne View Post
                      But then if I set it to 8 as per my workstation and my slaves only has 4, won't that also create slightly different lc passes?
                      No. The slave will still do 8 passes (each core will do 2 passes), but they will be the same passes as on your workstation and the results will match.

                      Best regards,
                      Vlado
                      I only act like I know everything, Rogers.

                      Comment


                      • #12
                        Hi vlado, can i set light cache passes to zero for backburner Split Scan Line render? ( i have 4 slaves )

                        i am a vray 2.40.04 and 3ds max Design 2014 user.

                        Regards,
                        Jackie
                        Best regards,
                        Jackie Teh
                        --

                        3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.05 build 32872]
                        AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
                        Website: https://www.sporadicstudio.com
                        Email: info@sporadicstudio.com
                        YouTube: https://www.youtube.com/c/SporadicStudio

                        Comment


                        • #13
                          If the slaves have the same number of cores, then yes. Otherwise there might be differences between the strips from different machines. You can just set it to the largest core number; V-Ray 3.0 simply fixes it at 64 passes always.

                          Best regards,
                          Vlado
                          I only act like I know everything, Rogers.

                          Comment


                          • #14
                            Originally posted by vlado View Post
                            If the slaves have the same number of cores, then yes. Otherwise there might be differences between the strips from different machines. You can just set it to the largest core number; V-Ray 3.0 simply fixes it at 64 passes always.

                            Best regards,
                            Vlado
                            Hi vlado, thanks for reply.

                            my workstation is Xeon dual core (8 core 16 thread), and i have 4 slaves, each slave have 12 core 16thread, total is 96 thread, so how much should i set?
                            thank you
                            Best regards,
                            Jackie Teh
                            --

                            3ds Max 2023, V-Ray 7 Hotfix 1 [7.00.05 build 32872]
                            AMD Ryzen 9 7950X 16-Core Processor@4.50 GHz | 64GB RAM | Nvidia RTX 4090
                            Website: https://www.sporadicstudio.com
                            Email: info@sporadicstudio.com
                            YouTube: https://www.youtube.com/c/SporadicStudio

                            Comment


                            • #15
                              Set it to 64, it will be fine.

                              Best regards,
                              Vlado
                              I only act like I know everything, Rogers.

                              Comment

                              Working...
                              X