pathOCL turning singlesided meshes transparent

Use this forum for general user support and related questions.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 2881
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: pathOCL turning singlesided meshes transparent

Post by B.Y.O.B. » Wed Sep 11, 2019 8:04 am

How big is the scene as-is?
It would be really great to have a testcase of this problem, to find the real bug.
Support LuxCoreRender project with salts and bounties

User avatar
lacilaci
Donor
Donor
Posts: 1539
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post by lacilaci » Wed Sep 11, 2019 8:06 am

So yes.. If I make all meshes of the table into a single one (so that the top isn't really open and singlesided) then everything works.

So... There is some issue with opencl and single sided flat meshes (I only saw this error on planar and open surfaces so far - even a single flat polygon) but it appears somewhat randomly so not sure what triggers it...

tables with meshes as separate parts
bad.jpg
and merged into one
good.jpg
checked every single table, everything is fine now

User avatar
lacilaci
Donor
Donor
Posts: 1539
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post by lacilaci » Wed Sep 11, 2019 8:08 am

B.Y.O.B. wrote:
Wed Sep 11, 2019 8:04 am
How big is the scene as-is?
It would be really great to have a testcase of this problem, to find the real bug.
Pretty much everything is linked so I have no idea, main folder is 25GB but many things and textures are linked outside the main folder (could be another 20GB)

User avatar
lacilaci
Donor
Donor
Posts: 1539
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post by lacilaci » Wed Sep 11, 2019 8:17 am

ha..

got it...

here's a demoscene where opencl won't render the flat planes for me.
planes_bug.blend
(766.49 KiB) Downloaded 5 times
so it's set to render opencl and planes are invisible, if you switch to cpu they become visible

marcatore
Posts: 299
Joined: Wed Jan 10, 2018 8:04 am

Re: pathOCL turning singlesided meshes transparent

Post by marcatore » Wed Sep 11, 2019 8:30 am

something strange on it

OPENCL
added a solidify modifier to the first plane of the middle row
blender_2019-09-11_10-28-23.png
For an unknown reason the 4th plane of the middle row became visibile as well the third one row.

Screw modifier
blender_2019-09-11_10-33-56.png
Skin
blender_2019-09-11_10-34-16.png
Wireframe
blender_2019-09-11_10-34-58.png
Another attempt with Solidify after tried with the other modifier
blender_2019-09-11_10-36-10.png
Last edited by marcatore on Wed Sep 11, 2019 8:40 am, edited 1 time in total.

User avatar
lacilaci
Donor
Donor
Posts: 1539
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post by lacilaci » Wed Sep 11, 2019 8:36 am

Yes, to explain a bit further
meshes on the rightmost side are a single mesh consisting of multiple planes
in the middle there is a single plane as object and others in the row are instanced
and on the leftmost side all planes are individual copies of the first in the row

User avatar
Egert_Kanep
Posts: 131
Joined: Tue Mar 13, 2018 10:34 am

Re: pathOCL turning singlesided meshes transparent

Post by Egert_Kanep » Wed Sep 11, 2019 11:50 am

Tried your scene, none of the geometry is visible when rendering with gpu only. When using only cpu they are visible and when on both cpu ang gpu planes become semitransparent :D
Attachments
Capture.PNG
gpu+cpu

User avatar
Dade
Developer
Developer
Posts: 2933
Joined: Mon Dec 04, 2017 8:36 pm

Re: pathOCL turning singlesided meshes transparent

Post by Dade » Wed Sep 11, 2019 1:22 pm

lacilaci wrote:
Wed Sep 11, 2019 8:17 am
ha..

got it...

here's a demoscene where opencl won't render the flat planes for me.
planes_bug.blend

so it's set to render opencl and planes are invisible, if you switch to cpu they become visible
I should have fixed this problem.
Support LuxCoreRender project with salts and bounties

kintuX
Posts: 446
Joined: Wed Jan 10, 2018 2:37 am

Re: pathOCL turning singlesided meshes transparent

Post by kintuX » Wed Sep 18, 2019 6:35 pm

Nice :)

Post Reply