Hi!
I'm working on a project and I'm facing a quite big issue for me: I need 6 light group (5 differnt groups and the default one) and if I render with CPU everything is ok, but if I switch to openCL the last group is also visibe in the the default group. Moreover some obejects (group instance) that have an emitter material are completely dark with OpenCL.
I'm doing an animation where 5 different emitter material changes their intensity and since it's impossible to insert keyframes in the material node graph, I'm usingh the light groups. But I can't take advantages of fast OpenCL because the default light grup will always show also the last one.
This bug can be fixed or can I use any workaround? Thanks!
I'm sorry if I can't be more clear but I'm quite new to LuxCore and this bug is quite complex...
some specs:
Win 10 with i7 8600K and GTX 1070 Ti
Path tracing, Metropolis, Power light strategy and calmping active
example file: https://ufile.io/mh340
wrong light groups with OpenCL
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.
Re: wrong light groups with OpenCL
The number of light groups supported in OpenCL is capped to 8 (default+7): https://github.com/LuxCoreRender/LuxCor ... m.cpp#L119
So it should work in your case. Tomorrow, I will check what is going wrong.
So it should work in your case. Tomorrow, I will check what is going wrong.
Re: wrong light groups with OpenCL
I have the same problem but I found that happens only when clamp output is on, if I disable it all works fine.
Re: wrong light groups with OpenCL
On CPU clamps output with light groups work perfect
- pixel_peeper
- Posts: 29
- Joined: Mon Mar 04, 2019 7:45 pm
- pixel_peeper
- Posts: 29
- Joined: Mon Mar 04, 2019 7:45 pm
Re: wrong light groups with OpenCL
Ok, if I disable clamp everything works fine on the scene I uploaded in this thread. But with my project scene the strange behaviour of some emitter that remains dark or with fewer samples is still present.
Here there is a simplified version of my project scene, the fewer samples issue in some random instance could be seen more clearly in Col-R and Col-B Render Layer.
https://ufile.io/huo7v
If anyone has also any tip on how to reduce render time (and fireflies) is much appreciated
Here there is a simplified version of my project scene, the fewer samples issue in some random instance could be seen more clearly in Col-R and Col-B Render Layer.
https://ufile.io/huo7v
If anyone has also any tip on how to reduce render time (and fireflies) is much appreciated
Re: wrong light groups with OpenCL
I fixed the problem. It was a quite obvious cut&paste typo: https://github.com/LuxCoreRender/LuxCor ... 6b98a02d2eDade wrote: ↑Mon Mar 04, 2019 10:59 pm The number of light groups supported in OpenCL is capped to 8 (default+7): https://github.com/LuxCoreRender/LuxCor ... m.cpp#L119
So it should work in your case. Tomorrow, I will check what is going wrong.
You can use LuxCoreRender daily/automatic builds if you need the fix, it should be ready in a couple of hours: viewtopic.php?f=9&t=736
- pixel_peeper
- Posts: 29
- Joined: Mon Mar 04, 2019 7:45 pm
Re: wrong light groups with OpenCL
unfortunately I get the same result with both file I've uploaded here. I downloaded the latest build frome here https://github.com/LuxCoreRender/LuxCor ... tag/latest and I copied all the files to this folder on my PC C:\Users\myusername\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\binDade wrote: ↑Tue Mar 05, 2019 10:42 amI fixed the problem. It was a quite obvious cut&paste typo: https://github.com/LuxCoreRender/LuxCor ... 6b98a02d2eDade wrote: ↑Mon Mar 04, 2019 10:59 pm The number of light groups supported in OpenCL is capped to 8 (default+7): https://github.com/LuxCoreRender/LuxCor ... m.cpp#L119
So it should work in your case. Tomorrow, I will check what is going wrong.
You can use LuxCoreRender daily/automatic builds if you need the fix, it should be ready in a couple of hours: viewtopic.php?f=9&t=736
It is correct? what I'm doing wrong? Thank you so much!
Also this thing still happens, I don't know if it's a bug or my fault, sorry.pixel_peeper wrote: ↑Tue Mar 05, 2019 9:37 am Ok, if I disable clamp everything works fine on the scene I uploaded in this thread. But with my project scene the strange behaviour of some emitter that remains dark or with fewer samples is still present.
Re: wrong light groups with OpenCL
I have downloaded the binaries and tested them (on Linux), they seems to work fine. Check if you have really updated the right files.pixel_peeper wrote: ↑Tue Mar 05, 2019 1:57 pm unfortunately I get the same result with both file I've uploaded here. I downloaded the latest build frome here https://github.com/LuxCoreRender/LuxCor ... tag/latest and I copied all the files to this folder on my PC C:\Users\myusername\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\bin
Try to delete the C:\Users\myusername\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\BlendLuxCore\bin\pyluxcore.pyd file and to run Blender, if BlendLuxCore doesn't gives you an error, it means you are updating the wrong file.
- pixel_peeper
- Posts: 29
- Joined: Mon Mar 04, 2019 7:45 pm
Re: wrong light groups with OpenCL
I have downloaded luxcorerender-latest-win64-opencl.zip but I still get the same result. If I remove pyluxcore.pyd I get the error as expected and if I restore the file LuxCore works, but always with that bug...