Page 1 of 1

Background Image not loading

Posted: Thu Apr 05, 2018 5:02 am
by david57
Trying out the BlendLuxCore v2.0beta2 add-on.
Background image is not loading to the Camera-Tonemapper-Settings-Background Image.

Re: Background Image not loading

Posted: Thu Apr 05, 2018 6:48 am
by B.Y.O.B.
Is there a warning or error message?
Can you upload a test scene?

Re: Background Image not loading

Posted: Thu Apr 05, 2018 4:04 pm
by kintuX
Confirming the issue.

Code: Select all

BackgroundImgPlugin kernel compilation error
& a screenshot from console
BGissue.jpg
BGissueTEST.zip
(783.32 KiB) Downloaded 330 times
Open, just start IPR or render (f12)

windows 7, b2.79b, luxcore2beta2

Also, if transparent film is activated image is extremely overexposed - to set to normal Sun&Sky gain is lowered to 0.01.
BTW, settings are present & still active in the attached scene.

Re: Background Image not loading

Posted: Thu Apr 05, 2018 6:04 pm
by david57
I just tried the blender file that kintuX uploaded and here is my screen shot for that:

Re: Background Image not loading

Posted: Thu Apr 05, 2018 7:34 pm
by Dade
It is a just a bug introduced with the workaround for long NVIDIA compilation times. It happens when LuxCore try to compile some image pipeline plugin OpenCL kernel. It fails due to the lack of some definition related to the NVIDIA workaround. It should be fixed here: https://github.com/LuxCoreRender/LuxCor ... 4fb01393c7

A simple workaround would be to just run the image pipeline on the CPU in C++ instead of OpenCL however I'm afraid the option is not exposed by LuxBlend. So the only other workaround possible, without recompiling from the sources, would be to export the scene in LuxCore file format and than run LuxCoreUI for the rendering (where you can disable OpenCL image pipeline).