Announcement

Collapse
No announcement yet.

Dome Light issues and VrayGPU

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

  • Dome Light issues and VrayGPU

    Hello,

    I hope I am posting this to the right thread, if not please move it wherever it seems more fitting.

    I have been trying to set up a scene to make a finicky render. I have a dome light with a plain light grey colour as HDRI. I have a plane set to shadow catcher as ground and another simple default Vray Light lighting my object in the scene(plane). I am trying to light this object with these two lights as follows: I need the object to be lighted by the dome light alone. And I need the other light to cast the only shadow in the scene.

    It does not matter what I try I can't get this to work in Vray GPU. Using the latest version. I always get artefacts from the dome light. Exclude and include objects does not work. I tried to simply turn off cast shadows. Did not work. I tried to play with the shadow catcher options on the ground to no avail. I even tried disabling all the affect diffuse, specular and reflection options...somehow I still get flickers on the metallic bolts in the scene. Is there a way to prevent my dome light to cast shadows at all but simultaneously light my object in the scene so that I can light it with a "spotlight" to control the shadow of that object?

    Of course to add to this problem I need the ground to be invisible as a shadow catcher as I would only need the shadow and the object. I have attached a couple of screenshots and explanations that hopefully can help with understanding my problem (I saved my .png renders on a white jpg background as the issue stems from the shadow being visible at the edges of the render).

    What am I doing wrong here? I can't seem to control the dome light at all, no matter what option I try to turn on or off.

    Any help would be appreciated. Thank you.


  • #2
    Simply disabling the VRayDome light's cast shadows and the VRay light's affect diffuse, reflection, specular does the job. Check the attached scene and see if this is indeed the desired effect. Otherwise, do attach the scene so we can take a look.
    Attached Files
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      Hello Aleksandar,

      Thank you for your reply and for looking at this issue.

      I have checked the options you suggested and with them the render is serviceable. I can overpower the environmental dome light with the "shadow control light" that I have in the scene but the dome light still casts shadows in the scene. In the scene with the teapot, you sent to me as well. Until you drop in the other Vray light, the dome light casts a very large and soft shadow surrounding the object despite checking the "cast no shadow" option. Also in my scene, there are metallic objects that need to reflect the ground so they don't end up black. To achieve this I check that in the shadow catcher options under the Vray object properties that the ground is visible in reflections/refractions With this the render has some light noise surrounding the bolts. It seems not from all angles, but in some cases.

      Just an additional problem is despite only giving 2 minutes for the image to render Vray usually exceeds that time no matter what I try in the render settings.

      So in summary:
      -Dome light still casts a shadow - the other Vray light mostly punches this out, but I still have a slight visible cutaway on the rendered image because of the overall soft shadow cast by the dome light.
      -Reflection noise surrounding metal objects despite the "shadow control light" turned off in all the diffuse/reflection/refraction options. The area around bolts renders fine with dome light only.
      -Render time restrictions do not work

      I will attach some of my renders to show this. I have a link to the scene itself here: Test Scene

      Thank you again,

      Balázs

      Comment


      • #4
        It doesn't work using gpu, which is why I never use it for such things. There are many posts about it and no fix as yet, unfortunately
        Works fine with cpu of course, so you can do a pass with that for the matte stuff, if that helps.

        The light from the bolts is from GI, so you can turn off 'Generate GI' in props to solve that.
        https://www.behance.net/bartgelin

        Comment


        • #5
          Thank you for your comment Fixeighted. This would explain a lot of things. I have been trying to get this to work for a couple of days now and none of the options seemed to satisfactorily do what I wanted them to do. At least this way I can try to work around it somehow. Maybe there is a different, better approach under the Vray GPU version?

          Comment


          • #6
            Sadly there just isn't any way for it to work like we want or expect with gpu.
            If a light is 'on' then it will affect GI on all surfaces regardless of settings that suggest it can be turned off.
            It is my thinking that gpu should have at least an entirely different set of UI parameters, so
            that something which will not work is simply unavailable as an option, or there be some way of flagging the inoperability, as the problems arise from having
            e.g. a tick box which suggests that it will do something, when in reality it will not, resulting in us thinking
            we have either done something wrong or that something else is preventing the expected behaviour.
            https://www.behance.net/bartgelin

            Comment


            • #7
              In this case, a separate UI would definitely be beneficial. Thank you for clarifying.

              Comment


              • #8
                Sorry for the late reply. Regarding the dome light shadow, it seems to be fixed in the latest nightly builds and it will be implemented in stable builds soon enough. I cannot seem to get the light leak around the bolts in your scene, though, it seems to render fine with or without the "affect" options. Regarding the longer than the set render time issue, it most likely happens because the time limit is in effect after the GI calculation (thing is, in GPU, there is always a form of a GI active).
                Aleksandar Hadzhiev | chaos.com
                Chaos Support Representative | contact us

                Comment

                Working...
                X