Page 1 of 1

openCL issue with procedural texture and particles

Posted: Sat Oct 12, 2019 12:56 am
by FarbigeWelt
LuxCoreRender / BlendLuxCore V 2.2 (=release version)
System
Windows 10 Pro, intel i7 4770K@3.5, 32 GB
2 AMD Radeon RX 5700 XT, 8 GB; latest drivers
Brilliance for Procedural Texture CPU
Brilliance for Procedural Texture CPU
Brilliance for Procedural Texture CPU_Viewport
Brilliance for Procedural Texture CPU_Viewport
The above pictures are very similar.
Unfortunately, openCL render very different, as if there were a hidden plane mixed with the procedural texture. The latter can be seen very faintly. The correct and intended look is the one of viewport and CPU path.
Missing Brilliance for Procedural Texture openCL
Missing Brilliance for Procedural Texture openCL
Please, fix this issue :!:
I guess, sooner or later somebody else gets stuck with this current behavior of openCL rendering in combination with particle system.

Here is the scene file.
openCL issue with procedural texture and particles.zip
openCL issue with procedural texture and particles
(558.74 KiB) Downloaded 223 times
Change from CPU path to GPU path (openCL) to see the difference.

Re: openCL issue with procedural texture and particles

Posted: Sat Oct 12, 2019 8:34 am
by B.Y.O.B.
Hi,

I can not reproduce the issue on my Nvidia RTX 2080 (on Windows 10).
Can someone else with AMD graphics card test it?

Re: openCL issue with procedural texture and particles

Posted: Sat Oct 12, 2019 12:41 pm
by Dade
B.Y.O.B. wrote: Sat Oct 12, 2019 8:34 am I can not reproduce the issue on my Nvidia RTX 2080 (on Windows 10).
Can someone else with AMD graphics card test it?
It is working fine here too, on AMD and NVIDIA GPU.

Re: openCL issue with procedural texture and particles

Posted: Sun Oct 13, 2019 3:37 pm
by FarbigeWelt
B.Y.O.B. wrote: Sat Oct 12, 2019 8:34 am Hi,
I can not reproduce the issue on my Nvidia RTX 2080 (on Windows 10).
Can someone else with AMD graphics card test it?
Dade wrote: Sat Oct 12, 2019 12:41 pm It is working fine here too, on AMD and NVIDIA GPU.
That is odd. :roll:

I disabled CPU now, to ensure openCL is rendering only.
Then, I found the source of my issue. It is the Color Math node. In my case it only takes the upper input and ignores the lower. (Blender 2.79b).

Please check again or even better, check the code. THX!
Mix Factor 1.0, green upper input
Mix Factor 1.0, green upper input
Mix Factor 0.0, green upper input
Mix Factor 0.0, green upper input
Mix Factor 0.0, green lower input
Mix Factor 0.0, green lower input
Mix Factor 1.0, green lower input
Mix Factor 1.0, green lower input

Re: openCL issue with procedural texture and particles

Posted: Sun Oct 13, 2019 3:44 pm
by Dade
I did my test in blender v2.80, may be it is a old bug of BlendLuxCore fixed in v2.80 :?:

Re: openCL issue with procedural texture and particles- Blender 2.80

Posted: Mon Oct 14, 2019 10:51 pm
by FarbigeWelt
Dade wrote: Sun Oct 13, 2019 3:44 pm I did my test in blender v2.80, may be it is a old bug of BlendLuxCore fixed in v2.80 :?:
I see.
I think this topic gets creepy now.

Your post was one of the reasons for me to finally install Blender 2.80, another reason is that BLC - LCR V2.3 latest builds depend on V2.80.
Windows 10 Pro, Version 1903, Build 18362.418
Radeon Software Version 19.10.1
LuxCoreRender latest_d5e6dfe
BlendLuxCore latest build_3f84f92
green lower color moth input
green lower color moth input
green upper color moth input
green upper color moth input
As you can see in the images above, my issue looks like a real resisting bug on my PC system. No matter what version I try the Color Math node ignores the second input.

Edit:
The file scene.scn contains the correct information at least regarding the Color Math node.

Code: Select all

scene.textures.2583489409320Color.type = "mix"
scene.textures.2583489409320Color.amount = "0.5066667"
scene.textures.2583489409320Color.texture1 = "2583489413784Color"
scene.textures.2583489409320Color.texture2 = "2583489377992Color"

scene.materials.Floor2583472678200.type = "matte"
scene.materials.Floor2583472678200.kd = "2583489409320Color"