openCL issue with procedural texture and particles

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
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

openCL issue with procedural texture and particles

Post 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 219 times
Change from CPU path to GPU path (openCL) to see the difference.
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: openCL issue with procedural texture and particles

Post 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?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: openCL issue with procedural texture and particles

Post 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.
Support LuxCoreRender project with salts and bounties
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

Re: openCL issue with procedural texture and particles

Post 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
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: openCL issue with procedural texture and particles

Post by Dade »

I did my test in blender v2.80, may be it is a old bug of BlendLuxCore fixed in v2.80 :?:
Support LuxCoreRender project with salts and bounties
User avatar
FarbigeWelt
Donor
Donor
Posts: 1046
Joined: Sun Jul 01, 2018 12:07 pm
Location: Switzerland
Contact:

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

Post 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"
Light and Word designing Creator - www.farbigewelt.ch - aka quantenkristall || #luxcorerender
MacBook Air with M1
Post Reply