TwoSided material

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

Dade wrote: Sun Sep 20, 2020 9:00 pm
CEROE wrote: Sun Sep 20, 2020 5:38 pm
I can probably extend the concept and have a "flip option" for all asymmetric Lux materials.
Is there anything ready to test for this?
I haven't yet written the code.
I'm working on this.
Support LuxCoreRender project with salts and bounties
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

CEROE wrote: Thu Sep 17, 2020 2:19 am There are a couple issues:

The backside seems to be extra glossy. I have tried the same settings for each, and the backside is different.
I'm trying to reproduce your problem but I'm unable at the moment: can you post a test scene ?
Support LuxCoreRender project with salts and bounties
CEROE
Posts: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

Here are the two issues:

1) The backside material is glossier than the frontside.
2) The sides switch when mirroring the objects.
Attachments
Two-Sided_Issues-NoImages.blend
(1.5 MiB) Downloaded 182 times
CEROE
Posts: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

What is the maximum file size that we can upload here? Not even a 9.43MB file will upload?
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

CEROE wrote: Mon Sep 28, 2020 5:52 pm What is the maximum file size that we can upload here? Not even a 9.43MB file will upload?
It should be 10MB, the problem may be in an not recognized file extension, you can try to .zip it.
Support LuxCoreRender project with salts and bounties
CEROE
Posts: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

Zipped file is 8.21 MB. It won't upload either.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

CEROE wrote: Mon Sep 28, 2020 7:18 pm Zipped file is 8.21 MB. It won't upload either.
As far as I remember it should 10MB but it may be only for images. You can use Google Drive, DropBox, etc. and post here a link.
Support LuxCoreRender project with salts and bounties
CEROE
Posts: 54
Joined: Wed Jan 09, 2019 11:34 pm

Re: TwoSided material

Post by CEROE »

The "Two-Sided_Issues-NoImages.blend" file demonstrates the two issues. Can you download and see if it is benefitial to you?

The full file I attempted to upload has the image textures packed in the blend file.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: TwoSided material

Post by Dade »

CEROE wrote: Mon Sep 28, 2020 10:21 pm The "Two-Sided_Issues-NoImages.blend" file demonstrates the two issues. Can you download and see if it is benefitial to you?
Actually, it is the definition of your material to be asymmetric, you need to click on "Double Sided" and to use the same parameters for front and back face ("BF"):

bf.jpg

Once you have done that, you should get the sane results.

@B.Y.O.B: BlendLuxCore seems to leave the default values for the back face if the "Double Sided" option is not used. This is probably a bug and I assume people expect to have the same parameters both for front and back face.
Support LuxCoreRender project with salts and bounties
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: TwoSided material

Post by B.Y.O.B. »

Dade wrote: Tue Sep 29, 2020 9:54 am @B.Y.O.B: BlendLuxCore seems to leave the default values for the back face if the "Double Sided" option is not used. This is probably a bug and I assume people expect to have the same parameters both for front and back face.
Fixed. I had a wrong assumption about how the properties of this material work.
Post Reply