Page 3 of 3

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 8:04 am
by B.Y.O.B.
How big is the scene as-is?
It would be really great to have a testcase of this problem, to find the real bug.

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 8:06 am
by lacilaci
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

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 8:08 am
by lacilaci
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)

Re: pathOCL turning singlesided meshes transparent

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

got it...

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

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 8:30 am
by marcatore
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

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 8:36 am
by lacilaci
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

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 11:50 am
by Egert_Kanep
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

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 11, 2019 1:22 pm
by Dade
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.

Re: pathOCL turning singlesided meshes transparent

Posted: Wed Sep 18, 2019 6:35 pm
by kintuX
Nice :)