Tried standalone, same result.
Also tried setting the cpu thread count to 0. Again, no change to the shadow, only the reflection by the mirror cube disappears (as I would expect)
HDRi and Light Tracing
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
-
- Posts: 47
- Joined: Tue Apr 17, 2018 1:07 pm
Re: HDRi and Light Tracing
This is very strange, not sure what is wrong on my end...
-
- Posts: 47
- Joined: Tue Apr 17, 2018 1:07 pm
Re: HDRi and Light Tracing
Is there anything else I should try to fix this?
Re: HDRi and Light Tracing
Does it happen if you disable cache periodic update ? And does it happen only with this particular scene ?
-
- Posts: 47
- Joined: Tue Apr 17, 2018 1:07 pm
Re: HDRi and Light Tracing
Yes this still happens with periodic update disabled, and also with caustic cache disabled entirely.
Not just this particular scene, any scene with HDRi lighting.
-
- Posts: 47
- Joined: Tue Apr 17, 2018 1:07 pm
-
- Posts: 47
- Joined: Tue Apr 17, 2018 1:07 pm
Re: HDRi and Light Tracing
Adjusting some of the settings of the scene, I have found significant differences between CPU and OpenCL when setting the importance value of the HDRi to 0, can anyone else confirm this?
Could this be linked to my problem, as they both seem to affect the direct lighting from the HDRi?
Could this be linked to my problem, as they both seem to affect the direct lighting from the HDRi?
Re: HDRi and Light Tracing
Between CPU and OCL, when importance = 0 for both of them? No, they look the same here.jgrover110 wrote: ↑Mon Apr 13, 2020 7:13 pm Adjusting some of the settings of the scene, I have found significant differences between CPU and OpenCL when setting the importance value of the HDRi to 0, can anyone else confirm this?
The output looks very different the regular scene, but then again it does not surprise me that a setting of 0 on the only light source of the scene results in undefined behaviour...
If we need further tests of this, I would suggest you export the scene from blender into luxcore format and provide us those files. Then we can compare with the same standalone build and at the same time rule out a problem coming from Blender and the addon. Does this sound like a good idea to you?
-
- Posts: 47
- Joined: Tue Apr 17, 2018 1:07 pm
Re: HDRi and Light Tracing
From my testing, I have the same issue with the standalone build as the blender addon. If you are unable to reproduce it, then this must be an issue with my system. The best I can do it describe the issue I am having and investigate what I believe to be the problem.
From what I can see, the problem seems to be the sampling of the HDRi in direct lighting, as the brightness of the shadows appears to be correct in the reflection of the metal cube. This was confirmed to me when I tried it with importance of 0.
What this did was effectively disabled importance sampling of the HDRi and was sampling it purely at random. In OpenCL the direct lighting was almost completely black apart from the fireflies where it had sampled the sun. The reflections of the floor however, were a lot brighter, meaning that the sky was being sampled properly. In CPU, the floor was the same brightness as the reflections of the floor, which means that the sky was being sampled properly even in direct light.
If my system is the only way of producing this bug, then best I can do is investigate myself and rely my findings in hope that something gets found.
From what I can see, the problem seems to be the sampling of the HDRi in direct lighting, as the brightness of the shadows appears to be correct in the reflection of the metal cube. This was confirmed to me when I tried it with importance of 0.
What this did was effectively disabled importance sampling of the HDRi and was sampling it purely at random. In OpenCL the direct lighting was almost completely black apart from the fireflies where it had sampled the sun. The reflections of the floor however, were a lot brighter, meaning that the sky was being sampled properly. In CPU, the floor was the same brightness as the reflections of the floor, which means that the sky was being sampled properly even in direct light.
If my system is the only way of producing this bug, then best I can do is investigate myself and rely my findings in hope that something gets found.