Announcement

Collapse
No announcement yet.

There are thousands of lights in my scene. How to speed up rendering

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

  • There are thousands of lights in my scene. How to speed up rendering

    I use 3090
    The current scene video memory uses 9GB
    But my FPS is only 4
    If I turn off light tree, I can get accurate light rendering results, but it renders very slowly.
    If I open it, my rendering will be incorrect. I tried to open it and increase its value to balance the final result. But I found that it is not allowed to exceed 8 This makes it impossible for me to take advantage of this function. Can we raise its upper limit. And tell me how to improve my preview results in scenes with more lights

  • #2
    How's the light inaccurate when the light tree is enabled ?
    Is the final result darker than expected ?
    You can try increasing the max sec. ray intensity in order to fix this:

    Click image for larger version

Name:	clamp.PNG
Views:	950
Size:	23.2 KB
ID:	1145113

    Greetings,
    Vladimir Nedev
    Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

    Comment


    • #3
      Originally posted by vladimir.nedev View Post
      How's the light inaccurate when the light tree is enabled ?
      Is the final result darker than expected ?
      You can try increasing the max sec. ray intensity in order to fix this:

      Click image for larger version

Name:	clamp.PNG
Views:	950
Size:	23.2 KB
ID:	1145113

      Greetings,
      Vladimir Nedev
      I think it's because after the light tree is turned on, some lights do not participate in sampling, so many lights are not rendered, my picture does not darken, but some lights are not rendered. I raised its upper limit, which is valid, but now it is not allowed to exceed 8, so I can't continue to improve the parameters of light tree

      Comment


      • #4
        Originally posted by q976431 View Post

        I think it's because after the light tree is turned on, some lights do not participate in sampling, so many lights are not rendered, my picture does not darken, but some lights are not rendered. I raised its upper limit, which is valid, but now it is not allowed to exceed 8, so I can't continue to improve the parameters of light tree
        All lights are sampled when the light tree is enabled, but not each frame, so you get a noisier image.
        If you disable "clamp sec. rays", the result will be entirely correct with the light tree.

        In fact, sampling ALL lights without the light tree might be incorrect, since not enough memory will be available for all the shadow rays.
        You should always have the light tree enabled for scenes with many lights.

        Maybe you can send us the scene with screen-shots explaining which lights don't seem to be rendered ?

        I raised its upper limit, which is valid, but now it is not allowed to exceed 8, so I can't continue to improve the parameters of light tree
        I put the limit at 8, because more light tree samples further slow down the rendering and you probably won't see a significant difference in the result.
        Also, more light tree sample require additional GPU memory (for storing all the generated shadow rays).

        Greetings,
        Vladimir Nedev
        Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

        Comment


        • #5
          Originally posted by vladimir.nedev View Post

          All lights are sampled when the light tree is enabled, but not each frame, so you get a noisier image.
          If you disable "clamp sec. rays", the result will be entirely correct with the light tree.

          In fact, sampling ALL lights without the light tree might be incorrect, since not enough memory will be available for all the shadow rays.
          You should always have the light tree enabled for scenes with many lights.

          Maybe you can send us the scene with screen-shots explaining which lights don't seem to be rendered ?



          I put the limit at 8, because more light tree samples further slow down the rendering and you probably won't see a significant difference in the result.
          Also, more light tree sample require additional GPU memory (for storing all the generated shadow rays).

          Greetings,
          Vladimir Nedev
          The situation I tested seems a little different from what you said
          I enable the light tree and disable clamp sec rays。 So many lights in my scene have not been calculated normally.
          If I disable the light tree. Thousands of lights in my scene have been rendered normally. They all lit up


          Please check the attachment I submitted. I marked the relevant parameter settings in the naming place
          In this scene, I set up a lot of lights in these places. No matter how I test it, it seems that it is correct to turn off the light tree. For me, the current problem is that the FPS obtained by turning it off is too low. It took me a long time to get the image. If the upper limit can be increased by 8, then maybe I can always increase this parameter in exchange for the balance of speed and quality?

          light tree(off) clamp sec. rays(on). png
          This attachment is the rendered image I need. Because I set a lot of lights for the scene
          Attached Files
          Last edited by q976431; 11-04-2022, 08:42 PM.

          Comment


          • #6
            Sorry, I don't understand what the issue is by looking at these screen-shots.
            We need a scene to investigate.

            Greetings,
            Vladimir Nedev
            Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

            Comment


            • #7
              . If the upper limit can be increased by 8, then maybe I can always increase this parameter in exchange for the balance of speed and quality?
              We can raise the upper limit to 16 for the next build, but anything above that will take too much memory.
              There needs to be an upper limit.

              Greetings,
              Vladimir Nedev
              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

              Comment


              • #8
                Originally posted by vladimir.nedev View Post

                We can raise the upper limit to 16 for the next build, but anything above that will take too much memory.
                There needs to be an upper limit.

                Greetings,
                Vladimir Nedev
                Well, thank you
                I use google translate
                Maybe my description is inaccurate. Sorry

                In addition, I found a problem
                When I use 1 output sequence, if the save path contains Japanese, Korean, Chinese and other characters. Then my image saving will fail.
                When 2 is used, it is not affected by this. Is this normal?

                At the same time, can you add a function in 1: automatically pause vantage rendering after rendering (equivalent to automatically pressing the pause rendering button of Vantage) so that when rendering is completed, GPU will no longer perform rendering calculation and the temperature of graphics card will be reduced, because video or sequence rendering may often occur in unattended night. In this way, the graphics card can rest after rendering
                Attached Files
                Last edited by q976431; 12-04-2022, 06:47 AM.

                Comment


                • #9
                  Hi q976431,

                  In addition, I found a problem When I use 1 output sequence, if the save path contains Japanese, Korean, Chinese and other characters. Then my image saving will fail. When 2 is used, it is not affected by this. Is this normal?
                  No, non-Latin characters should work both in 1 and 2 and this is an overlook on our side. Thank you for reporting it. We will fix it in future versions and will let you know when it will become available.

                  At the same time, can you add a function in 1: automatically pause vantage rendering after rendering
                  We have an issue logged for optimizing/reducing GPU usage when not needed and your suggestion is one of the solutions we will try to implement. I cannot say when it will become available but we will inform you when there is some development.

                  Best regards,
                  Alexander
                  Alexander Atanasov

                  V-Ray for Unreal & Chaos Vantage QA

                  Chaos

                  Comment


                  • #10
                    Originally posted by Alexander.Atanasov View Post
                    Hi q976431,


                    No, non-Latin characters should work both in 1 and 2 and this is an overlook on our side. Thank you for reporting it. We will fix it in future versions and will let you know when it will become available.


                    We have an issue logged for optimizing/reducing GPU usage when not needed and your suggestion is one of the solutions we will try to implement. I cannot say when it will become available but we will inform you when there is some development.

                    Best regards,
                    Alexander
                    Thank you very much for your reply
                    Vantage is now an important software for my expression design. Its sampling accuracy and speed are amazing
                    Thank you very much for the work of the development team

                    Comment


                    • #11
                      Originally posted by Alexander.Atanasov View Post
                      Hi q976431,


                      No, non-Latin characters should work both in 1 and 2 and this is an overlook on our side. Thank you for reporting it. We will fix it in future versions and will let you know when it will become available.


                      We have an issue logged for optimizing/reducing GPU usage when not needed and your suggestion is one of the solutions we will try to implement. I cannot say when it will become available but we will inform you when there is some development.

                      Best regards,
                      Alexander
                      Hi, about(In addition, I found a problem when I use 1 output sequence, if the save path contains Japanese, Korean, Chinese and other characters Then my image saving will fail When 2 is used, it is not affected by this Is this normal?)

                      Is there any progress in this matter? It makes me have to create folders with characters that are not understood by others.

                      Comment


                      • #12
                        Hi q976431,

                        No, nothing for this issue has been developed yet. Will inform you when there is something in the works.

                        Best regards,
                        Alexander
                        Alexander Atanasov

                        V-Ray for Unreal & Chaos Vantage QA

                        Chaos

                        Comment


                        • #13
                          Originally posted by vladimir.nedev View Post

                          All lights are sampled when the light tree is enabled, but not each frame, so you get a noisier image.
                          If you disable "clamp sec. rays", the result will be entirely correct with the light tree.

                          In fact, sampling ALL lights without the light tree might be incorrect, since not enough memory will be available for all the shadow rays.
                          You should always have the light tree enabled for scenes with many lights.

                          Maybe you can send us the scene with screen-shots explaining which lights don't seem to be rendered ?



                          I put the limit at 8, because more light tree samples further slow down the rendering and you probably won't see a significant difference in the result.
                          Also, more light tree sample require additional GPU memory (for storing all the generated shadow rays).

                          Greetings,
                          Vladimir Nedev
                          Hello, I still want to consult about light sampling. I may not have described it clearly before. If necessary, I can provide relevant scenes. I will try to describe:
                          There are a lot of lights in my scene. Follow your previous suggestion to "clamp sec. rays" You can get accurate lights by turning rays off and keeping the light tree open.
                          But my actual test is that the light is not very accurate. On the contrary, when the light tree is turned off, the light can be loaded accurately. But FPS will be much lower.
                          After the light tree is turned on, it will gradually sample the light, but there seems to be an upper limit, and the sampling is not completed at one time like turning off the light tree.
                          Last edited by q976431; 09-06-2022, 06:01 AM.

                          Comment


                          • #14
                            Originally posted by vladimir.nedev View Post
                            Sorry, I don't understand what the issue is by looking at these screen-shots.
                            We need a scene to investigate.

                            Greetings,
                            Vladimir Nedev

                            Click image for larger version

Name:	00001.jpg
Views:	911
Size:	712.2 KB
ID:	1150532

                            Click image for larger version

Name:	00002.jpg
Views:	894
Size:	747.6 KB
ID:	1150533


                            Comment


                            • #15
                              If necessary, I can provide relevant scenes.
                              Yes, please, send us the scene.

                              Greetings,
                              Vladimir Nedev
                              Vantage developer, e-mail: vladimir.nedev@chaos.com , for licensing problems please contact : chaos.com/help

                              Comment

                              Working...
                              X