Environment lighting results different by cpu and opencl

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
frank_yifei
Posts: 16
Joined: Fri Mar 09, 2018 1:46 pm

Environment lighting results different by cpu and opencl

Post by frank_yifei »

The scene is lit by sky and sun. I tried with only sky or flat colour, the difference is still there. Maybe it is a bug in opencl code.
both rendered 500 samples without any cache or other setting.
opencl
opencl.jpg
cpu
cpu.jpg
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Environment lighting results different by cpu and opencl

Post by B.Y.O.B. »

Can you upload the scene?
frank_yifei
Posts: 16
Joined: Fri Mar 09, 2018 1:46 pm

Re: Environment lighting results different by cpu and opencl

Post by frank_yifei »

home.blend
(2.73 MiB) Downloaded 204 times
it is a blender 2.8 file.
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: Environment lighting results different by cpu and opencl

Post by kintuX »

You got coplanar faces which are causing an issue. The room floor and the plane (ground) are located at same height (0).
Either move one up/down or cut out a whole from the plane.
frank_yifei
Posts: 16
Joined: Fri Mar 09, 2018 1:46 pm

Re: Environment lighting results different by cpu and opencl

Post by frank_yifei »

ok, thanks, it solved my problem. I just wonder why it is not showing in cpu rendering.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Environment lighting results different by cpu and opencl

Post by B.Y.O.B. »

For mysterious reasons, OpenCL engines in LuxCore have more problems with floating point precision than the CPU engines.
Post Reply