pathOCL turning singlesided meshes transparent

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.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: pathOCL turning singlesided meshes transparent

Post 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.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post 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
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post 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)
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post 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 136 times
so it's set to render opencl and planes are invisible, if you switch to cpu they become visible
marcatore
Donor
Donor
Posts: 463
Joined: Wed Jan 10, 2018 8:04 am

Re: pathOCL turning singlesided meshes transparent

Post 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
Last edited by marcatore on Wed Sep 11, 2019 8:40 am, edited 1 time in total.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: pathOCL turning singlesided meshes transparent

Post 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
User avatar
Egert_Kanep
Posts: 237
Joined: Tue Mar 13, 2018 10:34 am

Re: pathOCL turning singlesided meshes transparent

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

Re: pathOCL turning singlesided meshes transparent

Post 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.
Support LuxCoreRender project with salts and bounties
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: pathOCL turning singlesided meshes transparent

Post by kintuX »

Nice :)
Post Reply