Announcement

Collapse
No announcement yet.

Dome light Light Select Renderelement changes color when GI is toggled...?

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

  • Dome light Light Select Renderelement changes color when GI is toggled...?

    Hey guys,

    i lately discovered something i don't quite understand!
    I have a simple setup:
    A dome light connected to a light select render element set to type: diffuse. When i now toggle GI (Brute Force or Irradiance Map) on/off
    the light select element changes quite a lot. This change does not happen with the light select set to type: raw.
    I cannot quite figure out the reason why, since to my understanding the result should be the diffuse color multiplied with raw light. And both ingredients should not change based on GI.
    Here is a screenshot:
    Click image for larger version

Name:	light_select_problem_1.jpg
Views:	1
Size:	246.6 KB
ID:	879448Click image for larger version

Name:	light_select_problem_2.jpg
Views:	1
Size:	254.6 KB
ID:	879449
    Last edited by timmwagener; 31-01-2014, 03:43 PM.

  • #2
    Do you have subpixel mapping enabled?
    CGI - Freelancer - Available for work

    www.dariuszmakowski.com - come and look

    Comment


    • #3
      Yes i do have subpixel mapping turned on. However turning it off doesn't change the problem.
      I did a bit of testing with the color mapping settings right now, but nothing changed the problem.
      Here is a screenshot of my standard settings:
      Click image for larger version

Name:	color_mapping_settings.jpg
Views:	1
Size:	41.3 KB
ID:	851337

      Comment


      • #4
        Untick linear color please. That is incorect and u should not tick it on. Also untick subpixel mapping for this test please. Can you also disable the clamping? - none of those thing should fix the issue - except for linear maybe...

        The screenshot from 1st post. Is it light pass that are we looking at or beauty pass? Can u also disable ray distance please?
        CGI - Freelancer - Available for work

        www.dariuszmakowski.com - come and look

        Comment


        • #5
          Hey DADAL,
          as far as i'm informed those color mapping settings should say:
          "Use a gamma of 2.2 for threshold testing on subpixel samples (more accurate) but dont bake the gamma into the pixels, instead keep them linear for comp. Also gamma correct sRGB textures should you find any.
          Also clamp values at 5 so no breakout values in comp."
          That is usually what i want.......but just to make sure i did the same test basically with factory default rendersettings, same issue:
          Click image for larger version

Name:	vray_ls_test_nuke_2 - Kopie.jpg
Views:	1
Size:	314.2 KB
ID:	851338Click image for larger version

Name:	vray_ls_test_nuke_1 - Kopie.jpg
Views:	1
Size:	276.5 KB
ID:	851339

          Why is this an issue:
          We have a comp pipeline where we automatically reconstruct the complete render from renderelements in post. We rely heavily on light selects with type set to "diffuse". We use them
          along with the diffuse color render element to recreate the raw light passes in comp, to grade on, since that seems to work better than using the raw passes directly.
          At the moment i'm lighting a desert scene. WIth GI on, the scene is considerably darker than with GI off (?) and looks ok. With GI off the scene
          becomes massively overbright, due to the dome light going nuts in brightness......i'm not at work right now, but i will post images later.
          Last edited by timmwagener; 01-02-2014, 05:32 AM.

          Comment


          • #6
            Humh I actually recently had the same issue in my scene. The GI pass was darkening light as opposite to non gi pass. I was using LC with store direct light so I assumed it was LC affecting my light pass so I just took it as it was. Didnt think it was a bug. Now you have the same think but you dont use LC so it makes me wonder whats going on here...
            CGI - Freelancer - Available for work

            www.dariuszmakowski.com - come and look

            Comment


            • #7
              Here are some more images. The light setup is basically a vraySun (without sky) and a dome light for the environment light:
              Click image for larger version

Name:	vray_beauty_gi_on_off_comparison.jpg
Views:	1
Size:	219.0 KB
ID:	851340Click image for larger version

Name:	vray_ls_gi_on_off_comparison.jpg
Views:	1
Size:	249.1 KB
ID:	851341Click image for larger version

Name:	vray_nuke_ls_test_3.jpg
Views:	1
Size:	252.7 KB
ID:	851342
              Last edited by timmwagener; 01-02-2014, 09:38 AM.

              Comment


              • #8
                I think, when gi is enabled, the dome light's contribution is divided. Its being split partially to gi rays partially to direct rays. So long as end result looks the same it does not matter. So, its normal that the dome light pass on its own is darker when gi is on since part of it is in gi.
                Last edited by Morbid Angel; 01-02-2014, 10:05 AM.
                Dmitry Vinnik
                Silhouette Images Inc.
                ShowReel:
                https://www.youtube.com/watch?v=qxSJlvSwAhA
                https://www.linkedin.com/in/dmitry-v...-identity-name

                Comment


                • #9
                  So long as end result looks the same it does not matter.
                  If the contribution in the end would be the same, i wouldnt mind (although i still wouldnt understand why....), but as you can see my Beauty pass is significantly different.
                  With GI on, the Beauty pass is darker.
                  With GI off its overbright.

                  I think, when gi is enabled, the dome light's contribution is divided. Its being split partially to gi rays partially to direct rays. So long as end result looks the same it does not matter. So, its normal that the dome light pass on its own is darker when gi is on sice part of it is in gi.
                  Here is an image of the GI and Lightselect added together, which i suppose should according to your information, match the result of a light select for a dome light without gi.
                  That does not seem to happen here for me:
                  Click image for larger version

Name:	vray_nuke_ls_test_4.jpg
Views:	1
Size:	267.6 KB
ID:	851343

                  Maybe a better/alternative Thread title would be:
                  Why does my beauty render become darker when i turn on GI?
                  Last edited by timmwagener; 01-02-2014, 10:01 AM.

                  Comment


                  • #10
                    I see, can you post part of your scene. I think something else in at play there, besides the dome light.
                    Dmitry Vinnik
                    Silhouette Images Inc.
                    ShowReel:
                    https://www.youtube.com/watch?v=qxSJlvSwAhA
                    https://www.linkedin.com/in/dmitry-v...-identity-name

                    Comment


                    • #11
                      Actually I was able to reproduce what you have happening. I think since you use a light select for your dome, and not a raw light pass, the raw light select outputs the lighting energy without considering the gi portion, so it looks much brighter. I think what you need to do is measure the intensity of your raw light and subtract that difference from your light select. I got the result looking pretty close to the beauty, though not 100%.
                      Dmitry Vinnik
                      Silhouette Images Inc.
                      ShowReel:
                      https://www.youtube.com/watch?v=qxSJlvSwAhA
                      https://www.linkedin.com/in/dmitry-v...-identity-name

                      Comment


                      • #12
                        I see, can you post part of your scene. I think something else in at play there, besides the dome light.
                        Here is a link to the scene....free from all references etc.
                        Actually I was able to reproduce what you have happening. I think since you use a light select for your dome, and not a raw light pass, the raw light select outputs the lighting energy without considering the gi portion, so it looks much brighter. I think what you need to do is measure the intensity of your raw light and subtract that difference from your light select. I got the result looking pretty close to the beauty, though not 100%.
                        Testing that....although i usually try to keep direct raw passes out of the equation, and recreate them instead in post, since they usually are pretty unclean and prone to problems (like not adding up correct to match the beauty).

                        Just as an inforrmation:
                        This issue does NOT affect a lightselect from any other light (like vray rect lights for example), they work flawless in the expected way.....
                        Last edited by timmwagener; 01-02-2014, 11:12 AM.

                        Comment


                        • #13
                          Please see attached scene with nuke comp, the dome light is darker, however it reconstructs properly to match with the beauty.

                          http://we.tl/yOGMrVe53j
                          Dmitry Vinnik
                          Silhouette Images Inc.
                          ShowReel:
                          https://www.youtube.com/watch?v=qxSJlvSwAhA
                          https://www.linkedin.com/in/dmitry-v...-identity-name

                          Comment


                          • #14
                            Because of MIS (multiple importance sampling), when GI is enabled, part of the lighting is computed as direct lighting from the dome light, and part of it is picked up from the GI. When both are added together, you get the correct result. If your comps are set up correctly, as Dmitry pointed out, the render elements still add up perfectly to the beauty element.

                            V-Ray 3.0 has an option to disable MIS for area lights, including the dome light, but I don't generally recommend doing that.

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

                            Comment


                            • #15
                              Also regarding RAW passes. As far as I remember they come out a bit incorect from 2.xx version of vray and only 3.0 has it corrected - I might be wrong here.
                              CGI - Freelancer - Available for work

                              www.dariuszmakowski.com - come and look

                              Comment

                              Working...
                              X